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_10-ea) on Mon Apr 22 19:50:42 PDT 2013 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>EnumValues (jackson-databind 2.2.0 API)</title> 8<meta name="date" content="2013-04-22"> 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="EnumValues (jackson-databind 2.2.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/EnumValues.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/util/EnumResolver.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/util/ISO8601DateFormat.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/EnumValues.html" target="_top">Frames</a></li> 45<li><a href="EnumValues.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>Field | </li> 67<li>Constr | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li>Field | </li> 73<li>Constr | </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.util</div> 84<h2 title="Class EnumValues" class="title">Class EnumValues</h2> 85</div> 86<div class="contentContainer"> 87<ul class="inheritance"> 88<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> 89<li> 90<ul class="inheritance"> 91<li>com.fasterxml.jackson.databind.util.EnumValues</li> 92</ul> 93</li> 94</ul> 95<div class="description"> 96<ul class="blockList"> 97<li class="blockList"> 98<hr> 99<br> 100<pre>public final class <span class="strong">EnumValues</span> 101extends <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></pre> 102<div class="block">Helper class used for storing String serializations of 103 enumerations.</div> 104</li> 105</ul> 106</div> 107<div class="summary"> 108<ul class="blockList"> 109<li class="blockList"> 110<!-- ========== METHOD SUMMARY =========== --> 111<ul class="blockList"> 112<li class="blockList"><a name="method_summary"> 113<!-- --> 114</a> 115<h3>Method Summary</h3> 116<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 117<caption><span>Methods</span><span class="tabEnd"> </span></caption> 118<tr> 119<th class="colFirst" scope="col">Modifier and Type</th> 120<th class="colLast" scope="col">Method and Description</th> 121</tr> 122<tr class="altColor"> 123<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html" title="class in com.fasterxml.jackson.databind.util">EnumValues</a></code></td> 124<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html#construct(java.lang.Class, com.fasterxml.jackson.databind.AnnotationIntrospector)">construct</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><<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><?>> enumClass, 125 <a href="../../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a> intr)</code> </td> 126</tr> 127<tr class="rowColor"> 128<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html" title="class in com.fasterxml.jackson.databind.util">EnumValues</a></code></td> 129<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html#constructFromName(java.lang.Class, com.fasterxml.jackson.databind.AnnotationIntrospector)">constructFromName</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><<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><?>> enumClass, 130 <a href="../../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a> intr)</code> </td> 131</tr> 132<tr class="altColor"> 133<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html" title="class in com.fasterxml.jackson.databind.util">EnumValues</a></code></td> 134<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html#constructFromToString(java.lang.Class, com.fasterxml.jackson.databind.AnnotationIntrospector)">constructFromToString</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><<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><?>> enumClass, 135 <a href="../../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a> intr)</code> </td> 136</tr> 137<tr class="rowColor"> 138<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><<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><?>></code></td> 139<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html#getEnumClass()">getEnumClass</a></strong>()</code> </td> 140</tr> 141<tr class="altColor"> 142<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/EnumMap.html?is-external=true" title="class or interface in java.util">EnumMap</a><?,<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/io/SerializedString.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.io">SerializedString</a>></code></td> 143<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html#internalMap()">internalMap</a></strong>()</code> 144<div class="block">Method used for serialization and introspection by core Jackson 145 code.</div> 146</td> 147</tr> 148<tr class="rowColor"> 149<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/io/SerializedString.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.io">SerializedString</a></code></td> 150<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html#serializedValueFor(java.lang.Enum)">serializedValueFor</a></strong>(<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><?> key)</code> </td> 151</tr> 152<tr class="altColor"> 153<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/io/SerializedString.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.io">SerializedString</a>></code></td> 154<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html#values()">values</a></strong>()</code> </td> 155</tr> 156</table> 157<ul class="blockList"> 158<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 159<!-- --> 160</a> 161<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> 162<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.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/Object.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/Object.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/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#hashCode()" title="class or interface in java.lang">hashCode</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#toString()" title="class or interface in java.lang">toString</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, int)" title="class or interface in java.lang">wait</a></code></li> 163</ul> 164</li> 165</ul> 166</li> 167</ul> 168</div> 169<div class="details"> 170<ul class="blockList"> 171<li class="blockList"> 172<!-- ============ METHOD DETAIL ========== --> 173<ul class="blockList"> 174<li class="blockList"><a name="method_detail"> 175<!-- --> 176</a> 177<h3>Method Detail</h3> 178<a name="construct(java.lang.Class, com.fasterxml.jackson.databind.AnnotationIntrospector)"> 179<!-- --> 180</a> 181<ul class="blockList"> 182<li class="blockList"> 183<h4>construct</h4> 184<pre>public static <a href="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html" title="class in com.fasterxml.jackson.databind.util">EnumValues</a> construct(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><<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><?>> enumClass, 185 <a href="../../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a> intr)</pre> 186</li> 187</ul> 188<a name="constructFromName(java.lang.Class, com.fasterxml.jackson.databind.AnnotationIntrospector)"> 189<!-- --> 190</a> 191<ul class="blockList"> 192<li class="blockList"> 193<h4>constructFromName</h4> 194<pre>public static <a href="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html" title="class in com.fasterxml.jackson.databind.util">EnumValues</a> constructFromName(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><<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><?>> enumClass, 195 <a href="../../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a> intr)</pre> 196</li> 197</ul> 198<a name="constructFromToString(java.lang.Class, com.fasterxml.jackson.databind.AnnotationIntrospector)"> 199<!-- --> 200</a> 201<ul class="blockList"> 202<li class="blockList"> 203<h4>constructFromToString</h4> 204<pre>public static <a href="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html" title="class in com.fasterxml.jackson.databind.util">EnumValues</a> constructFromToString(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><<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><?>> enumClass, 205 <a href="../../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a> intr)</pre> 206</li> 207</ul> 208<a name="serializedValueFor(java.lang.Enum)"> 209<!-- --> 210</a> 211<ul class="blockList"> 212<li class="blockList"> 213<h4>serializedValueFor</h4> 214<pre>public <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/io/SerializedString.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.io">SerializedString</a> serializedValueFor(<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><?> key)</pre> 215</li> 216</ul> 217<a name="values()"> 218<!-- --> 219</a> 220<ul class="blockList"> 221<li class="blockList"> 222<h4>values</h4> 223<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/io/SerializedString.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.io">SerializedString</a>> values()</pre> 224</li> 225</ul> 226<a name="internalMap()"> 227<!-- --> 228</a> 229<ul class="blockList"> 230<li class="blockList"> 231<h4>internalMap</h4> 232<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/util/EnumMap.html?is-external=true" title="class or interface in java.util">EnumMap</a><?,<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/io/SerializedString.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.io">SerializedString</a>> internalMap()</pre> 233<div class="block">Method used for serialization and introspection by core Jackson 234 code.</div> 235<dl><dt><span class="strong">Since:</span></dt> 236 <dd>2.1</dd></dl> 237</li> 238</ul> 239<a name="getEnumClass()"> 240<!-- --> 241</a> 242<ul class="blockListLast"> 243<li class="blockList"> 244<h4>getEnumClass</h4> 245<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><<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><?>> getEnumClass()</pre> 246<dl><dt><span class="strong">Since:</span></dt> 247 <dd>2.2</dd></dl> 248</li> 249</ul> 250</li> 251</ul> 252</li> 253</ul> 254</div> 255</div> 256<!-- ========= END OF CLASS DATA ========= --> 257<!-- ======= START OF BOTTOM NAVBAR ====== --> 258<div class="bottomNav"><a name="navbar_bottom"> 259<!-- --> 260</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 261<!-- --> 262</a> 263<ul class="navList" title="Navigation"> 264<li><a href="../../../../../overview-summary.html">Overview</a></li> 265<li><a href="package-summary.html">Package</a></li> 266<li class="navBarCell1Rev">Class</li> 267<li><a href="class-use/EnumValues.html">Use</a></li> 268<li><a href="package-tree.html">Tree</a></li> 269<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 270<li><a href="../../../../../index-all.html">Index</a></li> 271<li><a href="../../../../../help-doc.html">Help</a></li> 272</ul> 273</div> 274<div class="subNav"> 275<ul class="navList"> 276<li><a href="../../../../../com/fasterxml/jackson/databind/util/EnumResolver.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Prev Class</span></a></li> 277<li><a href="../../../../../com/fasterxml/jackson/databind/util/ISO8601DateFormat.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Next Class</span></a></li> 278</ul> 279<ul class="navList"> 280<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/EnumValues.html" target="_top">Frames</a></li> 281<li><a href="EnumValues.html" target="_top">No Frames</a></li> 282</ul> 283<ul class="navList" id="allclasses_navbar_bottom"> 284<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 285</ul> 286<div> 287<script type="text/javascript"><!-- 288 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 289 if(window==top) { 290 allClassesLink.style.display = "block"; 291 } 292 else { 293 allClassesLink.style.display = "none"; 294 } 295 //--> 296</script> 297</div> 298<div> 299<ul class="subNavList"> 300<li>Summary: </li> 301<li>Nested | </li> 302<li>Field | </li> 303<li>Constr | </li> 304<li><a href="#method_summary">Method</a></li> 305</ul> 306<ul class="subNavList"> 307<li>Detail: </li> 308<li>Field | </li> 309<li>Constr | </li> 310<li><a href="#method_detail">Method</a></li> 311</ul> 312</div> 313<a name="skip-navbar_bottom"> 314<!-- --> 315</a></div> 316<!-- ======== END OF BOTTOM NAVBAR ======= --> 317<p class="legalCopy"><small>Copyright © 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 318</body> 319</html> 320