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 Wed Jul 20 08:39:09 PDT 2016 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>MapperFeature (jackson-databind 2.8.0 API)</title> 8<meta name="date" content="2016-07-20"> 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.8.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 how <code>transient</code> modifier for fields 234 is handled: if disabled, it is only taken to mean exclusion of the field 235 as accessor; if true, removal of the whole property.</div> 236</td> 237</tr> 238<tr class="altColor"> 239<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#REQUIRE_SETTERS_FOR_GETTERS">REQUIRE_SETTERS_FOR_GETTERS</a></strong></code> 240<div class="block">Feature that determines whether getters (getter methods) 241 can be auto-detected if there is no matching mutator (setter, 242 constructor parameter or field) or not: if set to true, 243 only getters that match a mutator are auto-discovered; if 244 false, all auto-detectable getters can be discovered.</div> 245</td> 246</tr> 247<tr class="rowColor"> 248<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#SORT_PROPERTIES_ALPHABETICALLY">SORT_PROPERTIES_ALPHABETICALLY</a></strong></code> 249<div class="block">Feature that defines default property serialization order used 250 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> 251 serialization!): 252 if enabled, default ordering is alphabetic (similar to 253 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> 254 works); if disabled, order is unspecified (based on what JDK gives 255 us, which may be declaration order, but is not guaranteed).</div> 256</td> 257</tr> 258<tr class="altColor"> 259<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_ANNOTATIONS">USE_ANNOTATIONS</a></strong></code> 260<div class="block">Feature that determines whether annotation introspection 261 is used for configuration; if enabled, configured 262 <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind"><code>AnnotationIntrospector</code></a> will be used: if disabled, 263 no annotations are considered.</div> 264</td> 265</tr> 266<tr class="rowColor"> 267<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_GETTERS_AS_SETTERS">USE_GETTERS_AS_SETTERS</a></strong></code> 268<div class="block">Feature that determines whether otherwise regular "getter" 269 methods (but only ones that handle Collections and Maps, 270 not getters of other type) 271 can be used for purpose of getting a reference to a Collection 272 and Map to modify the property, without requiring a setter 273 method.</div> 274</td> 275</tr> 276<tr class="altColor"> 277<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_STATIC_TYPING">USE_STATIC_TYPING</a></strong></code> 278<div class="block">Feature that determines whether the type detection for 279 serialization should be using actual dynamic runtime type, 280 or declared static type.</div> 281</td> 282</tr> 283<tr class="rowColor"> 284<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_STD_BEAN_NAMING">USE_STD_BEAN_NAMING</a></strong></code> 285<div class="block">Feature that may be enabled to enforce strict compatibility with 286 Bean name introspection, instead of slightly different mechanism 287 Jackson defaults to.</div> 288</td> 289</tr> 290<tr class="altColor"> 291<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> 292<div class="block">Feature that can be enabled to make property names be 293 overridden by wrapper name (usually detected with annotations 294 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> 295</td> 296</tr> 297</table> 298</li> 299</ul> 300<!-- ========== METHOD SUMMARY =========== --> 301<ul class="blockList"> 302<li class="blockList"><a name="method_summary"> 303<!-- --> 304</a> 305<h3>Method Summary</h3> 306<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 307<caption><span>Methods</span><span class="tabEnd"> </span></caption> 308<tr> 309<th class="colFirst" scope="col">Modifier and Type</th> 310<th class="colLast" scope="col">Method and Description</th> 311</tr> 312<tr class="altColor"> 313<td class="colFirst"><code>boolean</code></td> 314<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#enabledByDefault()">enabledByDefault</a></strong>()</code> 315<div class="block">Accessor for checking whether this feature is enabled by default.</div> 316</td> 317</tr> 318<tr class="rowColor"> 319<td class="colFirst"><code>boolean</code></td> 320<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#enabledIn(int)">enabledIn</a></strong>(int flags)</code> 321<div class="block">Convenience method for checking whether feature is enabled in given bitmask</div> 322</td> 323</tr> 324<tr class="altColor"> 325<td class="colFirst"><code>int</code></td> 326<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#getMask()">getMask</a></strong>()</code> 327<div class="block">Returns bit mask for this feature instance</div> 328</td> 329</tr> 330<tr class="rowColor"> 331<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a></code></td> 332<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> 333<div class="block">Returns the enum constant of this type with the specified name.</div> 334</td> 335</tr> 336<tr class="altColor"> 337<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>[]</code></td> 338<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#values()">values</a></strong>()</code> 339<div class="block">Returns an array containing the constants of this enum type, in 340the order they are declared.</div> 341</td> 342</tr> 343</table> 344<ul class="blockList"> 345<li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum"> 346<!-- --> 347</a> 348<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> 349<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> 350</ul> 351<ul class="blockList"> 352<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 353<!-- --> 354</a> 355<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> 356<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> 357</ul> 358</li> 359</ul> 360</li> 361</ul> 362</div> 363<div class="details"> 364<ul class="blockList"> 365<li class="blockList"> 366<!-- ============ ENUM CONSTANT DETAIL =========== --> 367<ul class="blockList"> 368<li class="blockList"><a name="enum_constant_detail"> 369<!-- --> 370</a> 371<h3>Enum Constant Detail</h3> 372<a name="USE_ANNOTATIONS"> 373<!-- --> 374</a> 375<ul class="blockList"> 376<li class="blockList"> 377<h4>USE_ANNOTATIONS</h4> 378<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> USE_ANNOTATIONS</pre> 379<div class="block">Feature that determines whether annotation introspection 380 is used for configuration; if enabled, configured 381 <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind"><code>AnnotationIntrospector</code></a> will be used: if disabled, 382 no annotations are considered. 383<p> 384 Feature is enabled by default.</div> 385</li> 386</ul> 387<a name="AUTO_DETECT_CREATORS"> 388<!-- --> 389</a> 390<ul class="blockList"> 391<li class="blockList"> 392<h4>AUTO_DETECT_CREATORS</h4> 393<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> 394<div class="block">Feature that determines whether "creator" methods are 395 automatically detected by consider public constructors, 396 and static single argument methods with name "valueOf". 397 If disabled, only methods explicitly annotated are considered 398 creator methods (except for the no-arg default constructor which 399 is always considered a factory method). 400<p> 401 Note that this feature has lower precedence than per-class 402 annotations, and is only used if there isn't more granular 403 configuration available. 404<P> 405 Feature is enabled by default.</div> 406</li> 407</ul> 408<a name="AUTO_DETECT_FIELDS"> 409<!-- --> 410</a> 411<ul class="blockList"> 412<li class="blockList"> 413<h4>AUTO_DETECT_FIELDS</h4> 414<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> 415<div class="block">Feature that determines whether non-static fields are recognized as 416 properties. 417 If yes, then all public member fields 418 are considered as properties. If disabled, only fields explicitly 419 annotated are considered property fields. 420<p> 421 Note that this feature has lower precedence than per-class 422 annotations, and is only used if there isn't more granular 423 configuration available. 424<p> 425 Feature is enabled by default.</div> 426</li> 427</ul> 428<a name="AUTO_DETECT_GETTERS"> 429<!-- --> 430</a> 431<ul class="blockList"> 432<li class="blockList"> 433<h4>AUTO_DETECT_GETTERS</h4> 434<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> 435<div class="block">Feature that determines whether regular "getter" methods are 436 automatically detected based on standard Bean naming convention 437 or not. If yes, then all public zero-argument methods that 438 start with prefix "get" 439 are considered as getters. 440 If disabled, only methods explicitly annotated are considered getters. 441<p> 442 Note that since version 1.3, this does <b>NOT</b> include 443 "is getters" (see <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_IS_GETTERS"><code>AUTO_DETECT_IS_GETTERS</code></a> for details) 444<p> 445 Note that this feature has lower precedence than per-class 446 annotations, and is only used if there isn't more granular 447 configuration available. 448<p> 449 Feature is enabled by default.</div> 450</li> 451</ul> 452<a name="AUTO_DETECT_IS_GETTERS"> 453<!-- --> 454</a> 455<ul class="blockList"> 456<li class="blockList"> 457<h4>AUTO_DETECT_IS_GETTERS</h4> 458<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> 459<div class="block">Feature that determines whether "is getter" methods are 460 automatically detected based on standard Bean naming convention 461 or not. If yes, then all public zero-argument methods that 462 start with prefix "is", and whose return type is boolean 463 are considered as "is getters". 464 If disabled, only methods explicitly annotated are considered getters. 465<p> 466 Note that this feature has lower precedence than per-class 467 annotations, and is only used if there isn't more granular 468 configuration available. 469<p> 470 Feature is enabled by default.</div> 471</li> 472</ul> 473<a name="AUTO_DETECT_SETTERS"> 474<!-- --> 475</a> 476<ul class="blockList"> 477<li class="blockList"> 478<h4>AUTO_DETECT_SETTERS</h4> 479<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> 480<div class="block">Feature that determines whether "setter" methods are 481 automatically detected based on standard Bean naming convention 482 or not. If yes, then all public one-argument methods that 483 start with prefix "set" 484 are considered setters. If disabled, only methods explicitly 485 annotated are considered setters. 486<p> 487 Note that this feature has lower precedence than per-class 488 annotations, and is only used if there isn't more granular 489 configuration available. 490<P> 491 Feature is enabled by default.</div> 492</li> 493</ul> 494<a name="REQUIRE_SETTERS_FOR_GETTERS"> 495<!-- --> 496</a> 497<ul class="blockList"> 498<li class="blockList"> 499<h4>REQUIRE_SETTERS_FOR_GETTERS</h4> 500<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> 501<div class="block">Feature that determines whether getters (getter methods) 502 can be auto-detected if there is no matching mutator (setter, 503 constructor parameter or field) or not: if set to true, 504 only getters that match a mutator are auto-discovered; if 505 false, all auto-detectable getters can be discovered. 506<p> 507 Feature is disabled by default.</div> 508</li> 509</ul> 510<a name="USE_GETTERS_AS_SETTERS"> 511<!-- --> 512</a> 513<ul class="blockList"> 514<li class="blockList"> 515<h4>USE_GETTERS_AS_SETTERS</h4> 516<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> 517<div class="block">Feature that determines whether otherwise regular "getter" 518 methods (but only ones that handle Collections and Maps, 519 not getters of other type) 520 can be used for purpose of getting a reference to a Collection 521 and Map to modify the property, without requiring a setter 522 method. 523 This is similar to how JAXB framework sets Collections and 524 Maps: no setter is involved, just setter. 525<p> 526 Note that such getters-as-setters methods have lower 527 precedence than setters, so they are only used if no 528 setter is found for the Map/Collection property. 529<p> 530 Feature is enabled by default.</div> 531</li> 532</ul> 533<a name="CAN_OVERRIDE_ACCESS_MODIFIERS"> 534<!-- --> 535</a> 536<ul class="blockList"> 537<li class="blockList"> 538<h4>CAN_OVERRIDE_ACCESS_MODIFIERS</h4> 539<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> 540<div class="block">Feature that determines whether method and field access 541 modifier settings can be overridden when accessing 542 properties. If enabled, method 543 <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> 544 may be called to enable access to otherwise unaccessible objects. 545<p> 546 Note that this setting may have significant performance implications, 547 since access override helps remove costly access checks on each 548 and every Reflection access. If you are considering disabling 549 this feature, be sure to verify performance consequences if usage 550 is performance sensitive. 551 Also note that performance effects vary between Java platforms 552 (JavaSE vs Android, for example), as well as JDK versions: older 553 versions seemed to have more significant performance difference. 554<p> 555 Conversely, on some platforms, it may be necessary to disable this feature 556 as platform does not allow such calls. For example, when developing 557 Applets (or other Java code that runs on tightly restricted sandbox), 558 it may be necessary to disable the feature regardless of performance effects. 559<p> 560 Feature is enabled by default.</div> 561</li> 562</ul> 563<a name="OVERRIDE_PUBLIC_ACCESS_MODIFIERS"> 564<!-- --> 565</a> 566<ul class="blockList"> 567<li class="blockList"> 568<h4>OVERRIDE_PUBLIC_ACCESS_MODIFIERS</h4> 569<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> 570<div class="block">Feature that determines that forces call to 571 <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 572 <code>public</code> accessors -- that is, even if no such call is 573 needed from functionality perspective -- if call is allowed 574 (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). 575 The main reason to enable this feature is possible performance 576 improvement as JDK does not have to perform access checks; these 577 checks are otherwise made for all accessors, including public ones, 578 and may result in slower Reflection calls. Exact impact (if any) 579 depends on Java platform (Java SE, Android) as well as JDK version. 580<p> 581 Feature is enabled by default, for legacy reasons (it was the behavior 582 until 2.6)</div> 583<dl><dt><span class="strong">Since:</span></dt> 584 <dd>2.7</dd></dl> 585</li> 586</ul> 587<a name="INFER_PROPERTY_MUTATORS"> 588<!-- --> 589</a> 590<ul class="blockList"> 591<li class="blockList"> 592<h4>INFER_PROPERTY_MUTATORS</h4> 593<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> 594<div class="block">Feature that determines whether member mutators (fields and 595 setters) may be "pulled in" even if they are not visible, 596 as long as there is a visible accessor (getter or field) with same name. 597 For example: field "value" may be inferred as mutator, 598 if there is visible or explicitly marked getter "getValue()". 599 If enabled, inferring is enabled; otherwise (disabled) only visible and 600 explicitly annotated accessors are ever used. 601<p> 602 Note that 'getters' are never inferred and need to be either visible (including 603 bean-style naming) or explicitly annotated. 604<p> 605 Feature is enabled by default.</div> 606<dl><dt><span class="strong">Since:</span></dt> 607 <dd>2.2</dd></dl> 608</li> 609</ul> 610<a name="ALLOW_FINAL_FIELDS_AS_MUTATORS"> 611<!-- --> 612</a> 613<ul class="blockList"> 614<li class="blockList"> 615<h4>ALLOW_FINAL_FIELDS_AS_MUTATORS</h4> 616<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> 617<div class="block">Feature that determines whether member fields declared as 'final' may 618 be auto-detected to be used mutators (used to change value of the logical 619 property) or not. If enabled, 'final' access modifier has no effect, and 620 such fields may be detected according to usual visibility and inference 621 rules; if disabled, such fields are NOT used as mutators except if 622 explicitly annotated for such use. 623<p> 624 Feature is enabled by default, for backwards compatibility reasons.</div> 625<dl><dt><span class="strong">Since:</span></dt> 626 <dd>2.2</dd></dl> 627</li> 628</ul> 629<a name="PROPAGATE_TRANSIENT_MARKER"> 630<!-- --> 631</a> 632<ul class="blockList"> 633<li class="blockList"> 634<h4>PROPAGATE_TRANSIENT_MARKER</h4> 635<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> 636<div class="block">Feature that determines how <code>transient</code> modifier for fields 637 is handled: if disabled, it is only taken to mean exclusion of the field 638 as accessor; if true, removal of the whole property. 639<p> 640 Feature is disabled by default, meaning that existence of `transient` 641 for a field does not necessarily lead to ignoral of getters or setters 642 but just ignoring the use of field for access.</div> 643<dl><dt><span class="strong">Since:</span></dt> 644 <dd>2.6</dd></dl> 645</li> 646</ul> 647<a name="USE_STATIC_TYPING"> 648<!-- --> 649</a> 650<ul class="blockList"> 651<li class="blockList"> 652<h4>USE_STATIC_TYPING</h4> 653<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> 654<div class="block">Feature that determines whether the type detection for 655 serialization should be using actual dynamic runtime type, 656 or declared static type. 657 Note that deserialization always uses declared static types 658 since no runtime types are available (as we are creating 659 instances after using type information). 660<p> 661 This global default value can be overridden at class, method 662 or field level by using <a href="../../../../com/fasterxml/jackson/databind/annotation/JsonSerialize.html#typing()"><code>JsonSerialize.typing()</code></a> annotation 663 property. 664<p> 665 Feature is disabled by default which means that dynamic runtime types 666 are used (instead of declared static types) for serialization.</div> 667</li> 668</ul> 669<a name="DEFAULT_VIEW_INCLUSION"> 670<!-- --> 671</a> 672<ul class="blockList"> 673<li class="blockList"> 674<h4>DEFAULT_VIEW_INCLUSION</h4> 675<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> 676<div class="block">Feature that determines whether properties that have no view 677 annotations are included in JSON serialization views (see 678 <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 679 details on JSON Views). 680 If enabled, non-annotated properties will be included; 681 when disabled, they will be excluded. So this feature 682 changes between "opt-in" (feature disabled) and 683 "opt-out" (feature enabled) modes. 684<p> 685 Default value is enabled, meaning that non-annotated 686 properties are included in all views if there is no 687 <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. 688<p> 689 Feature is enabled by default.</div> 690</li> 691</ul> 692<a name="SORT_PROPERTIES_ALPHABETICALLY"> 693<!-- --> 694</a> 695<ul class="blockList"> 696<li class="blockList"> 697<h4>SORT_PROPERTIES_ALPHABETICALLY</h4> 698<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> 699<div class="block">Feature that defines default property serialization order used 700 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> 701 serialization!): 702 if enabled, default ordering is alphabetic (similar to 703 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> 704 works); if disabled, order is unspecified (based on what JDK gives 705 us, which may be declaration order, but is not guaranteed). 706<p> 707 Note that this is just the default behavior, and can be overridden by 708 explicit overrides in classes (for example with 709 <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) 710<p> 711 Feature is disabled by default.</div> 712</li> 713</ul> 714<a name="ACCEPT_CASE_INSENSITIVE_PROPERTIES"> 715<!-- --> 716</a> 717<ul class="blockList"> 718<li class="blockList"> 719<h4>ACCEPT_CASE_INSENSITIVE_PROPERTIES</h4> 720<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> 721<div class="block">Feature that will allow for more forgiving deserialization of incoming JSON. 722 If enabled, the bean properties will be matched using their lower-case equivalents, 723 meaning that any case-combination (incoming and matching names are canonicalized 724 by lower-casing) should work. 725<p> 726 Note that there is additional performance overhead since incoming property 727 names need to be lower-cased before comparison, for cases where there are upper-case 728 letters. Overhead for names that are already lower-case should be negligible however. 729<p> 730 Feature is disabled by default.</div> 731<dl><dt><span class="strong">Since:</span></dt> 732 <dd>2.5</dd></dl> 733</li> 734</ul> 735<a name="USE_WRAPPER_NAME_AS_PROPERTY_NAME"> 736<!-- --> 737</a> 738<ul class="blockList"> 739<li class="blockList"> 740<h4>USE_WRAPPER_NAME_AS_PROPERTY_NAME</h4> 741<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> 742<div class="block">Feature that can be enabled to make property names be 743 overridden by wrapper name (usually detected with annotations 744 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>. 745 If enabled, all properties that have associated non-empty Wrapper 746 name will use that wrapper name instead of property name. 747 If disabled, wrapper name is only used for wrapping (if anything). 748<p> 749 Feature is disabled by default.</div> 750<dl><dt><span class="strong">Since:</span></dt> 751 <dd>2.1</dd></dl> 752</li> 753</ul> 754<a name="USE_STD_BEAN_NAMING"> 755<!-- --> 756</a> 757<ul class="blockList"> 758<li class="blockList"> 759<h4>USE_STD_BEAN_NAMING</h4> 760<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> 761<div class="block">Feature that may be enabled to enforce strict compatibility with 762 Bean name introspection, instead of slightly different mechanism 763 Jackson defaults to. 764 Specific difference is that Jackson always lower cases leading upper-case 765 letters, so "getURL()" becomes "url" property; whereas standard Bean 766 naming <b>only</b> lower-cases the first letter if it is NOT followed by 767 another upper-case letter (so "getURL()" would result in "URL" property). 768<p> 769 Feature is disabled by default for backwards compatibility purposes: earlier 770 Jackson versions used Jackson's own mechanism.</div> 771<dl><dt><span class="strong">Since:</span></dt> 772 <dd>2.5</dd></dl> 773</li> 774</ul> 775<a name="ALLOW_EXPLICIT_PROPERTY_RENAMING"> 776<!-- --> 777</a> 778<ul class="blockList"> 779<li class="blockList"> 780<h4>ALLOW_EXPLICIT_PROPERTY_RENAMING</h4> 781<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> 782<div class="block">Feature that when enabled will allow explicitly named properties (i.e., fields or methods 783 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 784 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. 785 <p> 786 Feature is disabled by default.</div> 787<dl><dt><span class="strong">Since:</span></dt> 788 <dd>2.7</dd></dl> 789</li> 790</ul> 791<a name="IGNORE_DUPLICATE_MODULE_REGISTRATIONS"> 792<!-- --> 793</a> 794<ul class="blockListLast"> 795<li class="blockList"> 796<h4>IGNORE_DUPLICATE_MODULE_REGISTRATIONS</h4> 797<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> 798<div class="block">Feature that determines whether multiple registrations of same module 799 should be ignored or not; if enabled, only the first registration call 800 results in module being called, and possible duplicate calls are silently 801 ignored; if disabled, no checking is done and all registration calls are 802 dispatched to module. 803<p> 804 Definition of "same module" is based on using <a href="../../../../com/fasterxml/jackson/databind/Module.html#getTypeId()"><code>Module.getTypeId()</code></a>; 805 modules with same non-null <code>type id</code> are considered same for 806 purposes of duplicate registration. This also avoids having to keep track 807 of actual module instances; only ids will be kept track of (and only if 808 this feature is enabled). 809<p> 810 Feature is enabled by default.</div> 811<dl><dt><span class="strong">Since:</span></dt> 812 <dd>2.5</dd></dl> 813</li> 814</ul> 815</li> 816</ul> 817<!-- ============ METHOD DETAIL ========== --> 818<ul class="blockList"> 819<li class="blockList"><a name="method_detail"> 820<!-- --> 821</a> 822<h3>Method Detail</h3> 823<a name="values()"> 824<!-- --> 825</a> 826<ul class="blockList"> 827<li class="blockList"> 828<h4>values</h4> 829<pre>public static <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>[] values()</pre> 830<div class="block">Returns an array containing the constants of this enum type, in 831the order they are declared. This method may be used to iterate 832over the constants as follows: 833<pre> 834for (MapperFeature c : MapperFeature.values()) 835 System.out.println(c); 836</pre></div> 837<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> 838</li> 839</ul> 840<a name="valueOf(java.lang.String)"> 841<!-- --> 842</a> 843<ul class="blockList"> 844<li class="blockList"> 845<h4>valueOf</h4> 846<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> 847<div class="block">Returns the enum constant of this type with the specified name. 848The string must match <i>exactly</i> an identifier used to declare an 849enum constant in this type. (Extraneous whitespace characters are 850not permitted.)</div> 851<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd> 852<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd> 853<dt><span class="strong">Throws:</span></dt> 854<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> 855<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> 856</li> 857</ul> 858<a name="enabledByDefault()"> 859<!-- --> 860</a> 861<ul class="blockList"> 862<li class="blockList"> 863<h4>enabledByDefault</h4> 864<pre>public boolean enabledByDefault()</pre> 865<div class="block"><strong>Description copied from interface: <code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#enabledByDefault()">ConfigFeature</a></code></strong></div> 866<div class="block">Accessor for checking whether this feature is enabled by default.</div> 867<dl> 868<dt><strong>Specified by:</strong></dt> 869<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> 870</dl> 871</li> 872</ul> 873<a name="getMask()"> 874<!-- --> 875</a> 876<ul class="blockList"> 877<li class="blockList"> 878<h4>getMask</h4> 879<pre>public int getMask()</pre> 880<div class="block"><strong>Description copied from interface: <code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#getMask()">ConfigFeature</a></code></strong></div> 881<div class="block">Returns bit mask for this feature instance</div> 882<dl> 883<dt><strong>Specified by:</strong></dt> 884<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> 885</dl> 886</li> 887</ul> 888<a name="enabledIn(int)"> 889<!-- --> 890</a> 891<ul class="blockListLast"> 892<li class="blockList"> 893<h4>enabledIn</h4> 894<pre>public boolean enabledIn(int flags)</pre> 895<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> 896<div class="block">Convenience method for checking whether feature is enabled in given bitmask</div> 897<dl> 898<dt><strong>Specified by:</strong></dt> 899<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> 900</dl> 901</li> 902</ul> 903</li> 904</ul> 905</li> 906</ul> 907</div> 908</div> 909<!-- ========= END OF CLASS DATA ========= --> 910<!-- ======= START OF BOTTOM NAVBAR ====== --> 911<div class="bottomNav"><a name="navbar_bottom"> 912<!-- --> 913</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 914<!-- --> 915</a> 916<ul class="navList" title="Navigation"> 917<li><a href="../../../../overview-summary.html">Overview</a></li> 918<li><a href="package-summary.html">Package</a></li> 919<li class="navBarCell1Rev">Class</li> 920<li><a href="class-use/MapperFeature.html">Use</a></li> 921<li><a href="package-tree.html">Tree</a></li> 922<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 923<li><a href="../../../../index-all.html">Index</a></li> 924<li><a href="../../../../help-doc.html">Help</a></li> 925</ul> 926</div> 927<div class="subNav"> 928<ul class="navList"> 929<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> 930<li><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li> 931</ul> 932<ul class="navList"> 933<li><a href="../../../../index.html?com/fasterxml/jackson/databind/MapperFeature.html" target="_top">Frames</a></li> 934<li><a href="MapperFeature.html" target="_top">No Frames</a></li> 935</ul> 936<ul class="navList" id="allclasses_navbar_bottom"> 937<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 938</ul> 939<div> 940<script type="text/javascript"><!-- 941 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 942 if(window==top) { 943 allClassesLink.style.display = "block"; 944 } 945 else { 946 allClassesLink.style.display = "none"; 947 } 948 //--> 949</script> 950</div> 951<div> 952<ul class="subNavList"> 953<li>Summary: </li> 954<li>Nested | </li> 955<li><a href="#enum_constant_summary">Enum Constants</a> | </li> 956<li>Field | </li> 957<li><a href="#method_summary">Method</a></li> 958</ul> 959<ul class="subNavList"> 960<li>Detail: </li> 961<li><a href="#enum_constant_detail">Enum Constants</a> | </li> 962<li>Field | </li> 963<li><a href="#method_detail">Method</a></li> 964</ul> 965</div> 966<a name="skip-navbar_bottom"> 967<!-- --> 968</a></div> 969<!-- ======== END OF BOTTOM NAVBAR ======= --> 970<p class="legalCopy"><small>Copyright © 2008–2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 971</body> 972</html> 973