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