1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_79) on Fri Jan 15 20:28:40 PST 2016 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>MapperFeature (jackson-databind 2.7.0 API)</title> 8<meta name="date" content="2016-01-15"> 9<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> 10</head> 11<body> 12<script type="text/javascript"><!-- 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="MapperFeature (jackson-databind 2.7.0 API)"; 15 } 16//--> 17</script> 18<noscript> 19<div>JavaScript is disabled on your browser.</div> 20</noscript> 21<!-- ========= START OF TOP NAVBAR ======= --> 22<div class="topNav"><a name="navbar_top"> 23<!-- --> 24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 25<!-- --> 26</a> 27<ul class="navList" title="Navigation"> 28<li><a href="../../../../overview-summary.html">Overview</a></li> 29<li><a href="package-summary.html">Package</a></li> 30<li class="navBarCell1Rev">Class</li> 31<li><a href="class-use/MapperFeature.html">Use</a></li> 32<li><a href="package-tree.html">Tree</a></li> 33<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 34<li><a href="../../../../index-all.html">Index</a></li> 35<li><a href="../../../../help-doc.html">Help</a></li> 36</ul> 37</div> 38<div class="subNav"> 39<ul class="navList"> 40<li><a href="../../../../com/fasterxml/jackson/databind/KeyDeserializer.None.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../index.html?com/fasterxml/jackson/databind/MapperFeature.html" target="_top">Frames</a></li> 45<li><a href="MapperFeature.html" target="_top">No Frames</a></li> 46</ul> 47<ul class="navList" id="allclasses_navbar_top"> 48<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 49</ul> 50<div> 51<script type="text/javascript"><!-- 52 allClassesLink = document.getElementById("allclasses_navbar_top"); 53 if(window==top) { 54 allClassesLink.style.display = "block"; 55 } 56 else { 57 allClassesLink.style.display = "none"; 58 } 59 //--> 60</script> 61</div> 62<div> 63<ul class="subNavList"> 64<li>Summary: </li> 65<li>Nested | </li> 66<li><a href="#enum_constant_summary">Enum Constants</a> | </li> 67<li>Field | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li><a href="#enum_constant_detail">Enum Constants</a> | </li> 73<li>Field | </li> 74<li><a href="#method_detail">Method</a></li> 75</ul> 76</div> 77<a name="skip-navbar_top"> 78<!-- --> 79</a></div> 80<!-- ========= END OF TOP NAVBAR ========= --> 81<!-- ======== START OF CLASS DATA ======== --> 82<div class="header"> 83<div class="subTitle">com.fasterxml.jackson.databind</div> 84<h2 title="Enum MapperFeature" class="title">Enum MapperFeature</h2> 85</div> 86<div class="contentContainer"> 87<ul class="inheritance"> 88<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 89<li> 90<ul class="inheritance"> 91<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a><<a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>></li> 92<li> 93<ul class="inheritance"> 94<li>com.fasterxml.jackson.databind.MapperFeature</li> 95</ul> 96</li> 97</ul> 98</li> 99</ul> 100<div class="description"> 101<ul class="blockList"> 102<li class="blockList"> 103<dl> 104<dt>All Implemented Interfaces:</dt> 105<dd><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>></dd> 106</dl> 107<hr> 108<br> 109<pre>public enum <span class="strong">MapperFeature</span> 110extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>> 111implements <a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</a></pre> 112<div class="block">Enumeration that defines simple on/off features to set 113 for <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>, and accessible (but not changeable) 114 via <a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><code>ObjectReader</code></a> and <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> (as well as 115 through various convenience methods through context objects). 116<p> 117 Note that in addition to being only mutable via <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>, 118 changes only take effect when done <b>before any serialization or 119 deserialization</b> calls -- that is, caller must follow 120 "configure-then-use" pattern.</div> 121</li> 122</ul> 123</div> 124<div class="summary"> 125<ul class="blockList"> 126<li class="blockList"> 127<!-- =========== ENUM CONSTANT SUMMARY =========== --> 128<ul class="blockList"> 129<li class="blockList"><a name="enum_constant_summary"> 130<!-- --> 131</a> 132<h3>Enum Constant Summary</h3> 133<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation"> 134<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption> 135<tr> 136<th class="colOne" scope="col">Enum Constant and Description</th> 137</tr> 138<tr class="altColor"> 139<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#ACCEPT_CASE_INSENSITIVE_PROPERTIES">ACCEPT_CASE_INSENSITIVE_PROPERTIES</a></strong></code> 140<div class="block">Feature that will allow for more forgiving deserialization of incoming JSON.</div> 141</td> 142</tr> 143<tr class="rowColor"> 144<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#ALLOW_EXPLICIT_PROPERTY_RENAMING">ALLOW_EXPLICIT_PROPERTY_RENAMING</a></strong></code> 145<div class="block">Feature that when enabled will allow explicitly named properties (i.e., fields or methods 146 annotated with <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonProperty.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonProperty</code></a>("explicitName")) to 147 be re-named by a <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy</code></a>, if one is configured.</div> 148</td> 149</tr> 150<tr class="altColor"> 151<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#ALLOW_FINAL_FIELDS_AS_MUTATORS">ALLOW_FINAL_FIELDS_AS_MUTATORS</a></strong></code> 152<div class="block">Feature that determines whether member fields declared as 'final' may 153 be auto-detected to be used mutators (used to change value of the logical 154 property) or not.</div> 155</td> 156</tr> 157<tr class="rowColor"> 158<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_CREATORS">AUTO_DETECT_CREATORS</a></strong></code> 159<div class="block">Feature that determines whether "creator" methods are 160 automatically detected by consider public constructors, 161 and static single argument methods with name "valueOf".</div> 162</td> 163</tr> 164<tr class="altColor"> 165<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_FIELDS">AUTO_DETECT_FIELDS</a></strong></code> 166<div class="block">Feature that determines whether non-static fields are recognized as 167 properties.</div> 168</td> 169</tr> 170<tr class="rowColor"> 171<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_GETTERS">AUTO_DETECT_GETTERS</a></strong></code> 172<div class="block">Feature that determines whether regular "getter" methods are 173 automatically detected based on standard Bean naming convention 174 or not.</div> 175</td> 176</tr> 177<tr class="altColor"> 178<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_IS_GETTERS">AUTO_DETECT_IS_GETTERS</a></strong></code> 179<div class="block">Feature that determines whether "is getter" methods are 180 automatically detected based on standard Bean naming convention 181 or not.</div> 182</td> 183</tr> 184<tr class="rowColor"> 185<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_SETTERS">AUTO_DETECT_SETTERS</a></strong></code> 186<div class="block">Feature that determines whether "setter" methods are 187 automatically detected based on standard Bean naming convention 188 or not.</div> 189</td> 190</tr> 191<tr class="altColor"> 192<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#CAN_OVERRIDE_ACCESS_MODIFIERS">CAN_OVERRIDE_ACCESS_MODIFIERS</a></strong></code> 193<div class="block">Feature that determines whether method and field access 194 modifier settings can be overridden when accessing 195 properties.</div> 196</td> 197</tr> 198<tr class="rowColor"> 199<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#DEFAULT_VIEW_INCLUSION">DEFAULT_VIEW_INCLUSION</a></strong></code> 200<div class="block">Feature that determines whether properties that have no view 201 annotations are included in JSON serialization views (see 202 <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonView.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonView</code></a> for more 203 details on JSON Views).</div> 204</td> 205</tr> 206<tr class="altColor"> 207<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#IGNORE_DUPLICATE_MODULE_REGISTRATIONS">IGNORE_DUPLICATE_MODULE_REGISTRATIONS</a></strong></code> 208<div class="block">Feature that determines whether multiple registrations of same module 209 should be ignored or not; if enabled, only the first registration call 210 results in module being called, and possible duplicate calls are silently 211 ignored; if disabled, no checking is done and all registration calls are 212 dispatched to module.</div> 213</td> 214</tr> 215<tr class="rowColor"> 216<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#INFER_PROPERTY_MUTATORS">INFER_PROPERTY_MUTATORS</a></strong></code> 217<div class="block">Feature that determines whether member mutators (fields and 218 setters) may be "pulled in" even if they are not visible, 219 as long as there is a visible accessor (getter or field) with same name.</div> 220</td> 221</tr> 222<tr class="altColor"> 223<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#OVERRIDE_PUBLIC_ACCESS_MODIFIERS">OVERRIDE_PUBLIC_ACCESS_MODIFIERS</a></strong></code> 224<div class="block">Feature that determines that forces call to 225 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/AccessibleObject.html?is-external=true#setAccessible(java.lang.reflect.AccessibleObject[],%20boolean)" title="class or interface in java.lang.reflect"><code>AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean)</code></a> even for 226 <code>public</code> accessors -- that is, even if no such call is 227 needed from functionality perspective -- if call is allowed 228 (that is, <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#CAN_OVERRIDE_ACCESS_MODIFIERS"><code>CAN_OVERRIDE_ACCESS_MODIFIERS</code></a> is set to true).</div> 229</td> 230</tr> 231<tr class="rowColor"> 232<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#PROPAGATE_TRANSIENT_MARKER">PROPAGATE_TRANSIENT_MARKER</a></strong></code> 233<div class="block">Feature that determines for <code>transient</code> modifier for fields 234 is handled: if disabled, it is only taken to mean exclusion of</div> 235</td> 236</tr> 237<tr class="altColor"> 238<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#REQUIRE_SETTERS_FOR_GETTERS">REQUIRE_SETTERS_FOR_GETTERS</a></strong></code> 239<div class="block">Feature that determines whether getters (getter methods) 240 can be auto-detected if there is no matching mutator (setter, 241 constructor parameter or field) or not: if set to true, 242 only getters that match a mutator are auto-discovered; if 243 false, all auto-detectable getters can be discovered.</div> 244</td> 245</tr> 246<tr class="rowColor"> 247<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#SORT_PROPERTIES_ALPHABETICALLY">SORT_PROPERTIES_ALPHABETICALLY</a></strong></code> 248<div class="block">Feature that defines default property serialization order used 249 for POJO fields (note: does <b>not</b> apply to <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> 250 serialization!): 251 if enabled, default ordering is alphabetic (similar to 252 how <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonPropertyOrder.html?is-external=true#alphabetic()" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonPropertyOrder.alphabetic()</code></a> 253 works); if disabled, order is unspecified (based on what JDK gives 254 us, which may be declaration order, but is not guaranteed).</div> 255</td> 256</tr> 257<tr class="altColor"> 258<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_ANNOTATIONS">USE_ANNOTATIONS</a></strong></code> 259<div class="block">Feature that determines whether annotation introspection 260 is used for configuration; if enabled, configured 261 <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind"><code>AnnotationIntrospector</code></a> will be used: if disabled, 262 no annotations are considered.</div> 263</td> 264</tr> 265<tr class="rowColor"> 266<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_GETTERS_AS_SETTERS">USE_GETTERS_AS_SETTERS</a></strong></code> 267<div class="block">Feature that determines whether otherwise regular "getter" 268 methods (but only ones that handle Collections and Maps, 269 not getters of other type) 270 can be used for purpose of getting a reference to a Collection 271 and Map to modify the property, without requiring a setter 272 method.</div> 273</td> 274</tr> 275<tr class="altColor"> 276<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_STATIC_TYPING">USE_STATIC_TYPING</a></strong></code> 277<div class="block">Feature that determines whether the type detection for 278 serialization should be using actual dynamic runtime type, 279 or declared static type.</div> 280</td> 281</tr> 282<tr class="rowColor"> 283<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_STD_BEAN_NAMING">USE_STD_BEAN_NAMING</a></strong></code> 284<div class="block">Feature that may be enabled to enforce strict compatibility with 285 Bean name introspection, instead of slightly different mechanism 286 Jackson defaults to.</div> 287</td> 288</tr> 289<tr class="altColor"> 290<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_WRAPPER_NAME_AS_PROPERTY_NAME">USE_WRAPPER_NAME_AS_PROPERTY_NAME</a></strong></code> 291<div class="block">Feature that can be enabled to make property names be 292 overridden by wrapper name (usually detected with annotations 293 as defined by <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html#findWrapperName(com.fasterxml.jackson.databind.introspect.Annotated)"><code>AnnotationIntrospector.findWrapperName(com.fasterxml.jackson.databind.introspect.Annotated)</code></a>.</div> 294</td> 295</tr> 296</table> 297</li> 298</ul> 299<!-- ========== METHOD SUMMARY =========== --> 300<ul class="blockList"> 301<li class="blockList"><a name="method_summary"> 302<!-- --> 303</a> 304<h3>Method Summary</h3> 305<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 306<caption><span>Methods</span><span class="tabEnd"> </span></caption> 307<tr> 308<th class="colFirst" scope="col">Modifier and Type</th> 309<th class="colLast" scope="col">Method and Description</th> 310</tr> 311<tr class="altColor"> 312<td class="colFirst"><code>boolean</code></td> 313<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#enabledByDefault()">enabledByDefault</a></strong>()</code> 314<div class="block">Accessor for checking whether this feature is enabled by default.</div> 315</td> 316</tr> 317<tr class="rowColor"> 318<td class="colFirst"><code>boolean</code></td> 319<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#enabledIn(int)">enabledIn</a></strong>(int flags)</code> 320<div class="block">Convenience method for checking whether feature is enabled in given bitmask</div> 321</td> 322</tr> 323<tr class="altColor"> 324<td class="colFirst"><code>int</code></td> 325<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#getMask()">getMask</a></strong>()</code> 326<div class="block">Returns bit mask for this feature instance</div> 327</td> 328</tr> 329<tr class="rowColor"> 330<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a></code></td> 331<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#valueOf(java.lang.String)">valueOf</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> 332<div class="block">Returns the enum constant of this type with the specified name.</div> 333</td> 334</tr> 335<tr class="altColor"> 336<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>[]</code></td> 337<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#values()">values</a></strong>()</code> 338<div class="block">Returns an array containing the constants of this enum type, in 339the order they are declared.</div> 340</td> 341</tr> 342</table> 343<ul class="blockList"> 344<li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum"> 345<!-- --> 346</a> 347<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3> 348<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#compareTo(E)" title="class or interface in java.lang">compareTo</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass()" title="class or interface in java.lang">getDeclaringClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#name()" title="class or interface in java.lang">name</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#ordinal()" title="class or interface in java.lang">ordinal</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#valueOf(java.lang.Class,%20java.lang.String)" title="class or interface in java.lang">valueOf</a></code></li> 349</ul> 350<ul class="blockList"> 351<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 352<!-- --> 353</a> 354<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 355<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> 356</ul> 357</li> 358</ul> 359</li> 360</ul> 361</div> 362<div class="details"> 363<ul class="blockList"> 364<li class="blockList"> 365<!-- ============ ENUM CONSTANT DETAIL =========== --> 366<ul class="blockList"> 367<li class="blockList"><a name="enum_constant_detail"> 368<!-- --> 369</a> 370<h3>Enum Constant Detail</h3> 371<a name="USE_ANNOTATIONS"> 372<!-- --> 373</a> 374<ul class="blockList"> 375<li class="blockList"> 376<h4>USE_ANNOTATIONS</h4> 377<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> USE_ANNOTATIONS</pre> 378<div class="block">Feature that determines whether annotation introspection 379 is used for configuration; if enabled, configured 380 <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind"><code>AnnotationIntrospector</code></a> will be used: if disabled, 381 no annotations are considered. 382<p> 383 Feature is enabled by default.</div> 384</li> 385</ul> 386<a name="AUTO_DETECT_CREATORS"> 387<!-- --> 388</a> 389<ul class="blockList"> 390<li class="blockList"> 391<h4>AUTO_DETECT_CREATORS</h4> 392<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> AUTO_DETECT_CREATORS</pre> 393<div class="block">Feature that determines whether "creator" methods are 394 automatically detected by consider public constructors, 395 and static single argument methods with name "valueOf". 396 If disabled, only methods explicitly annotated are considered 397 creator methods (except for the no-arg default constructor which 398 is always considered a factory method). 399<p> 400 Note that this feature has lower precedence than per-class 401 annotations, and is only used if there isn't more granular 402 configuration available. 403<P> 404 Feature is enabled by default.</div> 405</li> 406</ul> 407<a name="AUTO_DETECT_FIELDS"> 408<!-- --> 409</a> 410<ul class="blockList"> 411<li class="blockList"> 412<h4>AUTO_DETECT_FIELDS</h4> 413<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> AUTO_DETECT_FIELDS</pre> 414<div class="block">Feature that determines whether non-static fields are recognized as 415 properties. 416 If yes, then all public member fields 417 are considered as properties. If disabled, only fields explicitly 418 annotated are considered property fields. 419<p> 420 Note that this feature has lower precedence than per-class 421 annotations, and is only used if there isn't more granular 422 configuration available. 423<p> 424 Feature is enabled by default.</div> 425</li> 426</ul> 427<a name="AUTO_DETECT_GETTERS"> 428<!-- --> 429</a> 430<ul class="blockList"> 431<li class="blockList"> 432<h4>AUTO_DETECT_GETTERS</h4> 433<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> AUTO_DETECT_GETTERS</pre> 434<div class="block">Feature that determines whether regular "getter" methods are 435 automatically detected based on standard Bean naming convention 436 or not. If yes, then all public zero-argument methods that 437 start with prefix "get" 438 are considered as getters. 439 If disabled, only methods explicitly annotated are considered getters. 440<p> 441 Note that since version 1.3, this does <b>NOT</b> include 442 "is getters" (see <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_IS_GETTERS"><code>AUTO_DETECT_IS_GETTERS</code></a> for details) 443<p> 444 Note that this feature has lower precedence than per-class 445 annotations, and is only used if there isn't more granular 446 configuration available. 447<p> 448 Feature is enabled by default.</div> 449</li> 450</ul> 451<a name="AUTO_DETECT_IS_GETTERS"> 452<!-- --> 453</a> 454<ul class="blockList"> 455<li class="blockList"> 456<h4>AUTO_DETECT_IS_GETTERS</h4> 457<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> AUTO_DETECT_IS_GETTERS</pre> 458<div class="block">Feature that determines whether "is getter" methods are 459 automatically detected based on standard Bean naming convention 460 or not. If yes, then all public zero-argument methods that 461 start with prefix "is", and whose return type is boolean 462 are considered as "is getters". 463 If disabled, only methods explicitly annotated are considered getters. 464<p> 465 Note that this feature has lower precedence than per-class 466 annotations, and is only used if there isn't more granular 467 configuration available. 468<p> 469 Feature is enabled by default.</div> 470</li> 471</ul> 472<a name="AUTO_DETECT_SETTERS"> 473<!-- --> 474</a> 475<ul class="blockList"> 476<li class="blockList"> 477<h4>AUTO_DETECT_SETTERS</h4> 478<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> AUTO_DETECT_SETTERS</pre> 479<div class="block">Feature that determines whether "setter" methods are 480 automatically detected based on standard Bean naming convention 481 or not. If yes, then all public one-argument methods that 482 start with prefix "set" 483 are considered setters. If disabled, only methods explicitly 484 annotated are considered setters. 485<p> 486 Note that this feature has lower precedence than per-class 487 annotations, and is only used if there isn't more granular 488 configuration available. 489<P> 490 Feature is enabled by default.</div> 491</li> 492</ul> 493<a name="REQUIRE_SETTERS_FOR_GETTERS"> 494<!-- --> 495</a> 496<ul class="blockList"> 497<li class="blockList"> 498<h4>REQUIRE_SETTERS_FOR_GETTERS</h4> 499<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> REQUIRE_SETTERS_FOR_GETTERS</pre> 500<div class="block">Feature that determines whether getters (getter methods) 501 can be auto-detected if there is no matching mutator (setter, 502 constructor parameter or field) or not: if set to true, 503 only getters that match a mutator are auto-discovered; if 504 false, all auto-detectable getters can be discovered. 505<p> 506 Feature is disabled by default.</div> 507</li> 508</ul> 509<a name="USE_GETTERS_AS_SETTERS"> 510<!-- --> 511</a> 512<ul class="blockList"> 513<li class="blockList"> 514<h4>USE_GETTERS_AS_SETTERS</h4> 515<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> USE_GETTERS_AS_SETTERS</pre> 516<div class="block">Feature that determines whether otherwise regular "getter" 517 methods (but only ones that handle Collections and Maps, 518 not getters of other type) 519 can be used for purpose of getting a reference to a Collection 520 and Map to modify the property, without requiring a setter 521 method. 522 This is similar to how JAXB framework sets Collections and 523 Maps: no setter is involved, just setter. 524<p> 525 Note that such getters-as-setters methods have lower 526 precedence than setters, so they are only used if no 527 setter is found for the Map/Collection property. 528<p> 529 Feature is enabled by default.</div> 530</li> 531</ul> 532<a name="CAN_OVERRIDE_ACCESS_MODIFIERS"> 533<!-- --> 534</a> 535<ul class="blockList"> 536<li class="blockList"> 537<h4>CAN_OVERRIDE_ACCESS_MODIFIERS</h4> 538<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> CAN_OVERRIDE_ACCESS_MODIFIERS</pre> 539<div class="block">Feature that determines whether method and field access 540 modifier settings can be overridden when accessing 541 properties. If enabled, method 542 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/AccessibleObject.html?is-external=true#setAccessible(java.lang.reflect.AccessibleObject[],%20boolean)" title="class or interface in java.lang.reflect"><code>AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean)</code></a> 543 may be called to enable access to otherwise unaccessible objects. 544<p> 545 Note that this setting may have significant performance implications, 546 since access override helps remove costly access checks on each 547 and every Reflection access. If you are considering disabling 548 this feature, be sure to verify performance consequences if usage 549 is performance sensitive. 550 Also note that performance effects vary between Java platforms 551 (JavaSE vs Android, for example), as well as JDK versions: older 552 versions seemed to have more significant performance difference. 553<p> 554 Conversely, on some platforms, it may be necessary to disable this feature 555 as platform does not allow such calls. For example, when developing 556 Applets (or other Java code that runs on tightly restricted sandbox), 557 it may be necessary to disable the feature regardless of performance effects. 558<p> 559 Feature is enabled by default.</div> 560</li> 561</ul> 562<a name="OVERRIDE_PUBLIC_ACCESS_MODIFIERS"> 563<!-- --> 564</a> 565<ul class="blockList"> 566<li class="blockList"> 567<h4>OVERRIDE_PUBLIC_ACCESS_MODIFIERS</h4> 568<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> OVERRIDE_PUBLIC_ACCESS_MODIFIERS</pre> 569<div class="block">Feature that determines that forces call to 570 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/AccessibleObject.html?is-external=true#setAccessible(java.lang.reflect.AccessibleObject[],%20boolean)" title="class or interface in java.lang.reflect"><code>AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean)</code></a> even for 571 <code>public</code> accessors -- that is, even if no such call is 572 needed from functionality perspective -- if call is allowed 573 (that is, <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#CAN_OVERRIDE_ACCESS_MODIFIERS"><code>CAN_OVERRIDE_ACCESS_MODIFIERS</code></a> is set to true). 574 The main reason to enable this feature is possible performance 575 improvement as JDK does not have to perform access checks; these 576 checks are otherwise made for all accessors, including public ones, 577 and may result in slower Reflection calls. Exact impact (if any) 578 depends on Java platform (Java SE, Android) as well as JDK version. 579<p> 580 Feature is enabled by default, for legacy reasons (it was the behavior 581 until 2.6)</div> 582<dl><dt><span class="strong">Since:</span></dt> 583 <dd>2.7</dd></dl> 584</li> 585</ul> 586<a name="INFER_PROPERTY_MUTATORS"> 587<!-- --> 588</a> 589<ul class="blockList"> 590<li class="blockList"> 591<h4>INFER_PROPERTY_MUTATORS</h4> 592<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> INFER_PROPERTY_MUTATORS</pre> 593<div class="block">Feature that determines whether member mutators (fields and 594 setters) may be "pulled in" even if they are not visible, 595 as long as there is a visible accessor (getter or field) with same name. 596 For example: field "value" may be inferred as mutator, 597 if there is visible or explicitly marked getter "getValue()". 598 If enabled, inferring is enabled; otherwise (disabled) only visible and 599 explicitly annotated accessors are ever used. 600<p> 601 Note that 'getters' are never inferred and need to be either visible (including 602 bean-style naming) or explicitly annotated. 603<p> 604 Feature is enabled by default.</div> 605<dl><dt><span class="strong">Since:</span></dt> 606 <dd>2.2</dd></dl> 607</li> 608</ul> 609<a name="ALLOW_FINAL_FIELDS_AS_MUTATORS"> 610<!-- --> 611</a> 612<ul class="blockList"> 613<li class="blockList"> 614<h4>ALLOW_FINAL_FIELDS_AS_MUTATORS</h4> 615<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> ALLOW_FINAL_FIELDS_AS_MUTATORS</pre> 616<div class="block">Feature that determines whether member fields declared as 'final' may 617 be auto-detected to be used mutators (used to change value of the logical 618 property) or not. If enabled, 'final' access modifier has no effect, and 619 such fields may be detected according to usual visibility and inference 620 rules; if disabled, such fields are NOT used as mutators except if 621 explicitly annotated for such use. 622<p> 623 Feature is enabled by default, for backwards compatibility reasons.</div> 624<dl><dt><span class="strong">Since:</span></dt> 625 <dd>2.2</dd></dl> 626</li> 627</ul> 628<a name="PROPAGATE_TRANSIENT_MARKER"> 629<!-- --> 630</a> 631<ul class="blockList"> 632<li class="blockList"> 633<h4>PROPAGATE_TRANSIENT_MARKER</h4> 634<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> PROPAGATE_TRANSIENT_MARKER</pre> 635<div class="block">Feature that determines for <code>transient</code> modifier for fields 636 is handled: if disabled, it is only taken to mean exclusion of 637<p> 638 Feature is disabled by default, meaning that existence of `transient` 639 for a field does not necessarily lead to ignoral of getters or setters.</div> 640<dl><dt><span class="strong">Since:</span></dt> 641 <dd>2.6</dd></dl> 642</li> 643</ul> 644<a name="USE_STATIC_TYPING"> 645<!-- --> 646</a> 647<ul class="blockList"> 648<li class="blockList"> 649<h4>USE_STATIC_TYPING</h4> 650<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> USE_STATIC_TYPING</pre> 651<div class="block">Feature that determines whether the type detection for 652 serialization should be using actual dynamic runtime type, 653 or declared static type. 654 Note that deserialization always uses declared static types 655 since no runtime types are available (as we are creating 656 instances after using type information). 657<p> 658 This global default value can be overridden at class, method 659 or field level by using <a href="../../../../com/fasterxml/jackson/databind/annotation/JsonSerialize.html#typing()"><code>JsonSerialize.typing()</code></a> annotation 660 property. 661<p> 662 Feature is disabled by default which means that dynamic runtime types 663 are used (instead of declared static types) for serialization.</div> 664</li> 665</ul> 666<a name="DEFAULT_VIEW_INCLUSION"> 667<!-- --> 668</a> 669<ul class="blockList"> 670<li class="blockList"> 671<h4>DEFAULT_VIEW_INCLUSION</h4> 672<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> DEFAULT_VIEW_INCLUSION</pre> 673<div class="block">Feature that determines whether properties that have no view 674 annotations are included in JSON serialization views (see 675 <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonView.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonView</code></a> for more 676 details on JSON Views). 677 If enabled, non-annotated properties will be included; 678 when disabled, they will be excluded. So this feature 679 changes between "opt-in" (feature disabled) and 680 "opt-out" (feature enabled) modes. 681<p> 682 Default value is enabled, meaning that non-annotated 683 properties are included in all views if there is no 684 <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonView.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonView</code></a> annotation. 685<p> 686 Feature is enabled by default.</div> 687</li> 688</ul> 689<a name="SORT_PROPERTIES_ALPHABETICALLY"> 690<!-- --> 691</a> 692<ul class="blockList"> 693<li class="blockList"> 694<h4>SORT_PROPERTIES_ALPHABETICALLY</h4> 695<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> SORT_PROPERTIES_ALPHABETICALLY</pre> 696<div class="block">Feature that defines default property serialization order used 697 for POJO fields (note: does <b>not</b> apply to <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> 698 serialization!): 699 if enabled, default ordering is alphabetic (similar to 700 how <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonPropertyOrder.html?is-external=true#alphabetic()" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonPropertyOrder.alphabetic()</code></a> 701 works); if disabled, order is unspecified (based on what JDK gives 702 us, which may be declaration order, but is not guaranteed). 703<p> 704 Note that this is just the default behavior, and can be overridden by 705 explicit overrides in classes (for example with 706 <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonPropertyOrder.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonPropertyOrder</code></a> annotation) 707<p> 708 Feature is disabled by default.</div> 709</li> 710</ul> 711<a name="ACCEPT_CASE_INSENSITIVE_PROPERTIES"> 712<!-- --> 713</a> 714<ul class="blockList"> 715<li class="blockList"> 716<h4>ACCEPT_CASE_INSENSITIVE_PROPERTIES</h4> 717<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> ACCEPT_CASE_INSENSITIVE_PROPERTIES</pre> 718<div class="block">Feature that will allow for more forgiving deserialization of incoming JSON. 719 If enabled, the bean properties will be matched using their lower-case equivalents, 720 meaning that any case-combination (incoming and matching names are canonicalized 721 by lower-casing) should work. 722<p> 723 Note that there is additional performance overhead since incoming property 724 names need to be lower-cased before comparison, for cases where there are upper-case 725 letters. Overhead for names that are already lower-case should be negligible however. 726<p> 727 Feature is disabled by default.</div> 728<dl><dt><span class="strong">Since:</span></dt> 729 <dd>2.5</dd></dl> 730</li> 731</ul> 732<a name="USE_WRAPPER_NAME_AS_PROPERTY_NAME"> 733<!-- --> 734</a> 735<ul class="blockList"> 736<li class="blockList"> 737<h4>USE_WRAPPER_NAME_AS_PROPERTY_NAME</h4> 738<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> USE_WRAPPER_NAME_AS_PROPERTY_NAME</pre> 739<div class="block">Feature that can be enabled to make property names be 740 overridden by wrapper name (usually detected with annotations 741 as defined by <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html#findWrapperName(com.fasterxml.jackson.databind.introspect.Annotated)"><code>AnnotationIntrospector.findWrapperName(com.fasterxml.jackson.databind.introspect.Annotated)</code></a>. 742 If enabled, all properties that have associated non-empty Wrapper 743 name will use that wrapper name instead of property name. 744 If disabled, wrapper name is only used for wrapping (if anything). 745<p> 746 Feature is disabled by default.</div> 747<dl><dt><span class="strong">Since:</span></dt> 748 <dd>2.1</dd></dl> 749</li> 750</ul> 751<a name="USE_STD_BEAN_NAMING"> 752<!-- --> 753</a> 754<ul class="blockList"> 755<li class="blockList"> 756<h4>USE_STD_BEAN_NAMING</h4> 757<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> USE_STD_BEAN_NAMING</pre> 758<div class="block">Feature that may be enabled to enforce strict compatibility with 759 Bean name introspection, instead of slightly different mechanism 760 Jackson defaults to. 761 Specific difference is that Jackson always lower cases leading upper-case 762 letters, so "getURL()" becomes "url" property; whereas standard Bean 763 naming <b>only</b> lower-cases the first letter if it is NOT followed by 764 another upper-case letter (so "getURL()" would result in "URL" property). 765<p> 766 Feature is disabled by default for backwards compatibility purposes: earlier 767 Jackson versions used Jackson's own mechanism.</div> 768<dl><dt><span class="strong">Since:</span></dt> 769 <dd>2.5</dd></dl> 770</li> 771</ul> 772<a name="ALLOW_EXPLICIT_PROPERTY_RENAMING"> 773<!-- --> 774</a> 775<ul class="blockList"> 776<li class="blockList"> 777<h4>ALLOW_EXPLICIT_PROPERTY_RENAMING</h4> 778<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> ALLOW_EXPLICIT_PROPERTY_RENAMING</pre> 779<div class="block">Feature that when enabled will allow explicitly named properties (i.e., fields or methods 780 annotated with <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonProperty.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonProperty</code></a>("explicitName")) to 781 be re-named by a <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy</code></a>, if one is configured. 782 <p> 783 Feature is disabled by default.</div> 784<dl><dt><span class="strong">Since:</span></dt> 785 <dd>2.7</dd></dl> 786</li> 787</ul> 788<a name="IGNORE_DUPLICATE_MODULE_REGISTRATIONS"> 789<!-- --> 790</a> 791<ul class="blockListLast"> 792<li class="blockList"> 793<h4>IGNORE_DUPLICATE_MODULE_REGISTRATIONS</h4> 794<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> IGNORE_DUPLICATE_MODULE_REGISTRATIONS</pre> 795<div class="block">Feature that determines whether multiple registrations of same module 796 should be ignored or not; if enabled, only the first registration call 797 results in module being called, and possible duplicate calls are silently 798 ignored; if disabled, no checking is done and all registration calls are 799 dispatched to module. 800<p> 801 Definition of "same module" is based on using <a href="../../../../com/fasterxml/jackson/databind/Module.html#getTypeId()"><code>Module.getTypeId()</code></a>; 802 modules with same non-null <code>type id</code> are considered same for 803 purposes of duplicate registration. This also avoids having to keep track 804 of actual module instances; only ids will be kept track of (and only if 805 this feature is enabled). 806<p> 807 Feature is enabled by default.</div> 808<dl><dt><span class="strong">Since:</span></dt> 809 <dd>2.5</dd></dl> 810</li> 811</ul> 812</li> 813</ul> 814<!-- ============ METHOD DETAIL ========== --> 815<ul class="blockList"> 816<li class="blockList"><a name="method_detail"> 817<!-- --> 818</a> 819<h3>Method Detail</h3> 820<a name="values()"> 821<!-- --> 822</a> 823<ul class="blockList"> 824<li class="blockList"> 825<h4>values</h4> 826<pre>public static <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>[] values()</pre> 827<div class="block">Returns an array containing the constants of this enum type, in 828the order they are declared. This method may be used to iterate 829over the constants as follows: 830<pre> 831for (MapperFeature c : MapperFeature.values()) 832 System.out.println(c); 833</pre></div> 834<dl><dt><span class="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in the order they are declared</dd></dl> 835</li> 836</ul> 837<a name="valueOf(java.lang.String)"> 838<!-- --> 839</a> 840<ul class="blockList"> 841<li class="blockList"> 842<h4>valueOf</h4> 843<pre>public static <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> valueOf(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> 844<div class="block">Returns the enum constant of this type with the specified name. 845The string must match <i>exactly</i> an identifier used to declare an 846enum constant in this type. (Extraneous whitespace characters are 847not permitted.)</div> 848<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd> 849<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd> 850<dt><span class="strong">Throws:</span></dt> 851<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if this enum type has no constant with the specified name</dd> 852<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the argument is null</dd></dl> 853</li> 854</ul> 855<a name="enabledByDefault()"> 856<!-- --> 857</a> 858<ul class="blockList"> 859<li class="blockList"> 860<h4>enabledByDefault</h4> 861<pre>public boolean enabledByDefault()</pre> 862<div class="block"><strong>Description copied from interface: <code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#enabledByDefault()">ConfigFeature</a></code></strong></div> 863<div class="block">Accessor for checking whether this feature is enabled by default.</div> 864<dl> 865<dt><strong>Specified by:</strong></dt> 866<dd><code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#enabledByDefault()">enabledByDefault</a></code> in interface <code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</a></code></dd> 867</dl> 868</li> 869</ul> 870<a name="getMask()"> 871<!-- --> 872</a> 873<ul class="blockList"> 874<li class="blockList"> 875<h4>getMask</h4> 876<pre>public int getMask()</pre> 877<div class="block"><strong>Description copied from interface: <code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#getMask()">ConfigFeature</a></code></strong></div> 878<div class="block">Returns bit mask for this feature instance</div> 879<dl> 880<dt><strong>Specified by:</strong></dt> 881<dd><code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#getMask()">getMask</a></code> in interface <code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</a></code></dd> 882</dl> 883</li> 884</ul> 885<a name="enabledIn(int)"> 886<!-- --> 887</a> 888<ul class="blockListLast"> 889<li class="blockList"> 890<h4>enabledIn</h4> 891<pre>public boolean enabledIn(int flags)</pre> 892<div class="block"><strong>Description copied from interface: <code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#enabledIn(int)">ConfigFeature</a></code></strong></div> 893<div class="block">Convenience method for checking whether feature is enabled in given bitmask</div> 894<dl> 895<dt><strong>Specified by:</strong></dt> 896<dd><code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#enabledIn(int)">enabledIn</a></code> in interface <code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</a></code></dd> 897</dl> 898</li> 899</ul> 900</li> 901</ul> 902</li> 903</ul> 904</div> 905</div> 906<!-- ========= END OF CLASS DATA ========= --> 907<!-- ======= START OF BOTTOM NAVBAR ====== --> 908<div class="bottomNav"><a name="navbar_bottom"> 909<!-- --> 910</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 911<!-- --> 912</a> 913<ul class="navList" title="Navigation"> 914<li><a href="../../../../overview-summary.html">Overview</a></li> 915<li><a href="package-summary.html">Package</a></li> 916<li class="navBarCell1Rev">Class</li> 917<li><a href="class-use/MapperFeature.html">Use</a></li> 918<li><a href="package-tree.html">Tree</a></li> 919<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 920<li><a href="../../../../index-all.html">Index</a></li> 921<li><a href="../../../../help-doc.html">Help</a></li> 922</ul> 923</div> 924<div class="subNav"> 925<ul class="navList"> 926<li><a href="../../../../com/fasterxml/jackson/databind/KeyDeserializer.None.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li> 927<li><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li> 928</ul> 929<ul class="navList"> 930<li><a href="../../../../index.html?com/fasterxml/jackson/databind/MapperFeature.html" target="_top">Frames</a></li> 931<li><a href="MapperFeature.html" target="_top">No Frames</a></li> 932</ul> 933<ul class="navList" id="allclasses_navbar_bottom"> 934<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 935</ul> 936<div> 937<script type="text/javascript"><!-- 938 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 939 if(window==top) { 940 allClassesLink.style.display = "block"; 941 } 942 else { 943 allClassesLink.style.display = "none"; 944 } 945 //--> 946</script> 947</div> 948<div> 949<ul class="subNavList"> 950<li>Summary: </li> 951<li>Nested | </li> 952<li><a href="#enum_constant_summary">Enum Constants</a> | </li> 953<li>Field | </li> 954<li><a href="#method_summary">Method</a></li> 955</ul> 956<ul class="subNavList"> 957<li>Detail: </li> 958<li><a href="#enum_constant_detail">Enum Constants</a> | </li> 959<li>Field | </li> 960<li><a href="#method_detail">Method</a></li> 961</ul> 962</div> 963<a name="skip-navbar_bottom"> 964<!-- --> 965</a></div> 966<!-- ======== END OF BOTTOM NAVBAR ======= --> 967<p class="legalCopy"><small>Copyright © 2008–2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 968</body> 969</html> 970