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 18:49:10 PDT 2012 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8JsonFormat.Shape (Jackson-annotations 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="JsonFormat.Shape (Jackson-annotations 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="../../../../com/fasterxml/jackson/annotation/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JsonFormat.Shape.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 48 </TR> 49</TABLE> 50</TD> 51<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 52</EM> 53</TD> 54</TR> 55 56<TR> 57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 58 <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation"><B>PREV CLASS</B></A> 59 <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html" title="class in com.fasterxml.jackson.annotation"><B>NEXT CLASS</B></A></FONT></TD> 60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 61 <A HREF="../../../../index.html?com/fasterxml/jackson/annotation/JsonFormat.Shape.html" target="_top"><B>FRAMES</B></A> 62 <A HREF="JsonFormat.Shape.html" target="_top"><B>NO FRAMES</B></A> 63 <SCRIPT type="text/javascript"> 64 <!-- 65 if(window==top) { 66 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 67 } 68 //--> 69</SCRIPT> 70<NOSCRIPT> 71 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 72</NOSCRIPT> 73 74 75</FONT></TD> 76</TR> 77<TR> 78<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 79 SUMMARY: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD> 80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 81DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD> 82</TR> 83</TABLE> 84<A NAME="skip-navbar_top"></A> 85<!-- ========= END OF TOP NAVBAR ========= --> 86 87<HR> 88<!-- ======== START OF CLASS DATA ======== --> 89<H2> 90<FONT SIZE="-1"> 91com.fasterxml.jackson.annotation</FONT> 92<BR> 93Enum JsonFormat.Shape</H2> 94<PRE> 95<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> 96 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><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.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</A>> 97 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.annotation.JsonFormat.Shape</B> 98</PRE> 99<DL> 100<DT><B>All Implemented Interfaces:</B> <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.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</A>></DD> 101</DL> 102<DL> 103<DT><B>Enclosing class:</B><DD><A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation">JsonFormat</A></DD> 104</DL> 105<HR> 106<DL> 107<DT><PRE>public static enum <B>JsonFormat.Shape</B><DT>extends <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.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</A>></DL> 108</PRE> 109 110<P> 111Value enumeration used for indicating preferred Shape; translates 112 loosely to JSON types, with some extra values to indicate less precise 113 choices (i.e. allowing one of multiple actual shapes) 114<P> 115 116<P> 117<HR> 118 119<P> 120<!-- =========== ENUM CONSTANT SUMMARY =========== --> 121 122<A NAME="enum_constant_summary"><!-- --></A> 123<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 124<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 125<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 126<B>Enum Constant Summary</B></FONT></TH> 127</TR> 128<TR BGCOLOR="white" CLASS="TableRowColor"> 129<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#ANY">ANY</A></B></CODE> 130 131<BR> 132 Marker enum value that indicates "default" (or "whatever") choice; needed 133 since Annotations can not have null values for enums.</TD> 134</TR> 135<TR BGCOLOR="white" CLASS="TableRowColor"> 136<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#ARRAY">ARRAY</A></B></CODE> 137 138<BR> 139 Value that indicates that (JSON) Array type should be used.</TD> 140</TR> 141<TR BGCOLOR="white" CLASS="TableRowColor"> 142<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#BOOLEAN">BOOLEAN</A></B></CODE> 143 144<BR> 145 Value that indicates that (JSON) boolean type 146 (true, false) should be used.</TD> 147</TR> 148<TR BGCOLOR="white" CLASS="TableRowColor"> 149<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#NUMBER">NUMBER</A></B></CODE> 150 151<BR> 152 Value that indicates that a numeric (JSON) type should be used 153 (but does not specify whether integer or floating-point representation 154 should be used)</TD> 155</TR> 156<TR BGCOLOR="white" CLASS="TableRowColor"> 157<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#NUMBER_FLOAT">NUMBER_FLOAT</A></B></CODE> 158 159<BR> 160 Value that indicates that floating-point numeric type should be used</TD> 161</TR> 162<TR BGCOLOR="white" CLASS="TableRowColor"> 163<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#NUMBER_INT">NUMBER_INT</A></B></CODE> 164 165<BR> 166 Value that indicates that integer number type should be used 167 (and not <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#NUMBER_FLOAT"><CODE>NUMBER_FLOAT</CODE></A>).</TD> 168</TR> 169<TR BGCOLOR="white" CLASS="TableRowColor"> 170<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#OBJECT">OBJECT</A></B></CODE> 171 172<BR> 173 Value that indicates that (JSON) Object type should be used.</TD> 174</TR> 175<TR BGCOLOR="white" CLASS="TableRowColor"> 176<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#SCALAR">SCALAR</A></B></CODE> 177 178<BR> 179 Value that indicates shape should not be structural (that is, not 180 <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#ARRAY"><CODE>ARRAY</CODE></A> or <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#OBJECT"><CODE>OBJECT</CODE></A>, but can be any other shape.</TD> 181</TR> 182<TR BGCOLOR="white" CLASS="TableRowColor"> 183<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#STRING">STRING</A></B></CODE> 184 185<BR> 186 Value that indicates that (JSON) String type should be used.</TD> 187</TR> 188</TABLE> 189 190<!-- ========== METHOD SUMMARY =========== --> 191 192<A NAME="method_summary"><!-- --></A> 193<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 194<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 195<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 196<B>Method Summary</B></FONT></TH> 197</TR> 198<TR BGCOLOR="white" CLASS="TableRowColor"> 199<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 200<CODE> boolean</CODE></FONT></TD> 201<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#isNumeric()">isNumeric</A></B>()</CODE> 202 203<BR> 204 </TD> 205</TR> 206<TR BGCOLOR="white" CLASS="TableRowColor"> 207<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 208<CODE> boolean</CODE></FONT></TD> 209<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#isStructured()">isStructured</A></B>()</CODE> 210 211<BR> 212 </TD> 213</TR> 214<TR BGCOLOR="white" CLASS="TableRowColor"> 215<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 216<CODE>static <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</A></CODE></FONT></TD> 217<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#valueOf(java.lang.String)">valueOf</A></B>(<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> 218 219<BR> 220 Returns the enum constant of this type with the specified name.</TD> 221</TR> 222<TR BGCOLOR="white" CLASS="TableRowColor"> 223<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 224<CODE>static <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</A>[]</CODE></FONT></TD> 225<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#values()">values</A></B>()</CODE> 226 227<BR> 228 Returns an array containing the constants of this enum type, in 229the order they are declared.</TD> 230</TR> 231</TABLE> 232 <A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A> 233<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 234<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 235<TH ALIGN="left"><B>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></B></TH> 236</TR> 237<TR BGCOLOR="white" CLASS="TableRowColor"> 238<TD><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, java.lang.String)" title="class or interface in java.lang">valueOf</A></CODE></TD> 239</TR> 240</TABLE> 241 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 242<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 243<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 244<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> 245</TR> 246<TR BGCOLOR="white" CLASS="TableRowColor"> 247<TD><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, int)" title="class or interface in java.lang">wait</A></CODE></TD> 248</TR> 249</TABLE> 250 251<P> 252 253<!-- ============ ENUM CONSTANT DETAIL =========== --> 254 255<A NAME="enum_constant_detail"><!-- --></A> 256<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 257<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 258<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 259<B>Enum Constant Detail</B></FONT></TH> 260</TR> 261</TABLE> 262 263<A NAME="ANY"><!-- --></A><H3> 264ANY</H3> 265<PRE> 266public static final <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</A> <B>ANY</B></PRE> 267<DL> 268<DD>Marker enum value that indicates "default" (or "whatever") choice; needed 269 since Annotations can not have null values for enums. 270<P> 271<DL> 272</DL> 273</DL> 274<HR> 275 276<A NAME="SCALAR"><!-- --></A><H3> 277SCALAR</H3> 278<PRE> 279public static final <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</A> <B>SCALAR</B></PRE> 280<DL> 281<DD>Value that indicates shape should not be structural (that is, not 282 <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#ARRAY"><CODE>ARRAY</CODE></A> or <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#OBJECT"><CODE>OBJECT</CODE></A>, but can be any other shape. 283<P> 284<DL> 285</DL> 286</DL> 287<HR> 288 289<A NAME="ARRAY"><!-- --></A><H3> 290ARRAY</H3> 291<PRE> 292public static final <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</A> <B>ARRAY</B></PRE> 293<DL> 294<DD>Value that indicates that (JSON) Array type should be used. 295<P> 296<DL> 297</DL> 298</DL> 299<HR> 300 301<A NAME="OBJECT"><!-- --></A><H3> 302OBJECT</H3> 303<PRE> 304public static final <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</A> <B>OBJECT</B></PRE> 305<DL> 306<DD>Value that indicates that (JSON) Object type should be used. 307<P> 308<DL> 309</DL> 310</DL> 311<HR> 312 313<A NAME="NUMBER"><!-- --></A><H3> 314NUMBER</H3> 315<PRE> 316public static final <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</A> <B>NUMBER</B></PRE> 317<DL> 318<DD>Value that indicates that a numeric (JSON) type should be used 319 (but does not specify whether integer or floating-point representation 320 should be used) 321<P> 322<DL> 323</DL> 324</DL> 325<HR> 326 327<A NAME="NUMBER_FLOAT"><!-- --></A><H3> 328NUMBER_FLOAT</H3> 329<PRE> 330public static final <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</A> <B>NUMBER_FLOAT</B></PRE> 331<DL> 332<DD>Value that indicates that floating-point numeric type should be used 333<P> 334<DL> 335</DL> 336</DL> 337<HR> 338 339<A NAME="NUMBER_INT"><!-- --></A><H3> 340NUMBER_INT</H3> 341<PRE> 342public static final <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</A> <B>NUMBER_INT</B></PRE> 343<DL> 344<DD>Value that indicates that integer number type should be used 345 (and not <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#NUMBER_FLOAT"><CODE>NUMBER_FLOAT</CODE></A>). 346<P> 347<DL> 348</DL> 349</DL> 350<HR> 351 352<A NAME="STRING"><!-- --></A><H3> 353STRING</H3> 354<PRE> 355public static final <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</A> <B>STRING</B></PRE> 356<DL> 357<DD>Value that indicates that (JSON) String type should be used. 358<P> 359<DL> 360</DL> 361</DL> 362<HR> 363 364<A NAME="BOOLEAN"><!-- --></A><H3> 365BOOLEAN</H3> 366<PRE> 367public static final <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</A> <B>BOOLEAN</B></PRE> 368<DL> 369<DD>Value that indicates that (JSON) boolean type 370 (true, false) should be used. 371<P> 372<DL> 373</DL> 374</DL> 375 376<!-- ============ METHOD DETAIL ========== --> 377 378<A NAME="method_detail"><!-- --></A> 379<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 380<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 381<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 382<B>Method Detail</B></FONT></TH> 383</TR> 384</TABLE> 385 386<A NAME="values()"><!-- --></A><H3> 387values</H3> 388<PRE> 389public static <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</A>[] <B>values</B>()</PRE> 390<DL> 391<DD>Returns an array containing the constants of this enum type, in 392the order they are declared. This method may be used to iterate 393over the constants as follows: 394<pre> 395for (JsonFormat.Shape c : JsonFormat.Shape.values()) 396 System.out.println(c); 397</pre> 398<P> 399<DD><DL> 400 401<DT><B>Returns:</B><DD>an array containing the constants of this enum type, in 402the order they are declared</DL> 403</DD> 404</DL> 405<HR> 406 407<A NAME="valueOf(java.lang.String)"><!-- --></A><H3> 408valueOf</H3> 409<PRE> 410public static <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</A> <B>valueOf</B>(<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> 411<DL> 412<DD>Returns the enum constant of this type with the specified name. 413The string must match <I>exactly</I> an identifier used to declare an 414enum constant in this type. (Extraneous whitespace characters are 415not permitted.) 416<P> 417<DD><DL> 418<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned. 419<DT><B>Returns:</B><DD>the enum constant with the specified name 420<DT><B>Throws:</B> 421<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 422with the specified name 423<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</DL> 424</DD> 425</DL> 426<HR> 427 428<A NAME="isNumeric()"><!-- --></A><H3> 429isNumeric</H3> 430<PRE> 431public boolean <B>isNumeric</B>()</PRE> 432<DL> 433<DD><DL> 434</DL> 435</DD> 436</DL> 437<HR> 438 439<A NAME="isStructured()"><!-- --></A><H3> 440isStructured</H3> 441<PRE> 442public boolean <B>isStructured</B>()</PRE> 443<DL> 444<DD><DL> 445</DL> 446</DD> 447</DL> 448<!-- ========= END OF CLASS DATA ========= --> 449<HR> 450 451 452<!-- ======= START OF BOTTOM NAVBAR ====== --> 453<A NAME="navbar_bottom"><!-- --></A> 454<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 455<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 456<TR> 457<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 458<A NAME="navbar_bottom_firstrow"><!-- --></A> 459<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 460 <TR ALIGN="center" VALIGN="top"> 461 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../com/fasterxml/jackson/annotation/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 462 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 463 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JsonFormat.Shape.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 464 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 465 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 466 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 467 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 468 </TR> 469</TABLE> 470</TD> 471<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 472</EM> 473</TD> 474</TR> 475 476<TR> 477<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 478 <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation"><B>PREV CLASS</B></A> 479 <A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html" title="class in com.fasterxml.jackson.annotation"><B>NEXT CLASS</B></A></FONT></TD> 480<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 481 <A HREF="../../../../index.html?com/fasterxml/jackson/annotation/JsonFormat.Shape.html" target="_top"><B>FRAMES</B></A> 482 <A HREF="JsonFormat.Shape.html" target="_top"><B>NO FRAMES</B></A> 483 <SCRIPT type="text/javascript"> 484 <!-- 485 if(window==top) { 486 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 487 } 488 //--> 489</SCRIPT> 490<NOSCRIPT> 491 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 492</NOSCRIPT> 493 494 495</FONT></TD> 496</TR> 497<TR> 498<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 499 SUMMARY: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD> 500<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 501DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD> 502</TR> 503</TABLE> 504<A NAME="skip-navbar_bottom"></A> 505<!-- ======== END OF BOTTOM NAVBAR ======= --> 506 507<HR> 508Copyright © 2012 <a href="http://fasterxml.com">fasterxml.com</a>. All Rights Reserved. 509</BODY> 510</HTML> 511