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