1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!--NewPage--> 3<HTML> 4<HEAD> 5<!-- Generated by javadoc (build 1.6.0_29) on Mon Mar 26 19:07:19 PDT 2012 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8EnumValues (jackson-databind 2.0.0 API) 9</TITLE> 10 11<META NAME="date" CONTENT="2012-03-26"> 12 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> 14 15<SCRIPT type="text/javascript"> 16function windowTitle() 17{ 18 if (location.href.indexOf('is-external=true') == -1) { 19 parent.document.title="EnumValues (jackson-databind 2.0.0 API)"; 20 } 21} 22</SCRIPT> 23<NOSCRIPT> 24</NOSCRIPT> 25 26</HEAD> 27 28<BODY BGCOLOR="white" onload="windowTitle();"> 29<HR> 30 31 32<!-- ========= START OF TOP NAVBAR ======= --> 33<A NAME="navbar_top"><!-- --></A> 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 36<TR> 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 38<A NAME="navbar_top_firstrow"><!-- --></A> 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 40 <TR ALIGN="center" VALIGN="top"> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/EnumValues.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 49 </TR> 50</TABLE> 51</TD> 52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 53</EM> 54</TD> 55</TR> 56 57<TR> 58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 59 <A HREF="../../../../../com/fasterxml/jackson/databind/util/EnumResolver.html" title="class in com.fasterxml.jackson.databind.util"><B>PREV CLASS</B></A> 60 <A HREF="../../../../../com/fasterxml/jackson/databind/util/ISO8601DateFormat.html" title="class in com.fasterxml.jackson.databind.util"><B>NEXT CLASS</B></A></FONT></TD> 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 62 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/util/EnumValues.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="EnumValues.html" target="_top"><B>NO FRAMES</B></A> 64 <SCRIPT type="text/javascript"> 65 <!-- 66 if(window==top) { 67 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 68 } 69 //--> 70</SCRIPT> 71<NOSCRIPT> 72 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 73</NOSCRIPT> 74 75 76</FONT></TD> 77</TR> 78<TR> 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 80 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 82DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> 83</TR> 84</TABLE> 85<A NAME="skip-navbar_top"></A> 86<!-- ========= END OF TOP NAVBAR ========= --> 87 88<HR> 89<!-- ======== START OF CLASS DATA ======== --> 90<H2> 91<FONT SIZE="-1"> 92com.fasterxml.jackson.databind.util</FONT> 93<BR> 94Class EnumValues</H2> 95<PRE> 96<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> 97 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.databind.util.EnumValues</B> 98</PRE> 99<HR> 100<DL> 101<DT><PRE>public final class <B>EnumValues</B><DT>extends <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></DL> 102</PRE> 103 104<P> 105Helper class used for storing String serializations of 106 enumerations. 107<P> 108 109<P> 110<HR> 111 112<P> 113 114<!-- ========== METHOD SUMMARY =========== --> 115 116<A NAME="method_summary"><!-- --></A> 117<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 118<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 119<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 120<B>Method Summary</B></FONT></TH> 121</TR> 122<TR BGCOLOR="white" CLASS="TableRowColor"> 123<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 124<CODE>static <A HREF="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html" title="class in com.fasterxml.jackson.databind.util">EnumValues</A></CODE></FONT></TD> 125<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html#construct(java.lang.Class, com.fasterxml.jackson.databind.AnnotationIntrospector)">construct</A></B>(<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, 126 <A HREF="../../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</A> intr)</CODE> 127 128<BR> 129 </TD> 130</TR> 131<TR BGCOLOR="white" CLASS="TableRowColor"> 132<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 133<CODE>static <A HREF="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html" title="class in com.fasterxml.jackson.databind.util">EnumValues</A></CODE></FONT></TD> 134<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html#constructFromName(java.lang.Class, com.fasterxml.jackson.databind.AnnotationIntrospector)">constructFromName</A></B>(<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> 136 137<BR> 138 </TD> 139</TR> 140<TR BGCOLOR="white" CLASS="TableRowColor"> 141<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 142<CODE>static <A HREF="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html" title="class in com.fasterxml.jackson.databind.util">EnumValues</A></CODE></FONT></TD> 143<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html#constructFromToString(java.lang.Class, com.fasterxml.jackson.databind.AnnotationIntrospector)">constructFromToString</A></B>(<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, 144 <A HREF="../../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</A> intr)</CODE> 145 146<BR> 147 </TD> 148</TR> 149<TR BGCOLOR="white" CLASS="TableRowColor"> 150<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 151<CODE> com.fasterxml.jackson.core.io.SerializedString</CODE></FONT></TD> 152<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html#serializedValueFor(java.lang.Enum)">serializedValueFor</A></B>(<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> 153 154<BR> 155 </TD> 156</TR> 157<TR BGCOLOR="white" CLASS="TableRowColor"> 158<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 159<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><com.fasterxml.jackson.core.io.SerializedString></CODE></FONT></TD> 160<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html#values()">values</A></B>()</CODE> 161 162<BR> 163 </TD> 164</TR> 165</TABLE> 166 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 167<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 168<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 169<TH ALIGN="left"><B>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></B></TH> 170</TR> 171<TR BGCOLOR="white" CLASS="TableRowColor"> 172<TD><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></TD> 173</TR> 174</TABLE> 175 176<P> 177 178<!-- ============ METHOD DETAIL ========== --> 179 180<A NAME="method_detail"><!-- --></A> 181<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 182<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 183<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 184<B>Method Detail</B></FONT></TH> 185</TR> 186</TABLE> 187 188<A NAME="construct(java.lang.Class, com.fasterxml.jackson.databind.AnnotationIntrospector)"><!-- --></A><H3> 189construct</H3> 190<PRE> 191public static <A HREF="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html" title="class in com.fasterxml.jackson.databind.util">EnumValues</A> <B>construct</B>(<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, 192 <A HREF="../../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</A> intr)</PRE> 193<DL> 194<DD><DL> 195</DL> 196</DD> 197</DL> 198<HR> 199 200<A NAME="constructFromName(java.lang.Class, com.fasterxml.jackson.databind.AnnotationIntrospector)"><!-- --></A><H3> 201constructFromName</H3> 202<PRE> 203public static <A HREF="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html" title="class in com.fasterxml.jackson.databind.util">EnumValues</A> <B>constructFromName</B>(<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, 204 <A HREF="../../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</A> intr)</PRE> 205<DL> 206<DD><DL> 207</DL> 208</DD> 209</DL> 210<HR> 211 212<A NAME="constructFromToString(java.lang.Class, com.fasterxml.jackson.databind.AnnotationIntrospector)"><!-- --></A><H3> 213constructFromToString</H3> 214<PRE> 215public static <A HREF="../../../../../com/fasterxml/jackson/databind/util/EnumValues.html" title="class in com.fasterxml.jackson.databind.util">EnumValues</A> <B>constructFromToString</B>(<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, 216 <A HREF="../../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</A> intr)</PRE> 217<DL> 218<DD><DL> 219</DL> 220</DD> 221</DL> 222<HR> 223 224<A NAME="serializedValueFor(java.lang.Enum)"><!-- --></A><H3> 225serializedValueFor</H3> 226<PRE> 227public com.fasterxml.jackson.core.io.SerializedString <B>serializedValueFor</B>(<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> 228<DL> 229<DD><DL> 230</DL> 231</DD> 232</DL> 233<HR> 234 235<A NAME="values()"><!-- --></A><H3> 236values</H3> 237<PRE> 238public <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><com.fasterxml.jackson.core.io.SerializedString> <B>values</B>()</PRE> 239<DL> 240<DD><DL> 241</DL> 242</DD> 243</DL> 244<!-- ========= END OF CLASS DATA ========= --> 245<HR> 246 247 248<!-- ======= START OF BOTTOM NAVBAR ====== --> 249<A NAME="navbar_bottom"><!-- --></A> 250<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 251<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 252<TR> 253<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 254<A NAME="navbar_bottom_firstrow"><!-- --></A> 255<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 256 <TR ALIGN="center" VALIGN="top"> 257 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 258 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 259 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 260 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/EnumValues.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 261 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 262 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 263 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 264 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 265 </TR> 266</TABLE> 267</TD> 268<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 269</EM> 270</TD> 271</TR> 272 273<TR> 274<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 275 <A HREF="../../../../../com/fasterxml/jackson/databind/util/EnumResolver.html" title="class in com.fasterxml.jackson.databind.util"><B>PREV CLASS</B></A> 276 <A HREF="../../../../../com/fasterxml/jackson/databind/util/ISO8601DateFormat.html" title="class in com.fasterxml.jackson.databind.util"><B>NEXT CLASS</B></A></FONT></TD> 277<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 278 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/util/EnumValues.html" target="_top"><B>FRAMES</B></A> 279 <A HREF="EnumValues.html" target="_top"><B>NO FRAMES</B></A> 280 <SCRIPT type="text/javascript"> 281 <!-- 282 if(window==top) { 283 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 284 } 285 //--> 286</SCRIPT> 287<NOSCRIPT> 288 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 289</NOSCRIPT> 290 291 292</FONT></TD> 293</TR> 294<TR> 295<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 296 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 297<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 298DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> 299</TR> 300</TABLE> 301<A NAME="skip-navbar_bottom"></A> 302<!-- ======== END OF BOTTOM NAVBAR ======= --> 303 304<HR> 305Copyright © 2012 <a href="http://fasterxml.com">fasterxml.com</a>. All Rights Reserved. 306</BODY> 307</HTML> 308