1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (version 1.7.0_10-ea) on Mon Apr 22 19:50:40 PDT 2013 -->
6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
7<title>IntNode (jackson-databind 2.2.0 API)</title>
8<meta name="date" content="2013-04-22">
9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
10</head>
11<body>
12<script type="text/javascript"><!--
13    if (location.href.indexOf('is-external=true') == -1) {
14        parent.document.title="IntNode (jackson-databind 2.2.0 API)";
15    }
16//-->
17</script>
18<noscript>
19<div>JavaScript is disabled on your browser.</div>
20</noscript>
21<!-- ========= START OF TOP NAVBAR ======= -->
22<div class="topNav"><a name="navbar_top">
23<!--   -->
24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
25<!--   -->
26</a>
27<ul class="navList" title="Navigation">
28<li><a href="../../../../../overview-summary.html">Overview</a></li>
29<li><a href="package-summary.html">Package</a></li>
30<li class="navBarCell1Rev">Class</li>
31<li><a href="class-use/IntNode.html">Use</a></li>
32<li><a href="package-tree.html">Tree</a></li>
33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
34<li><a href="../../../../../index-all.html">Index</a></li>
35<li><a href="../../../../../help-doc.html">Help</a></li>
36</ul>
37</div>
38<div class="subNav">
39<ul class="navList">
40<li><a href="../../../../../com/fasterxml/jackson/databind/node/FloatNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Prev Class</span></a></li>
41<li><a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Next Class</span></a></li>
42</ul>
43<ul class="navList">
44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/IntNode.html" target="_top">Frames</a></li>
45<li><a href="IntNode.html" target="_top">No Frames</a></li>
46</ul>
47<ul class="navList" id="allclasses_navbar_top">
48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
49</ul>
50<div>
51<script type="text/javascript"><!--
52  allClassesLink = document.getElementById("allclasses_navbar_top");
53  if(window==top) {
54    allClassesLink.style.display = "block";
55  }
56  else {
57    allClassesLink.style.display = "none";
58  }
59  //-->
60</script>
61</div>
62<div>
63<ul class="subNavList">
64<li>Summary:&nbsp;</li>
65<li>Nested&nbsp;|&nbsp;</li>
66<li>Field&nbsp;|&nbsp;</li>
67<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
68<li><a href="#method_summary">Method</a></li>
69</ul>
70<ul class="subNavList">
71<li>Detail:&nbsp;</li>
72<li>Field&nbsp;|&nbsp;</li>
73<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
74<li><a href="#method_detail">Method</a></li>
75</ul>
76</div>
77<a name="skip-navbar_top">
78<!--   -->
79</a></div>
80<!-- ========= END OF TOP NAVBAR ========= -->
81<!-- ======== START OF CLASS DATA ======== -->
82<div class="header">
83<div class="subTitle">com.fasterxml.jackson.databind.node</div>
84<h2 title="Class IntNode" class="title">Class IntNode</h2>
85</div>
86<div class="contentContainer">
87<ul class="inheritance">
88<li><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></li>
89<li>
90<ul class="inheritance">
91<li><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonNode</a></li>
92<li>
93<ul class="inheritance">
94<li><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.BaseJsonNode</a></li>
95<li>
96<ul class="inheritance">
97<li><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.ValueNode</a></li>
98<li>
99<ul class="inheritance">
100<li><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.NumericNode</a></li>
101<li>
102<ul class="inheritance">
103<li>com.fasterxml.jackson.databind.node.IntNode</li>
104</ul>
105</li>
106</ul>
107</li>
108</ul>
109</li>
110</ul>
111</li>
112</ul>
113</li>
114</ul>
115<div class="description">
116<ul class="blockList">
117<li class="blockList">
118<dl>
119<dt>All Implemented Interfaces:</dt>
120<dd><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/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>&lt;<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;</dd>
121</dl>
122<hr>
123<br>
124<pre>public final class <span class="strong">IntNode</span>
125extends <a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></pre>
126<div class="block">Numeric node that contains simple 32-bit integer values.</div>
127</li>
128</ul>
129</div>
130<div class="summary">
131<ul class="blockList">
132<li class="blockList">
133<!-- ======== CONSTRUCTOR SUMMARY ======== -->
134<ul class="blockList">
135<li class="blockList"><a name="constructor_summary">
136<!--   -->
137</a>
138<h3>Constructor Summary</h3>
139<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
140<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
141<tr>
142<th class="colOne" scope="col">Constructor and Description</th>
143</tr>
144<tr class="altColor">
145<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#IntNode(int)">IntNode</a></strong>(int&nbsp;v)</code>&nbsp;</td>
146</tr>
147</table>
148</li>
149</ul>
150<!-- ========== METHOD SUMMARY =========== -->
151<ul class="blockList">
152<li class="blockList"><a name="method_summary">
153<!--   -->
154</a>
155<h3>Method Summary</h3>
156<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
157<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
158<tr>
159<th class="colFirst" scope="col">Modifier and Type</th>
160<th class="colLast" scope="col">Method and Description</th>
161</tr>
162<tr class="altColor">
163<td class="colFirst"><code>boolean</code></td>
164<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#asBoolean(boolean)">asBoolean</a></strong>(boolean&nbsp;defaultValue)</code>
165<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.</div>
166</td>
167</tr>
168<tr class="rowColor">
169<td class="colFirst"><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></td>
170<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#asText()">asText</a></strong>()</code>
171<div class="block">Method that will return a valid String representation of
172 the container value, if the node is a value node
173 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><code>JsonNode.isValueNode()</code></a> returns true),
174 otherwise empty String.</div>
175</td>
176</tr>
177<tr class="altColor">
178<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a></code></td>
179<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#asToken()">asToken</a></strong>()</code>
180<div class="block">Method that can be used for efficient type detection
181 when using stream abstraction for traversing nodes.</div>
182</td>
183</tr>
184<tr class="rowColor">
185<td class="colFirst"><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></td>
186<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#bigIntegerValue()">bigIntegerValue</a></strong>()</code>&nbsp;</td>
187</tr>
188<tr class="altColor">
189<td class="colFirst"><code>boolean</code></td>
190<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#canConvertToInt()">canConvertToInt</a></strong>()</code>
191<div class="block">Method that can be used to check whether this node is a numeric
192 node (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> would return true) AND its value fits
193 within Java's 32-bit signed integer type, <code>int</code>.</div>
194</td>
195</tr>
196<tr class="rowColor">
197<td class="colFirst"><code>boolean</code></td>
198<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#canConvertToLong()">canConvertToLong</a></strong>()</code>
199<div class="block">Method that can be used to check whether this node is a numeric
200 node (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> would return true) AND its value fits
201 within Java's 64-bit signed integer type, <code>long</code>.</div>
202</td>
203</tr>
204<tr class="altColor">
205<td class="colFirst"><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></td>
206<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#decimalValue()">decimalValue</a></strong>()</code>&nbsp;</td>
207</tr>
208<tr class="rowColor">
209<td class="colFirst"><code>double</code></td>
210<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#doubleValue()">doubleValue</a></strong>()</code>
211<div class="block">Returns 64-bit floating point (double) value for this node, <b>if and only if</b>
212 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true).</div>
213</td>
214</tr>
215<tr class="altColor">
216<td class="colFirst"><code>boolean</code></td>
217<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#equals(java.lang.Object)">equals</a></strong>(<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>
218<div class="block">Equality for node objects is defined as full (deep) value
219 equality.</div>
220</td>
221</tr>
222<tr class="rowColor">
223<td class="colFirst"><code>float</code></td>
224<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#floatValue()">floatValue</a></strong>()</code>
225<div class="block">Returns 32-bit floating value for this node, <b>if and only if</b>
226 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true).</div>
227</td>
228</tr>
229<tr class="altColor">
230<td class="colFirst"><code>int</code></td>
231<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#hashCode()">hashCode</a></strong>()</code>&nbsp;</td>
232</tr>
233<tr class="rowColor">
234<td class="colFirst"><code>int</code></td>
235<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#intValue()">intValue</a></strong>()</code>
236<div class="block">Returns integer value for this node, <b>if and only if</b>
237 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true).</div>
238</td>
239</tr>
240<tr class="altColor">
241<td class="colFirst"><code>boolean</code></td>
242<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#isInt()">isInt</a></strong>()</code>
243<div class="block">Method that can be used to check whether contained value
244 is a number represented as Java <code>int</code>.</div>
245</td>
246</tr>
247<tr class="rowColor">
248<td class="colFirst"><code>boolean</code></td>
249<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#isIntegralNumber()">isIntegralNumber</a></strong>()</code>&nbsp;</td>
250</tr>
251<tr class="altColor">
252<td class="colFirst"><code>long</code></td>
253<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#longValue()">longValue</a></strong>()</code>
254<div class="block">Returns 64-bit long value for this node, <b>if and only if</b>
255 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true).</div>
256</td>
257</tr>
258<tr class="rowColor">
259<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonParser.NumberType.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.NumberType</a></code></td>
260<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#numberType()">numberType</a></strong>()</code>
261<div class="block">Returns code that identifies type of underlying numeric
262 value, if (and only if) node is a number node.</div>
263</td>
264</tr>
265<tr class="altColor">
266<td class="colFirst"><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></td>
267<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#numberValue()">numberValue</a></strong>()</code>
268<div class="block">Returns numeric value for this node, <b>if and only if</b>
269 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true); otherwise
270 returns null</div>
271</td>
272</tr>
273<tr class="rowColor">
274<td class="colFirst"><code>void</code></td>
275<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jg,
276         <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)</code>
277<div class="block">Method called to serialize node instances using given generator.</div>
278</td>
279</tr>
280<tr class="altColor">
281<td class="colFirst"><code>short</code></td>
282<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#shortValue()">shortValue</a></strong>()</code>
283<div class="block">Returns 16-bit short value for this node, <b>if and only if</b>
284 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true).</div>
285</td>
286</tr>
287<tr class="rowColor">
288<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html" title="class in com.fasterxml.jackson.databind.node">IntNode</a></code></td>
289<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#valueOf(int)">valueOf</a></strong>(int&nbsp;i)</code>&nbsp;</td>
290</tr>
291</table>
292<ul class="blockList">
293<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.NumericNode">
294<!--   -->
295</a>
296<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.node.<a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></h3>
297<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#getNodeType()">getNodeType</a></code></li>
298</ul>
299<ul class="blockList">
300<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.ValueNode">
301<!--   -->
302</a>
303<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.node.<a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></h3>
304<code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#deepCopy()">deepCopy</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findParent(java.lang.String)">findParent</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findParents(java.lang.String, java.util.List)">findParents</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findValue(java.lang.String)">findValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findValues(java.lang.String, java.util.List)">findValues</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#get(int)">get</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#get(java.lang.String)">get</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#has(int)">has</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#has(java.lang.String)">has</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#hasNonNull(int)">hasNonNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#hasNonNull(java.lang.String)">hasNonNull</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></li>
305</ul>
306<ul class="blockList">
307<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.BaseJsonNode">
308<!--   -->
309</a>
310<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.node.<a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></h3>
311<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findPath(java.lang.String)">findPath</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse()">traverse</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse(com.fasterxml.jackson.core.ObjectCodec)">traverse</a></code></li>
312</ul>
313<ul class="blockList">
314<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode">
315<!--   -->
316</a>
317<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></h3>
318<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#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#isFloat()">isFloat</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#isNumber()">isNumber</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#isShort()">isShort</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isTextual()">isTextual</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()">isValueNode</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></li>
319</ul>
320<ul class="blockList">
321<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
322<!--   -->
323</a>
324<h3>Methods inherited from class&nbsp;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></h3>
325<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></li>
326</ul>
327</li>
328</ul>
329</li>
330</ul>
331</div>
332<div class="details">
333<ul class="blockList">
334<li class="blockList">
335<!-- ========= CONSTRUCTOR DETAIL ======== -->
336<ul class="blockList">
337<li class="blockList"><a name="constructor_detail">
338<!--   -->
339</a>
340<h3>Constructor Detail</h3>
341<a name="IntNode(int)">
342<!--   -->
343</a>
344<ul class="blockListLast">
345<li class="blockList">
346<h4>IntNode</h4>
347<pre>public&nbsp;IntNode(int&nbsp;v)</pre>
348</li>
349</ul>
350</li>
351</ul>
352<!-- ============ METHOD DETAIL ========== -->
353<ul class="blockList">
354<li class="blockList"><a name="method_detail">
355<!--   -->
356</a>
357<h3>Method Detail</h3>
358<a name="valueOf(int)">
359<!--   -->
360</a>
361<ul class="blockList">
362<li class="blockList">
363<h4>valueOf</h4>
364<pre>public static&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html" title="class in com.fasterxml.jackson.databind.node">IntNode</a>&nbsp;valueOf(int&nbsp;i)</pre>
365</li>
366</ul>
367<a name="asToken()">
368<!--   -->
369</a>
370<ul class="blockList">
371<li class="blockList">
372<h4>asToken</h4>
373<pre>public&nbsp;<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a>&nbsp;asToken()</pre>
374<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">BaseJsonNode</a></code></strong></div>
375<div class="block">Method that can be used for efficient type detection
376 when using stream abstraction for traversing nodes.
377 Will return the first <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonToken</code></a> that equivalent
378 stream event would produce (for most nodes there is just
379 one token but for structured/container types multiple)</div>
380<dl>
381<dt><strong>Specified by:</strong></dt>
382<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true#asToken()" title="class or interface in com.fasterxml.jackson.core">asToken</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
383<dt><strong>Specified by:</strong></dt>
384<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#asToken()">asToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></code></dd>
385</dl>
386</li>
387</ul>
388<a name="numberType()">
389<!--   -->
390</a>
391<ul class="blockList">
392<li class="blockList">
393<h4>numberType</h4>
394<pre>public&nbsp;<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonParser.NumberType.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.NumberType</a>&nbsp;numberType()</pre>
395<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#numberType()">BaseJsonNode</a></code></strong></div>
396<div class="block">Returns code that identifies type of underlying numeric
397 value, if (and only if) node is a number node.</div>
398<dl>
399<dt><strong>Specified by:</strong></dt>
400<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true#numberType()" title="class or interface in com.fasterxml.jackson.core">numberType</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
401<dt><strong>Specified by:</strong></dt>
402<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#numberType()">numberType</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
403</dl>
404</li>
405</ul>
406<a name="isIntegralNumber()">
407<!--   -->
408</a>
409<ul class="blockList">
410<li class="blockList">
411<h4>isIntegralNumber</h4>
412<pre>public&nbsp;boolean&nbsp;isIntegralNumber()</pre>
413<dl>
414<dt><strong>Overrides:</strong></dt>
415<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isIntegralNumber()">isIntegralNumber</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
416<dt><span class="strong">Returns:</span></dt><dd>True if this node represents an integral (integer)
417   numeric JSON value</dd></dl>
418</li>
419</ul>
420<a name="isInt()">
421<!--   -->
422</a>
423<ul class="blockList">
424<li class="blockList">
425<h4>isInt</h4>
426<pre>public&nbsp;boolean&nbsp;isInt()</pre>
427<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isInt()">JsonNode</a></code></strong></div>
428<div class="block">Method that can be used to check whether contained value
429 is a number represented as Java <code>int</code>.
430 Note, however, that even if this method returns false, it
431 is possible that conversion would be possible from other numeric
432 types -- to check if this is possible, use
433 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt()"><code>JsonNode.canConvertToInt()</code></a> instead.</div>
434<dl>
435<dt><strong>Overrides:</strong></dt>
436<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isInt()">isInt</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
437<dt><span class="strong">Returns:</span></dt><dd>True if the value contained by this node is stored as Java int</dd></dl>
438</li>
439</ul>
440<a name="canConvertToInt()">
441<!--   -->
442</a>
443<ul class="blockList">
444<li class="blockList">
445<h4>canConvertToInt</h4>
446<pre>public&nbsp;boolean&nbsp;canConvertToInt()</pre>
447<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt()">JsonNode</a></code></strong></div>
448<div class="block">Method that can be used to check whether this node is a numeric
449 node (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> would return true) AND its value fits
450 within Java's 32-bit signed integer type, <code>int</code>.
451 Note that floating-point numbers are convertible if the integral
452 part fits without overflow (as per standard Java coercion rules)</div>
453<dl>
454<dt><strong>Specified by:</strong></dt>
455<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#canConvertToInt()">canConvertToInt</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
456</dl>
457</li>
458</ul>
459<a name="canConvertToLong()">
460<!--   -->
461</a>
462<ul class="blockList">
463<li class="blockList">
464<h4>canConvertToLong</h4>
465<pre>public&nbsp;boolean&nbsp;canConvertToLong()</pre>
466<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToLong()">JsonNode</a></code></strong></div>
467<div class="block">Method that can be used to check whether this node is a numeric
468 node (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> would return true) AND its value fits
469 within Java's 64-bit signed integer type, <code>long</code>.
470 Note that floating-point numbers are convertible if the integral
471 part fits without overflow (as per standard Java coercion rules)</div>
472<dl>
473<dt><strong>Specified by:</strong></dt>
474<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#canConvertToLong()">canConvertToLong</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
475</dl>
476</li>
477</ul>
478<a name="numberValue()">
479<!--   -->
480</a>
481<ul class="blockList">
482<li class="blockList">
483<h4>numberValue</h4>
484<pre>public&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>&nbsp;numberValue()</pre>
485<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#numberValue()">JsonNode</a></code></strong></div>
486<div class="block">Returns numeric value for this node, <b>if and only if</b>
487 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true); otherwise
488 returns null</div>
489<dl>
490<dt><strong>Specified by:</strong></dt>
491<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#numberValue()">numberValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
492<dt><span class="strong">Returns:</span></dt><dd>Number value this node contains, if any (null for non-number
493   nodes).</dd></dl>
494</li>
495</ul>
496<a name="shortValue()">
497<!--   -->
498</a>
499<ul class="blockList">
500<li class="blockList">
501<h4>shortValue</h4>
502<pre>public&nbsp;short&nbsp;shortValue()</pre>
503<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#shortValue()">JsonNode</a></code></strong></div>
504<div class="block">Returns 16-bit short value for this node, <b>if and only if</b>
505 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true). For other
506 types returns 0.
507 For floating-point numbers, value is truncated using default
508 Java coercion, similar to how cast from double to short operates.</div>
509<dl>
510<dt><strong>Overrides:</strong></dt>
511<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#shortValue()">shortValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
512<dt><span class="strong">Returns:</span></dt><dd>Short value this node contains, if any; 0 for non-number
513   nodes.</dd></dl>
514</li>
515</ul>
516<a name="intValue()">
517<!--   -->
518</a>
519<ul class="blockList">
520<li class="blockList">
521<h4>intValue</h4>
522<pre>public&nbsp;int&nbsp;intValue()</pre>
523<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#intValue()">JsonNode</a></code></strong></div>
524<div class="block">Returns integer value for this node, <b>if and only if</b>
525 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true). For other
526 types returns 0.
527 For floating-point numbers, value is truncated using default
528 Java coercion, similar to how cast from double to int operates.</div>
529<dl>
530<dt><strong>Specified by:</strong></dt>
531<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#intValue()">intValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
532<dt><span class="strong">Returns:</span></dt><dd>Integer value this node contains, if any; 0 for non-number
533   nodes.</dd></dl>
534</li>
535</ul>
536<a name="longValue()">
537<!--   -->
538</a>
539<ul class="blockList">
540<li class="blockList">
541<h4>longValue</h4>
542<pre>public&nbsp;long&nbsp;longValue()</pre>
543<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#longValue()">JsonNode</a></code></strong></div>
544<div class="block">Returns 64-bit long value for this node, <b>if and only if</b>
545 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true). For other
546 types returns 0.
547 For floating-point numbers, value is truncated using default
548 Java coercion, similar to how cast from double to long operates.</div>
549<dl>
550<dt><strong>Specified by:</strong></dt>
551<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#longValue()">longValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
552<dt><span class="strong">Returns:</span></dt><dd>Long value this node contains, if any; 0 for non-number
553   nodes.</dd></dl>
554</li>
555</ul>
556<a name="floatValue()">
557<!--   -->
558</a>
559<ul class="blockList">
560<li class="blockList">
561<h4>floatValue</h4>
562<pre>public&nbsp;float&nbsp;floatValue()</pre>
563<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#floatValue()">JsonNode</a></code></strong></div>
564<div class="block">Returns 32-bit floating value for this node, <b>if and only if</b>
565 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true). For other
566 types returns 0.0.
567 For integer values, conversion is done using coercion; this means
568 that an overflow is possible for `long` values</div>
569<dl>
570<dt><strong>Overrides:</strong></dt>
571<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#floatValue()">floatValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
572<dt><span class="strong">Returns:</span></dt><dd>32-bit float value this node contains, if any; 0.0 for non-number nodes.</dd></dl>
573</li>
574</ul>
575<a name="doubleValue()">
576<!--   -->
577</a>
578<ul class="blockList">
579<li class="blockList">
580<h4>doubleValue</h4>
581<pre>public&nbsp;double&nbsp;doubleValue()</pre>
582<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#doubleValue()">JsonNode</a></code></strong></div>
583<div class="block">Returns 64-bit floating point (double) value for this node, <b>if and only if</b>
584 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true). For other
585 types returns 0.0.
586 For integer values, conversion is done using coercion; this may result
587 in overflows with <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><code>BigInteger</code></a> values.</div>
588<dl>
589<dt><strong>Specified by:</strong></dt>
590<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#doubleValue()">doubleValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
591<dt><span class="strong">Returns:</span></dt><dd>64-bit double value this node contains, if any; 0.0 for non-number nodes.</dd></dl>
592</li>
593</ul>
594<a name="decimalValue()">
595<!--   -->
596</a>
597<ul class="blockList">
598<li class="blockList">
599<h4>decimalValue</h4>
600<pre>public&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>&nbsp;decimalValue()</pre>
601<dl>
602<dt><strong>Specified by:</strong></dt>
603<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#decimalValue()">decimalValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
604</dl>
605</li>
606</ul>
607<a name="bigIntegerValue()">
608<!--   -->
609</a>
610<ul class="blockList">
611<li class="blockList">
612<h4>bigIntegerValue</h4>
613<pre>public&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>&nbsp;bigIntegerValue()</pre>
614<dl>
615<dt><strong>Specified by:</strong></dt>
616<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#bigIntegerValue()">bigIntegerValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
617</dl>
618</li>
619</ul>
620<a name="asText()">
621<!--   -->
622</a>
623<ul class="blockList">
624<li class="blockList">
625<h4>asText</h4>
626<pre>public&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>&nbsp;asText()</pre>
627<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText()">JsonNode</a></code></strong></div>
628<div class="block">Method that will return a valid String representation of
629 the container value, if the node is a value node
630 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><code>JsonNode.isValueNode()</code></a> returns true),
631 otherwise empty String.</div>
632<dl>
633<dt><strong>Specified by:</strong></dt>
634<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asText()">asText</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
635</dl>
636</li>
637</ul>
638<a name="asBoolean(boolean)">
639<!--   -->
640</a>
641<ul class="blockList">
642<li class="blockList">
643<h4>asBoolean</h4>
644<pre>public&nbsp;boolean&nbsp;asBoolean(boolean&nbsp;defaultValue)</pre>
645<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean(boolean)">JsonNode</a></code></strong></div>
646<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.
647 JSON booleans map naturally; integer numbers other than 0 map to true, and
648 0 maps to false
649 and Strings 'true' and 'false' map to corresponding values.
650<p>
651 If representation can not be converted to a boolean value (including structured types
652 like Objects and Arrays),
653 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
654<dl>
655<dt><strong>Overrides:</strong></dt>
656<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean(boolean)">asBoolean</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
657</dl>
658</li>
659</ul>
660<a name="serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">
661<!--   -->
662</a>
663<ul class="blockList">
664<li class="blockList">
665<h4>serialize</h4>
666<pre>public final&nbsp;void&nbsp;serialize(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jg,
667             <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)
668                     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>,
669                            <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre>
670<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">BaseJsonNode</a></code></strong></div>
671<div class="block">Method called to serialize node instances using given generator.</div>
672<dl>
673<dt><strong>Specified by:</strong></dt>
674<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></code></dd>
675<dt><strong>Specified by:</strong></dt>
676<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>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></code></dd>
677<dt><span class="strong">Throws:</span></dt>
678<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></dd>
679<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd></dl>
680</li>
681</ul>
682<a name="equals(java.lang.Object)">
683<!--   -->
684</a>
685<ul class="blockList">
686<li class="blockList">
687<h4>equals</h4>
688<pre>public&nbsp;boolean&nbsp;equals(<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>
689<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">JsonNode</a></code></strong></div>
690<div class="block">Equality for node objects is defined as full (deep) value
691 equality. This means that it is possible to compare complete
692 JSON trees for equality by comparing equality of root nodes.
693<p>
694 Note: marked as abstract to ensure all implementation
695 classes define it properly and not rely on definition
696 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>.</div>
697<dl>
698<dt><strong>Specified by:</strong></dt>
699<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">equals</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
700</dl>
701</li>
702</ul>
703<a name="hashCode()">
704<!--   -->
705</a>
706<ul class="blockListLast">
707<li class="blockList">
708<h4>hashCode</h4>
709<pre>public&nbsp;int&nbsp;hashCode()</pre>
710<dl>
711<dt><strong>Overrides:</strong></dt>
712<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>&nbsp;in class&nbsp;<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></dd>
713</dl>
714</li>
715</ul>
716</li>
717</ul>
718</li>
719</ul>
720</div>
721</div>
722<!-- ========= END OF CLASS DATA ========= -->
723<!-- ======= START OF BOTTOM NAVBAR ====== -->
724<div class="bottomNav"><a name="navbar_bottom">
725<!--   -->
726</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
727<!--   -->
728</a>
729<ul class="navList" title="Navigation">
730<li><a href="../../../../../overview-summary.html">Overview</a></li>
731<li><a href="package-summary.html">Package</a></li>
732<li class="navBarCell1Rev">Class</li>
733<li><a href="class-use/IntNode.html">Use</a></li>
734<li><a href="package-tree.html">Tree</a></li>
735<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
736<li><a href="../../../../../index-all.html">Index</a></li>
737<li><a href="../../../../../help-doc.html">Help</a></li>
738</ul>
739</div>
740<div class="subNav">
741<ul class="navList">
742<li><a href="../../../../../com/fasterxml/jackson/databind/node/FloatNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Prev Class</span></a></li>
743<li><a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Next Class</span></a></li>
744</ul>
745<ul class="navList">
746<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/IntNode.html" target="_top">Frames</a></li>
747<li><a href="IntNode.html" target="_top">No Frames</a></li>
748</ul>
749<ul class="navList" id="allclasses_navbar_bottom">
750<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
751</ul>
752<div>
753<script type="text/javascript"><!--
754  allClassesLink = document.getElementById("allclasses_navbar_bottom");
755  if(window==top) {
756    allClassesLink.style.display = "block";
757  }
758  else {
759    allClassesLink.style.display = "none";
760  }
761  //-->
762</script>
763</div>
764<div>
765<ul class="subNavList">
766<li>Summary:&nbsp;</li>
767<li>Nested&nbsp;|&nbsp;</li>
768<li>Field&nbsp;|&nbsp;</li>
769<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
770<li><a href="#method_summary">Method</a></li>
771</ul>
772<ul class="subNavList">
773<li>Detail:&nbsp;</li>
774<li>Field&nbsp;|&nbsp;</li>
775<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
776<li><a href="#method_detail">Method</a></li>
777</ul>
778</div>
779<a name="skip-navbar_bottom">
780<!--   -->
781</a></div>
782<!-- ======== END OF BOTTOM NAVBAR ======= -->
783<p class="legalCopy"><small>Copyright &#169; 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p>
784</body>
785</html>
786