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 Thu Jul 07 10:49:27 PDT 2016 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>JsonFormat.Feature (Jackson-annotations 2.8.0 API)</title> 8<meta name="date" content="2016-07-07"> 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="JsonFormat.Feature (Jackson-annotations 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="../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li> 29<li class="navBarCell1Rev">Class</li> 30<li><a href="class-use/JsonFormat.Feature.html">Use</a></li> 31<li><a href="package-tree.html">Tree</a></li> 32<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 33<li><a href="../../../../index-all.html">Index</a></li> 34<li><a href="../../../../help-doc.html">Help</a></li> 35</ul> 36</div> 37<div class="subNav"> 38<ul class="navList"> 39<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation"><span class="strong">Prev Class</span></a></li> 40<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Features.html" title="class in com.fasterxml.jackson.annotation"><span class="strong">Next Class</span></a></li> 41</ul> 42<ul class="navList"> 43<li><a href="../../../../index.html?com/fasterxml/jackson/annotation/JsonFormat.Feature.html" target="_top">Frames</a></li> 44<li><a href="JsonFormat.Feature.html" target="_top">No Frames</a></li> 45</ul> 46<ul class="navList" id="allclasses_navbar_top"> 47<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 48</ul> 49<div> 50<script type="text/javascript"><!-- 51 allClassesLink = document.getElementById("allclasses_navbar_top"); 52 if(window==top) { 53 allClassesLink.style.display = "block"; 54 } 55 else { 56 allClassesLink.style.display = "none"; 57 } 58 //--> 59</script> 60</div> 61<div> 62<ul class="subNavList"> 63<li>Summary: </li> 64<li>Nested | </li> 65<li><a href="#enum_constant_summary">Enum Constants</a> | </li> 66<li>Field | </li> 67<li><a href="#method_summary">Method</a></li> 68</ul> 69<ul class="subNavList"> 70<li>Detail: </li> 71<li><a href="#enum_constant_detail">Enum Constants</a> | </li> 72<li>Field | </li> 73<li><a href="#method_detail">Method</a></li> 74</ul> 75</div> 76<a name="skip-navbar_top"> 77<!-- --> 78</a></div> 79<!-- ========= END OF TOP NAVBAR ========= --> 80<!-- ======== START OF CLASS DATA ======== --> 81<div class="header"> 82<div class="subTitle">com.fasterxml.jackson.annotation</div> 83<h2 title="Enum JsonFormat.Feature" class="title">Enum JsonFormat.Feature</h2> 84</div> 85<div class="contentContainer"> 86<ul class="inheritance"> 87<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 88<li> 89<ul class="inheritance"> 90<li><a href="http://docs.oracle.com/javase/6/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/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a>></li> 91<li> 92<ul class="inheritance"> 93<li>com.fasterxml.jackson.annotation.JsonFormat.Feature</li> 94</ul> 95</li> 96</ul> 97</li> 98</ul> 99<div class="description"> 100<ul class="blockList"> 101<li class="blockList"> 102<dl> 103<dt>All Implemented Interfaces:</dt> 104<dd><a href="http://docs.oracle.com/javase/6/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/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a>></dd> 105</dl> 106<dl> 107<dt>Enclosing class:</dt> 108<dd><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation">JsonFormat</a></dd> 109</dl> 110<hr> 111<br> 112<pre>public static enum <span class="strong">JsonFormat.Feature</span> 113extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a>></pre> 114<div class="block">Set of features that can be enabled/disabled for property annotated. 115 These often relate to specific <code>SerializationFeature</code> 116 or <code>DeserializationFeature</code>, as noted by entries. 117<p> 118 Note that whether specific setting has an effect depends on whether 119 <code>JsonSerializer</code> / <code>JsonDeserializer</code> being used 120 takes the format setting into account. If not, please file an issue 121 for adding support via issue tracker for package that has handlers 122 (if you know which one; if not, just use `jackson-databind`).</div> 123<dl><dt><span class="strong">Since:</span></dt> 124 <dd>2.6</dd></dl> 125</li> 126</ul> 127</div> 128<div class="summary"> 129<ul class="blockList"> 130<li class="blockList"> 131<!-- =========== ENUM CONSTANT SUMMARY =========== --> 132<ul class="blockList"> 133<li class="blockList"><a name="enum_constant_summary"> 134<!-- --> 135</a> 136<h3>Enum Constant Summary</h3> 137<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation"> 138<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption> 139<tr> 140<th class="colOne" scope="col">Enum Constant and Description</th> 141</tr> 142<tr class="altColor"> 143<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#ACCEPT_CASE_INSENSITIVE_PROPERTIES">ACCEPT_CASE_INSENSITIVE_PROPERTIES</a></strong></code> 144<div class="block">Override for <code>MapperFeature.ACCEPT_CASE_INSENSITIVE_PROPERTIES</code>.</div> 145</td> 146</tr> 147<tr class="rowColor"> 148<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#ACCEPT_SINGLE_VALUE_AS_ARRAY">ACCEPT_SINGLE_VALUE_AS_ARRAY</a></strong></code> 149<div class="block">Override for <code>DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY</code> 150 which will allow deserialization of JSON non-array values into single-element 151 Java arrays and <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a>s.</div> 152</td> 153</tr> 154<tr class="altColor"> 155<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#ADJUST_DATES_TO_CONTEXT_TIME_ZONE">ADJUST_DATES_TO_CONTEXT_TIME_ZONE</a></strong></code> 156<div class="block">Override for <code>DeserializationFeature.ADJUST_DATES_TO_CONTEXT_TIMEZONE</code> 157 that specifies whether context provided timezone 158 <code>DeserializationContext.getTimeZone()</code> should be used to adjust Date/Time 159 values on deserialization, even if value itself contains timezone information</div> 160</td> 161</tr> 162<tr class="rowColor"> 163<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS">WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS</a></strong></code> 164<div class="block">Override for <code>SerializationFeature.WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS</code>, 165 similar constraints apply.</div> 166</td> 167</tr> 168<tr class="altColor"> 169<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#WRITE_DATES_WITH_ZONE_ID">WRITE_DATES_WITH_ZONE_ID</a></strong></code> 170<div class="block">Override for <code>SerializationFeature.WRITE_DATES_WITH_ZONE_ID</code>, 171 similar constraints apply.</div> 172</td> 173</tr> 174<tr class="rowColor"> 175<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED">WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</a></strong></code> 176<div class="block">Override for <code>SerializationFeature.WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</code> 177 which will force serialization of single-element arrays and <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a>s 178 as that single element and excluding array wrapper.</div> 179</td> 180</tr> 181<tr class="altColor"> 182<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#WRITE_SORTED_MAP_ENTRIES">WRITE_SORTED_MAP_ENTRIES</a></strong></code> 183<div class="block">Override for <code>SerializationFeature.ORDER_MAP_ENTRIES_BY_KEYS</code>, 184 enabling of which will force sorting of <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> keys before 185 serialization.</div> 186</td> 187</tr> 188</table> 189</li> 190</ul> 191<!-- ========== METHOD SUMMARY =========== --> 192<ul class="blockList"> 193<li class="blockList"><a name="method_summary"> 194<!-- --> 195</a> 196<h3>Method Summary</h3> 197<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 198<caption><span>Methods</span><span class="tabEnd"> </span></caption> 199<tr> 200<th class="colFirst" scope="col">Modifier and Type</th> 201<th class="colLast" scope="col">Method and Description</th> 202</tr> 203<tr class="altColor"> 204<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a></code></td> 205<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#valueOf(java.lang.String)">valueOf</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> 206<div class="block">Returns the enum constant of this type with the specified name.</div> 207</td> 208</tr> 209<tr class="rowColor"> 210<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a>[]</code></td> 211<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#values()">values</a></strong>()</code> 212<div class="block">Returns an array containing the constants of this enum type, in 213the order they are declared.</div> 214</td> 215</tr> 216</table> 217<ul class="blockList"> 218<li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum"> 219<!-- --> 220</a> 221<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3> 222<code><a href="http://docs.oracle.com/javase/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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> 223</ul> 224<ul class="blockList"> 225<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 226<!-- --> 227</a> 228<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 229<code><a href="http://docs.oracle.com/javase/6/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/6/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/6/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/6/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/6/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/6/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> 230</ul> 231</li> 232</ul> 233</li> 234</ul> 235</div> 236<div class="details"> 237<ul class="blockList"> 238<li class="blockList"> 239<!-- ============ ENUM CONSTANT DETAIL =========== --> 240<ul class="blockList"> 241<li class="blockList"><a name="enum_constant_detail"> 242<!-- --> 243</a> 244<h3>Enum Constant Detail</h3> 245<a name="ACCEPT_SINGLE_VALUE_AS_ARRAY"> 246<!-- --> 247</a> 248<ul class="blockList"> 249<li class="blockList"> 250<h4>ACCEPT_SINGLE_VALUE_AS_ARRAY</h4> 251<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a> ACCEPT_SINGLE_VALUE_AS_ARRAY</pre> 252<div class="block">Override for <code>DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY</code> 253 which will allow deserialization of JSON non-array values into single-element 254 Java arrays and <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a>s.</div> 255</li> 256</ul> 257<a name="ACCEPT_CASE_INSENSITIVE_PROPERTIES"> 258<!-- --> 259</a> 260<ul class="blockList"> 261<li class="blockList"> 262<h4>ACCEPT_CASE_INSENSITIVE_PROPERTIES</h4> 263<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a> ACCEPT_CASE_INSENSITIVE_PROPERTIES</pre> 264<div class="block">Override for <code>MapperFeature.ACCEPT_CASE_INSENSITIVE_PROPERTIES</code>. 265 Only affects deserialization, has no effect on serialization.</div> 266<dl><dt><span class="strong">Since:</span></dt> 267 <dd>2.8</dd></dl> 268</li> 269</ul> 270<a name="WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS"> 271<!-- --> 272</a> 273<ul class="blockList"> 274<li class="blockList"> 275<h4>WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS</h4> 276<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a> WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS</pre> 277<div class="block">Override for <code>SerializationFeature.WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS</code>, 278 similar constraints apply.</div> 279</li> 280</ul> 281<a name="WRITE_DATES_WITH_ZONE_ID"> 282<!-- --> 283</a> 284<ul class="blockList"> 285<li class="blockList"> 286<h4>WRITE_DATES_WITH_ZONE_ID</h4> 287<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a> WRITE_DATES_WITH_ZONE_ID</pre> 288<div class="block">Override for <code>SerializationFeature.WRITE_DATES_WITH_ZONE_ID</code>, 289 similar constraints apply.</div> 290</li> 291</ul> 292<a name="WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED"> 293<!-- --> 294</a> 295<ul class="blockList"> 296<li class="blockList"> 297<h4>WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</h4> 298<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a> WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</pre> 299<div class="block">Override for <code>SerializationFeature.WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</code> 300 which will force serialization of single-element arrays and <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a>s 301 as that single element and excluding array wrapper.</div> 302</li> 303</ul> 304<a name="WRITE_SORTED_MAP_ENTRIES"> 305<!-- --> 306</a> 307<ul class="blockList"> 308<li class="blockList"> 309<h4>WRITE_SORTED_MAP_ENTRIES</h4> 310<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a> WRITE_SORTED_MAP_ENTRIES</pre> 311<div class="block">Override for <code>SerializationFeature.ORDER_MAP_ENTRIES_BY_KEYS</code>, 312 enabling of which will force sorting of <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> keys before 313 serialization.</div> 314</li> 315</ul> 316<a name="ADJUST_DATES_TO_CONTEXT_TIME_ZONE"> 317<!-- --> 318</a> 319<ul class="blockListLast"> 320<li class="blockList"> 321<h4>ADJUST_DATES_TO_CONTEXT_TIME_ZONE</h4> 322<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a> ADJUST_DATES_TO_CONTEXT_TIME_ZONE</pre> 323<div class="block">Override for <code>DeserializationFeature.ADJUST_DATES_TO_CONTEXT_TIMEZONE</code> 324 that specifies whether context provided timezone 325 <code>DeserializationContext.getTimeZone()</code> should be used to adjust Date/Time 326 values on deserialization, even if value itself contains timezone information</div> 327<dl><dt><span class="strong">Since:</span></dt> 328 <dd>2.8</dd></dl> 329</li> 330</ul> 331</li> 332</ul> 333<!-- ============ METHOD DETAIL ========== --> 334<ul class="blockList"> 335<li class="blockList"><a name="method_detail"> 336<!-- --> 337</a> 338<h3>Method Detail</h3> 339<a name="values()"> 340<!-- --> 341</a> 342<ul class="blockList"> 343<li class="blockList"> 344<h4>values</h4> 345<pre>public static <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a>[] values()</pre> 346<div class="block">Returns an array containing the constants of this enum type, in 347the order they are declared. This method may be used to iterate 348over the constants as follows: 349<pre> 350for (JsonFormat.Feature c : JsonFormat.Feature.values()) 351 System.out.println(c); 352</pre></div> 353<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> 354</li> 355</ul> 356<a name="valueOf(java.lang.String)"> 357<!-- --> 358</a> 359<ul class="blockListLast"> 360<li class="blockList"> 361<h4>valueOf</h4> 362<pre>public static <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a> valueOf(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> 363<div class="block">Returns the enum constant of this type with the specified name. 364The string must match <i>exactly</i> an identifier used to declare an 365enum constant in this type. (Extraneous whitespace characters are 366not permitted.)</div> 367<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd> 368<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd> 369<dt><span class="strong">Throws:</span></dt> 370<dd><code><a href="http://docs.oracle.com/javase/6/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> 371<dd><code><a href="http://docs.oracle.com/javase/6/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> 372</li> 373</ul> 374</li> 375</ul> 376</li> 377</ul> 378</div> 379</div> 380<!-- ========= END OF CLASS DATA ========= --> 381<!-- ======= START OF BOTTOM NAVBAR ====== --> 382<div class="bottomNav"><a name="navbar_bottom"> 383<!-- --> 384</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 385<!-- --> 386</a> 387<ul class="navList" title="Navigation"> 388<li><a href="../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li> 389<li class="navBarCell1Rev">Class</li> 390<li><a href="class-use/JsonFormat.Feature.html">Use</a></li> 391<li><a href="package-tree.html">Tree</a></li> 392<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 393<li><a href="../../../../index-all.html">Index</a></li> 394<li><a href="../../../../help-doc.html">Help</a></li> 395</ul> 396</div> 397<div class="subNav"> 398<ul class="navList"> 399<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation"><span class="strong">Prev Class</span></a></li> 400<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Features.html" title="class in com.fasterxml.jackson.annotation"><span class="strong">Next Class</span></a></li> 401</ul> 402<ul class="navList"> 403<li><a href="../../../../index.html?com/fasterxml/jackson/annotation/JsonFormat.Feature.html" target="_top">Frames</a></li> 404<li><a href="JsonFormat.Feature.html" target="_top">No Frames</a></li> 405</ul> 406<ul class="navList" id="allclasses_navbar_bottom"> 407<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 408</ul> 409<div> 410<script type="text/javascript"><!-- 411 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 412 if(window==top) { 413 allClassesLink.style.display = "block"; 414 } 415 else { 416 allClassesLink.style.display = "none"; 417 } 418 //--> 419</script> 420</div> 421<div> 422<ul class="subNavList"> 423<li>Summary: </li> 424<li>Nested | </li> 425<li><a href="#enum_constant_summary">Enum Constants</a> | </li> 426<li>Field | </li> 427<li><a href="#method_summary">Method</a></li> 428</ul> 429<ul class="subNavList"> 430<li>Detail: </li> 431<li><a href="#enum_constant_detail">Enum Constants</a> | </li> 432<li>Field | </li> 433<li><a href="#method_detail">Method</a></li> 434</ul> 435</div> 436<a name="skip-navbar_bottom"> 437<!-- --> 438</a></div> 439<!-- ======== END OF BOTTOM NAVBAR ======= --> 440<p class="legalCopy"><small>Copyright © 2008–2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 441</body> 442</html> 443