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 Tue Oct 09 17:08:18 PDT 2012 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8IntNode (jackson-databind 2.1.0 API) 9</TITLE> 10 11<META NAME="date" CONTENT="2012-10-09"> 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="IntNode (jackson-databind 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="../../../../../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/IntNode.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/node/DoubleNode.html" title="class in com.fasterxml.jackson.databind.node"><B>PREV CLASS</B></A> 60 <A HREF="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node"><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/node/IntNode.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="IntNode.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 | <A HREF="#fields_inherited_from_class_com.fasterxml.jackson.databind.JsonNode">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 82DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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.node</FONT> 93<BR> 94Class IntNode</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 "><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonNode</A> 98 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.BaseJsonNode</A> 99 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.ValueNode</A> 100 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.NumericNode</A> 101 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.databind.node.IntNode</B> 102</PRE> 103<DL> 104<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>></DD> 105</DL> 106<HR> 107<DL> 108<DT><PRE>public final class <B>IntNode</B><DT>extends <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></DL> 109</PRE> 110 111<P> 112Numeric node that contains simple 32-bit integer values. 113<P> 114 115<P> 116<HR> 117 118<P> 119<!-- =========== FIELD SUMMARY =========== --> 120 121<A NAME="field_summary"><!-- --></A> 122<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 123<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 124<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 125<B>Field Summary</B></FONT></TH> 126</TR> 127</TABLE> 128 <A NAME="fields_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"><!-- --></A> 129<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 130<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 131<TH ALIGN="left"><B>Fields inherited from class com.fasterxml.jackson.databind.<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></B></TH> 132</TR> 133<TR BGCOLOR="white" CLASS="TableRowColor"> 134<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#NO_NODES">NO_NODES</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#NO_STRINGS">NO_STRINGS</A></CODE></TD> 135</TR> 136</TABLE> 137 138<!-- ======== CONSTRUCTOR SUMMARY ======== --> 139 140<A NAME="constructor_summary"><!-- --></A> 141<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 142<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 143<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 144<B>Constructor Summary</B></FONT></TH> 145</TR> 146<TR BGCOLOR="white" CLASS="TableRowColor"> 147<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#IntNode(int)">IntNode</A></B>(int v)</CODE> 148 149<BR> 150 </TD> 151</TR> 152</TABLE> 153 154<!-- ========== METHOD SUMMARY =========== --> 155 156<A NAME="method_summary"><!-- --></A> 157<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 158<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 159<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 160<B>Method Summary</B></FONT></TH> 161</TR> 162<TR BGCOLOR="white" CLASS="TableRowColor"> 163<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 164<CODE> boolean</CODE></FONT></TD> 165<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#asBoolean(boolean)">asBoolean</A></B>(boolean defaultValue)</CODE> 166 167<BR> 168 Method that will try to convert value of this node to a Java <b>boolean</b>.</TD> 169</TR> 170<TR BGCOLOR="white" CLASS="TableRowColor"> 171<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 172<CODE> <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></CODE></FONT></TD> 173<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#asText()">asText</A></B>()</CODE> 174 175<BR> 176 Method that will return a valid String representation of 177 the container value, if the node is a value node 178 (method <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><CODE>JsonNode.isValueNode()</CODE></A> returns true), 179 otherwise empty String.</TD> 180</TR> 181<TR BGCOLOR="white" CLASS="TableRowColor"> 182<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 183<CODE> <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</A></CODE></FONT></TD> 184<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#asToken()">asToken</A></B>()</CODE> 185 186<BR> 187 Method that can be used for efficient type detection 188 when using stream abstraction for traversing nodes.</TD> 189</TR> 190<TR BGCOLOR="white" CLASS="TableRowColor"> 191<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 192<CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A></CODE></FONT></TD> 193<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#bigIntegerValue()">bigIntegerValue</A></B>()</CODE> 194 195<BR> 196 </TD> 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/databind/node/IntNode.html#canConvertToInt()">canConvertToInt</A></B>()</CODE> 202 203<BR> 204 Method that can be used to check whether this node is a numeric 205 node (<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>JsonNode.isNumber()</CODE></A> would return true) AND its value fits 206 within Java's 32-bit signed integer type, <code>int</code>.</TD> 207</TR> 208<TR BGCOLOR="white" CLASS="TableRowColor"> 209<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 210<CODE> boolean</CODE></FONT></TD> 211<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#canConvertToLong()">canConvertToLong</A></B>()</CODE> 212 213<BR> 214 Method that can be used to check whether this node is a numeric 215 node (<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>JsonNode.isNumber()</CODE></A> would return true) AND its value fits 216 within Java's 64-bit signed integer type, <code>long</code>.</TD> 217</TR> 218<TR BGCOLOR="white" CLASS="TableRowColor"> 219<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 220<CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A></CODE></FONT></TD> 221<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#decimalValue()">decimalValue</A></B>()</CODE> 222 223<BR> 224 </TD> 225</TR> 226<TR BGCOLOR="white" CLASS="TableRowColor"> 227<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 228<CODE> double</CODE></FONT></TD> 229<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#doubleValue()">doubleValue</A></B>()</CODE> 230 231<BR> 232 </TD> 233</TR> 234<TR BGCOLOR="white" CLASS="TableRowColor"> 235<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 236<CODE> boolean</CODE></FONT></TD> 237<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#equals(java.lang.Object)">equals</A></B>(<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> o)</CODE> 238 239<BR> 240 Equality for node objects is defined as full (deep) value 241 equality.</TD> 242</TR> 243<TR BGCOLOR="white" CLASS="TableRowColor"> 244<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 245<CODE> int</CODE></FONT></TD> 246<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#hashCode()">hashCode</A></B>()</CODE> 247 248<BR> 249 </TD> 250</TR> 251<TR BGCOLOR="white" CLASS="TableRowColor"> 252<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 253<CODE> int</CODE></FONT></TD> 254<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#intValue()">intValue</A></B>()</CODE> 255 256<BR> 257 Returns integer value for this node, <b>if and only if</b> 258 this node is numeric (<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>JsonNode.isNumber()</CODE></A> returns true).</TD> 259</TR> 260<TR BGCOLOR="white" CLASS="TableRowColor"> 261<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 262<CODE> boolean</CODE></FONT></TD> 263<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#isInt()">isInt</A></B>()</CODE> 264 265<BR> 266 Method that can be used to check whether contained value 267 is a number represented as Java <code>int</code>.</TD> 268</TR> 269<TR BGCOLOR="white" CLASS="TableRowColor"> 270<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 271<CODE> boolean</CODE></FONT></TD> 272<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#isIntegralNumber()">isIntegralNumber</A></B>()</CODE> 273 274<BR> 275 </TD> 276</TR> 277<TR BGCOLOR="white" CLASS="TableRowColor"> 278<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 279<CODE> long</CODE></FONT></TD> 280<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#longValue()">longValue</A></B>()</CODE> 281 282<BR> 283 </TD> 284</TR> 285<TR BGCOLOR="white" CLASS="TableRowColor"> 286<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 287<CODE> <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonParser.NumberType.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.NumberType</A></CODE></FONT></TD> 288<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#numberType()">numberType</A></B>()</CODE> 289 290<BR> 291 Returns code that identifies type of underlying numeric 292 value, if (and only if) node is a number node.</TD> 293</TR> 294<TR BGCOLOR="white" CLASS="TableRowColor"> 295<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 296<CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A></CODE></FONT></TD> 297<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#numberValue()">numberValue</A></B>()</CODE> 298 299<BR> 300 Returns numeric value for this node, <b>if and only if</b> 301 this node is numeric (<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>JsonNode.isNumber()</CODE></A> returns true); otherwise 302 returns null</TD> 303</TR> 304<TR BGCOLOR="white" CLASS="TableRowColor"> 305<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 306<CODE> void</CODE></FONT></TD> 307<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</A></B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jg, 308 <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A> provider)</CODE> 309 310<BR> 311 Method called to serialize node instances using given generator.</TD> 312</TR> 313<TR BGCOLOR="white" CLASS="TableRowColor"> 314<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 315<CODE>static <A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html" title="class in com.fasterxml.jackson.databind.node">IntNode</A></CODE></FONT></TD> 316<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#valueOf(int)">valueOf</A></B>(int i)</CODE> 317 318<BR> 319 </TD> 320</TR> 321</TABLE> 322 <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.node.NumericNode"><!-- --></A> 323<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 324<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 325<TH ALIGN="left"><B>Methods inherited from class com.fasterxml.jackson.databind.node.<A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></B></TH> 326</TR> 327<TR BGCOLOR="white" CLASS="TableRowColor"> 328<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asDouble()">asDouble</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asDouble(double)">asDouble</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asInt()">asInt</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asInt(int)">asInt</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asLong()">asLong</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asLong(long)">asLong</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#isNumber()">isNumber</A></CODE></TD> 329</TR> 330</TABLE> 331 <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.node.ValueNode"><!-- --></A> 332<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 333<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 334<TH ALIGN="left"><B>Methods inherited from class com.fasterxml.jackson.databind.node.<A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</A></B></TH> 335</TR> 336<TR BGCOLOR="white" CLASS="TableRowColor"> 337<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#deepCopy()">deepCopy</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#isValueNode()">isValueNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#path(int)">path</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#path(java.lang.String)">path</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">serializeWithType</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#toString()">toString</A></CODE></TD> 338</TR> 339</TABLE> 340 <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.node.BaseJsonNode"><!-- --></A> 341<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 342<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 343<TH ALIGN="left"><B>Methods inherited from class com.fasterxml.jackson.databind.node.<A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</A></B></TH> 344</TR> 345<TR BGCOLOR="white" CLASS="TableRowColor"> 346<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findParent(java.lang.String)">findParent</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findParents(java.lang.String, java.util.List)">findParents</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findPath(java.lang.String)">findPath</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findValue(java.lang.String)">findValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findValues(java.lang.String, java.util.List)">findValues</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse()">traverse</A></CODE></TD> 347</TR> 348</TABLE> 349 <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"><!-- --></A> 350<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 351<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 352<TH ALIGN="left"><B>Methods inherited from class com.fasterxml.jackson.databind.<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></B></TH> 353</TR> 354<TR BGCOLOR="white" CLASS="TableRowColor"> 355<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean()">asBoolean</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#binaryValue()">binaryValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#booleanValue()">booleanValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#elements()">elements</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fieldNames()">fieldNames</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fields()">fields</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParents(java.lang.String)">findParents</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues(java.lang.String)">findValues</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValuesAsText(java.lang.String)">findValuesAsText</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)">get</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)">get</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(int)">has</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(java.lang.String)">has</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull(int)">hasNonNull</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull(java.lang.String)">hasNonNull</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isArray()">isArray</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigDecimal()">isBigDecimal</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigInteger()">isBigInteger</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBinary()">isBinary</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBoolean()">isBoolean</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isContainerNode()">isContainerNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isDouble()">isDouble</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isFloatingPointNumber()">isFloatingPointNumber</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isLong()">isLong</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()">isMissingNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNull()">isNull</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isObject()">isObject</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isPojo()">isPojo</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isTextual()">isTextual</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#iterator()">iterator</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#size()">size</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#textValue()">textValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#with(java.lang.String)">with</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#withArray(java.lang.String)">withArray</A></CODE></TD> 356</TR> 357</TABLE> 358 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 359<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 360<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 361<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> 362</TR> 363<TR BGCOLOR="white" CLASS="TableRowColor"> 364<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#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#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> 365</TR> 366</TABLE> 367 368<P> 369 370<!-- ========= CONSTRUCTOR DETAIL ======== --> 371 372<A NAME="constructor_detail"><!-- --></A> 373<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 374<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 375<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 376<B>Constructor Detail</B></FONT></TH> 377</TR> 378</TABLE> 379 380<A NAME="IntNode(int)"><!-- --></A><H3> 381IntNode</H3> 382<PRE> 383public <B>IntNode</B>(int v)</PRE> 384<DL> 385</DL> 386 387<!-- ============ METHOD DETAIL ========== --> 388 389<A NAME="method_detail"><!-- --></A> 390<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 391<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 392<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 393<B>Method Detail</B></FONT></TH> 394</TR> 395</TABLE> 396 397<A NAME="valueOf(int)"><!-- --></A><H3> 398valueOf</H3> 399<PRE> 400public static <A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html" title="class in com.fasterxml.jackson.databind.node">IntNode</A> <B>valueOf</B>(int i)</PRE> 401<DL> 402<DD><DL> 403</DL> 404</DD> 405</DL> 406<HR> 407 408<A NAME="asToken()"><!-- --></A><H3> 409asToken</H3> 410<PRE> 411public <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</A> <B>asToken</B>()</PRE> 412<DL> 413<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">BaseJsonNode</A></CODE></B></DD> 414<DD>Method that can be used for efficient type detection 415 when using stream abstraction for traversing nodes. 416 Will return the first <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><CODE>JsonToken</CODE></A> that equivalent 417 stream event would produce (for most nodes there is just 418 one token but for structured/container types multiple) 419<P> 420<DD><DL> 421<DT><B>Specified by:</B><DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true#asToken()" title="class or interface in com.fasterxml.jackson.core">asToken</A></CODE> in interface <CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#asToken()">asToken</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</A></CODE></DL> 422</DD> 423<DD><DL> 424</DL> 425</DD> 426</DL> 427<HR> 428 429<A NAME="numberType()"><!-- --></A><H3> 430numberType</H3> 431<PRE> 432public <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonParser.NumberType.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.NumberType</A> <B>numberType</B>()</PRE> 433<DL> 434<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#numberType()">BaseJsonNode</A></CODE></B></DD> 435<DD>Returns code that identifies type of underlying numeric 436 value, if (and only if) node is a number node. 437<P> 438<DD><DL> 439<DT><B>Specified by:</B><DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true#numberType()" title="class or interface in com.fasterxml.jackson.core">numberType</A></CODE> in interface <CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#numberType()">numberType</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></CODE></DL> 440</DD> 441<DD><DL> 442 443<DT><B>Returns:</B><DD>Type of number contained, if any; or null if node does not 444 contain numeric value.</DL> 445</DD> 446</DL> 447<HR> 448 449<A NAME="isIntegralNumber()"><!-- --></A><H3> 450isIntegralNumber</H3> 451<PRE> 452public boolean <B>isIntegralNumber</B>()</PRE> 453<DL> 454<DD><DL> 455<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isIntegralNumber()">isIntegralNumber</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> 456</DD> 457<DD><DL> 458 459<DT><B>Returns:</B><DD>True if this node represents an integral (integer) 460 numeric JSON value</DL> 461</DD> 462</DL> 463<HR> 464 465<A NAME="isInt()"><!-- --></A><H3> 466isInt</H3> 467<PRE> 468public boolean <B>isInt</B>()</PRE> 469<DL> 470<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isInt()">JsonNode</A></CODE></B></DD> 471<DD>Method that can be used to check whether contained value 472 is a number represented as Java <code>int</code>. 473 Note, however, that even if this method returns false, it 474 is possible that conversion would be possible from other numeric 475 types -- to check if this is possible, use 476 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt()"><CODE>JsonNode.canConvertToInt()</CODE></A> instead. 477<P> 478<DD><DL> 479<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isInt()">isInt</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> 480</DD> 481<DD><DL> 482 483<DT><B>Returns:</B><DD>True if the value contained by this node is stored as Java int</DL> 484</DD> 485</DL> 486<HR> 487 488<A NAME="canConvertToInt()"><!-- --></A><H3> 489canConvertToInt</H3> 490<PRE> 491public boolean <B>canConvertToInt</B>()</PRE> 492<DL> 493<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt()">JsonNode</A></CODE></B></DD> 494<DD>Method that can be used to check whether this node is a numeric 495 node (<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>JsonNode.isNumber()</CODE></A> would return true) AND its value fits 496 within Java's 32-bit signed integer type, <code>int</code>. 497 Note that floating-point numbers are convertible if the integral 498 part fits without overflow (as per standard Java coercion rules) 499<P> 500<DD><DL> 501<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#canConvertToInt()">canConvertToInt</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></CODE></DL> 502</DD> 503<DD><DL> 504</DL> 505</DD> 506</DL> 507<HR> 508 509<A NAME="canConvertToLong()"><!-- --></A><H3> 510canConvertToLong</H3> 511<PRE> 512public boolean <B>canConvertToLong</B>()</PRE> 513<DL> 514<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToLong()">JsonNode</A></CODE></B></DD> 515<DD>Method that can be used to check whether this node is a numeric 516 node (<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>JsonNode.isNumber()</CODE></A> would return true) AND its value fits 517 within Java's 64-bit signed integer type, <code>long</code>. 518 Note that floating-point numbers are convertible if the integral 519 part fits without overflow (as per standard Java coercion rules) 520<P> 521<DD><DL> 522<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#canConvertToLong()">canConvertToLong</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></CODE></DL> 523</DD> 524<DD><DL> 525</DL> 526</DD> 527</DL> 528<HR> 529 530<A NAME="numberValue()"><!-- --></A><H3> 531numberValue</H3> 532<PRE> 533public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A> <B>numberValue</B>()</PRE> 534<DL> 535<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#numberValue()">JsonNode</A></CODE></B></DD> 536<DD>Returns numeric value for this node, <b>if and only if</b> 537 this node is numeric (<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>JsonNode.isNumber()</CODE></A> returns true); otherwise 538 returns null 539<P> 540<DD><DL> 541<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#numberValue()">numberValue</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></CODE></DL> 542</DD> 543<DD><DL> 544 545<DT><B>Returns:</B><DD>Number value this node contains, if any (null for non-number 546 nodes).</DL> 547</DD> 548</DL> 549<HR> 550 551<A NAME="intValue()"><!-- --></A><H3> 552intValue</H3> 553<PRE> 554public int <B>intValue</B>()</PRE> 555<DL> 556<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#intValue()">JsonNode</A></CODE></B></DD> 557<DD>Returns integer value for this node, <b>if and only if</b> 558 this node is numeric (<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>JsonNode.isNumber()</CODE></A> returns true). For other 559 types returns 0. 560 For floating-point numbers, value is truncated using default 561 Java coercion, similar to how cast from double to int operates. 562<P> 563<DD><DL> 564<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#intValue()">intValue</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></CODE></DL> 565</DD> 566<DD><DL> 567 568<DT><B>Returns:</B><DD>Integer value this node contains, if any; 0 for non-number 569 nodes.</DL> 570</DD> 571</DL> 572<HR> 573 574<A NAME="longValue()"><!-- --></A><H3> 575longValue</H3> 576<PRE> 577public long <B>longValue</B>()</PRE> 578<DL> 579<DD><DL> 580<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#longValue()">longValue</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></CODE></DL> 581</DD> 582<DD><DL> 583</DL> 584</DD> 585</DL> 586<HR> 587 588<A NAME="doubleValue()"><!-- --></A><H3> 589doubleValue</H3> 590<PRE> 591public double <B>doubleValue</B>()</PRE> 592<DL> 593<DD><DL> 594<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#doubleValue()">doubleValue</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></CODE></DL> 595</DD> 596<DD><DL> 597</DL> 598</DD> 599</DL> 600<HR> 601 602<A NAME="decimalValue()"><!-- --></A><H3> 603decimalValue</H3> 604<PRE> 605public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> <B>decimalValue</B>()</PRE> 606<DL> 607<DD><DL> 608<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#decimalValue()">decimalValue</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></CODE></DL> 609</DD> 610<DD><DL> 611</DL> 612</DD> 613</DL> 614<HR> 615 616<A NAME="bigIntegerValue()"><!-- --></A><H3> 617bigIntegerValue</H3> 618<PRE> 619public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A> <B>bigIntegerValue</B>()</PRE> 620<DL> 621<DD><DL> 622<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#bigIntegerValue()">bigIntegerValue</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></CODE></DL> 623</DD> 624<DD><DL> 625</DL> 626</DD> 627</DL> 628<HR> 629 630<A NAME="asText()"><!-- --></A><H3> 631asText</H3> 632<PRE> 633public <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> <B>asText</B>()</PRE> 634<DL> 635<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText()">JsonNode</A></CODE></B></DD> 636<DD>Method that will return a valid String representation of 637 the container value, if the node is a value node 638 (method <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><CODE>JsonNode.isValueNode()</CODE></A> returns true), 639 otherwise empty String. 640<P> 641<DD><DL> 642<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asText()">asText</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></CODE></DL> 643</DD> 644<DD><DL> 645</DL> 646</DD> 647</DL> 648<HR> 649 650<A NAME="asBoolean(boolean)"><!-- --></A><H3> 651asBoolean</H3> 652<PRE> 653public boolean <B>asBoolean</B>(boolean defaultValue)</PRE> 654<DL> 655<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean(boolean)">JsonNode</A></CODE></B></DD> 656<DD>Method that will try to convert value of this node to a Java <b>boolean</b>. 657 JSON booleans map naturally; integer numbers other than 0 map to true, and 658 0 maps to false 659 and Strings 'true' and 'false' map to corresponding values. 660<p> 661 If representation can not be converted to a boolean value (including structured types 662 like Objects and Arrays), 663 specified <b>defaultValue</b> will be returned; no exceptions are thrown. 664<P> 665<DD><DL> 666<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean(boolean)">asBoolean</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> 667</DD> 668<DD><DL> 669</DL> 670</DD> 671</DL> 672<HR> 673 674<A NAME="serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)"><!-- --></A><H3> 675serialize</H3> 676<PRE> 677public final void <B>serialize</B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jg, 678 <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A> provider) 679 throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, 680 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></PRE> 681<DL> 682<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">BaseJsonNode</A></CODE></B></DD> 683<DD>Method called to serialize node instances using given generator. 684<P> 685<DD><DL> 686<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</A></CODE> in interface <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</A></CODE></DL> 687</DD> 688<DD><DL> 689 690<DT><B>Throws:</B> 691<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> 692<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></CODE></DL> 693</DD> 694</DL> 695<HR> 696 697<A NAME="equals(java.lang.Object)"><!-- --></A><H3> 698equals</H3> 699<PRE> 700public boolean <B>equals</B>(<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> o)</PRE> 701<DL> 702<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">JsonNode</A></CODE></B></DD> 703<DD>Equality for node objects is defined as full (deep) value 704 equality. This means that it is possible to compare complete 705 JSON trees for equality by comparing equality of root nodes. 706<p> 707 Note: marked as abstract to ensure all implementation 708 classes define it properly and not rely on definition 709 from <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><CODE>Object</CODE></A>. 710<P> 711<DD><DL> 712<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> 713</DD> 714<DD><DL> 715</DL> 716</DD> 717</DL> 718<HR> 719 720<A NAME="hashCode()"><!-- --></A><H3> 721hashCode</H3> 722<PRE> 723public int <B>hashCode</B>()</PRE> 724<DL> 725<DD><DL> 726<DT><B>Overrides:</B><DD><CODE><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></CODE> in class <CODE><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></CODE></DL> 727</DD> 728<DD><DL> 729</DL> 730</DD> 731</DL> 732<!-- ========= END OF CLASS DATA ========= --> 733<HR> 734 735 736<!-- ======= START OF BOTTOM NAVBAR ====== --> 737<A NAME="navbar_bottom"><!-- --></A> 738<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 739<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 740<TR> 741<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 742<A NAME="navbar_bottom_firstrow"><!-- --></A> 743<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 744 <TR ALIGN="center" VALIGN="top"> 745 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 746 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 747 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 748 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/IntNode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 749 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 750 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 751 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 752 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 753 </TR> 754</TABLE> 755</TD> 756<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 757</EM> 758</TD> 759</TR> 760 761<TR> 762<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 763 <A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html" title="class in com.fasterxml.jackson.databind.node"><B>PREV CLASS</B></A> 764 <A HREF="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node"><B>NEXT CLASS</B></A></FONT></TD> 765<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 766 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/node/IntNode.html" target="_top"><B>FRAMES</B></A> 767 <A HREF="IntNode.html" target="_top"><B>NO FRAMES</B></A> 768 <SCRIPT type="text/javascript"> 769 <!-- 770 if(window==top) { 771 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 772 } 773 //--> 774</SCRIPT> 775<NOSCRIPT> 776 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 777</NOSCRIPT> 778 779 780</FONT></TD> 781</TR> 782<TR> 783<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 784 SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_com.fasterxml.jackson.databind.JsonNode">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 785<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 786DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 787</TR> 788</TABLE> 789<A NAME="skip-navbar_bottom"></A> 790<!-- ======== END OF BOTTOM NAVBAR ======= --> 791 792<HR> 793Copyright © 2012 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved. 794</BODY> 795</HTML> 796