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_25) on Mon Jun 02 17:48:57 PDT 2014 -->
6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
7<title>IntNode (jackson-databind 2.4.0 API)</title>
8<meta name="date" content="2014-06-02">
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.4.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/JsonNodeCreator.html" title="interface 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><a href="#field_summary">Field</a>&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><a href="#field_detail">Field</a>&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.4/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 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<!-- =========== FIELD SUMMARY =========== -->
134<ul class="blockList">
135<li class="blockList"><a name="field_summary">
136<!--   -->
137</a>
138<h3>Field Summary</h3>
139<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
140<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
141<tr>
142<th class="colFirst" scope="col">Modifier and Type</th>
143<th class="colLast" scope="col">Field and Description</th>
144</tr>
145<tr class="altColor">
146<td class="colFirst"><code>protected int</code></td>
147<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#_value">_value</a></strong></code>
148<div class="block">Integer value this node contains</div>
149</td>
150</tr>
151</table>
152</li>
153</ul>
154<!-- ======== CONSTRUCTOR SUMMARY ======== -->
155<ul class="blockList">
156<li class="blockList"><a name="constructor_summary">
157<!--   -->
158</a>
159<h3>Constructor Summary</h3>
160<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
161<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
162<tr>
163<th class="colOne" scope="col">Constructor and Description</th>
164</tr>
165<tr class="altColor">
166<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>
167</tr>
168</table>
169</li>
170</ul>
171<!-- ========== METHOD SUMMARY =========== -->
172<ul class="blockList">
173<li class="blockList"><a name="method_summary">
174<!--   -->
175</a>
176<h3>Method Summary</h3>
177<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
178<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
179<tr>
180<th class="colFirst" scope="col">Modifier and Type</th>
181<th class="colLast" scope="col">Method and Description</th>
182</tr>
183<tr class="altColor">
184<td class="colFirst"><code>boolean</code></td>
185<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#asBoolean(boolean)">asBoolean</a></strong>(boolean&nbsp;defaultValue)</code>
186<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.</div>
187</td>
188</tr>
189<tr class="rowColor">
190<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>
191<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#asText()">asText</a></strong>()</code>
192<div class="block">Method that will return a valid String representation of
193 the container value, if the node is a value node
194 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><code>JsonNode.isValueNode()</code></a> returns true),
195 otherwise empty String.</div>
196</td>
197</tr>
198<tr class="altColor">
199<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a></code></td>
200<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#asToken()">asToken</a></strong>()</code>
201<div class="block">Method that can be used for efficient type detection
202 when using stream abstraction for traversing nodes.</div>
203</td>
204</tr>
205<tr class="rowColor">
206<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>
207<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#bigIntegerValue()">bigIntegerValue</a></strong>()</code>&nbsp;</td>
208</tr>
209<tr class="altColor">
210<td class="colFirst"><code>boolean</code></td>
211<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#canConvertToInt()">canConvertToInt</a></strong>()</code>
212<div class="block">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>.</div>
215</td>
216</tr>
217<tr class="rowColor">
218<td class="colFirst"><code>boolean</code></td>
219<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#canConvertToLong()">canConvertToLong</a></strong>()</code>
220<div class="block">Method that can be used to check whether this node is a numeric
221 node (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> would return true) AND its value fits
222 within Java's 64-bit signed integer type, <code>long</code>.</div>
223</td>
224</tr>
225<tr class="altColor">
226<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>
227<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#decimalValue()">decimalValue</a></strong>()</code>&nbsp;</td>
228</tr>
229<tr class="rowColor">
230<td class="colFirst"><code>double</code></td>
231<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#doubleValue()">doubleValue</a></strong>()</code>
232<div class="block">Returns 64-bit floating point (double) value for this node, <b>if and only if</b>
233 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true).</div>
234</td>
235</tr>
236<tr class="altColor">
237<td class="colFirst"><code>boolean</code></td>
238<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>
239<div class="block">Equality for node objects is defined as full (deep) value
240 equality.</div>
241</td>
242</tr>
243<tr class="rowColor">
244<td class="colFirst"><code>float</code></td>
245<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#floatValue()">floatValue</a></strong>()</code>
246<div class="block">Returns 32-bit floating value for this node, <b>if and only if</b>
247 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true).</div>
248</td>
249</tr>
250<tr class="altColor">
251<td class="colFirst"><code>int</code></td>
252<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#hashCode()">hashCode</a></strong>()</code>&nbsp;</td>
253</tr>
254<tr class="rowColor">
255<td class="colFirst"><code>int</code></td>
256<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#intValue()">intValue</a></strong>()</code>
257<div class="block">Returns integer value for this node, <b>if and only if</b>
258 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true).</div>
259</td>
260</tr>
261<tr class="altColor">
262<td class="colFirst"><code>boolean</code></td>
263<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#isInt()">isInt</a></strong>()</code>
264<div class="block">Method that can be used to check whether contained value
265 is a number represented as Java <code>int</code>.</div>
266</td>
267</tr>
268<tr class="rowColor">
269<td class="colFirst"><code>boolean</code></td>
270<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#isIntegralNumber()">isIntegralNumber</a></strong>()</code>&nbsp;</td>
271</tr>
272<tr class="altColor">
273<td class="colFirst"><code>long</code></td>
274<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#longValue()">longValue</a></strong>()</code>
275<div class="block">Returns 64-bit long value for this node, <b>if and only if</b>
276 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true).</div>
277</td>
278</tr>
279<tr class="rowColor">
280<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonParser.NumberType.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.NumberType</a></code></td>
281<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#numberType()">numberType</a></strong>()</code>
282<div class="block">Returns code that identifies type of underlying numeric
283 value, if (and only if) node is a number node.</div>
284</td>
285</tr>
286<tr class="altColor">
287<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>
288<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#numberValue()">numberValue</a></strong>()</code>
289<div class="block">Returns numeric value for this node, <b>if and only if</b>
290 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true); otherwise
291 returns null</div>
292</td>
293</tr>
294<tr class="rowColor">
295<td class="colFirst"><code>void</code></td>
296<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.4/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jg,
297         <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)</code>
298<div class="block">Method called to serialize node instances using given generator.</div>
299</td>
300</tr>
301<tr class="altColor">
302<td class="colFirst"><code>short</code></td>
303<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#shortValue()">shortValue</a></strong>()</code>
304<div class="block">Returns 16-bit short value for this node, <b>if and only if</b>
305 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true).</div>
306</td>
307</tr>
308<tr class="rowColor">
309<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>
310<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>
311</tr>
312</table>
313<ul class="blockList">
314<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.NumericNode">
315<!--   -->
316</a>
317<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>
318<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>
319</ul>
320<ul class="blockList">
321<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.ValueNode">
322<!--   -->
323</a>
324<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>
325<code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#_at(com.fasterxml.jackson.core.JsonPointer)">_at</a>, <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>
326</ul>
327<ul class="blockList">
328<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.BaseJsonNode">
329<!--   -->
330</a>
331<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>
332<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>
333</ul>
334<ul class="blockList">
335<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode">
336<!--   -->
337</a>
338<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>
339<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean()">asBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText(java.lang.String)">asText</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#at(com.fasterxml.jackson.core.JsonPointer)">at</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#at(java.lang.String)">at</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>
340</ul>
341<ul class="blockList">
342<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
343<!--   -->
344</a>
345<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>
346<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>
347</ul>
348</li>
349</ul>
350</li>
351</ul>
352</div>
353<div class="details">
354<ul class="blockList">
355<li class="blockList">
356<!-- ============ FIELD DETAIL =========== -->
357<ul class="blockList">
358<li class="blockList"><a name="field_detail">
359<!--   -->
360</a>
361<h3>Field Detail</h3>
362<a name="_value">
363<!--   -->
364</a>
365<ul class="blockListLast">
366<li class="blockList">
367<h4>_value</h4>
368<pre>protected final&nbsp;int _value</pre>
369<div class="block">Integer value this node contains</div>
370</li>
371</ul>
372</li>
373</ul>
374<!-- ========= CONSTRUCTOR DETAIL ======== -->
375<ul class="blockList">
376<li class="blockList"><a name="constructor_detail">
377<!--   -->
378</a>
379<h3>Constructor Detail</h3>
380<a name="IntNode(int)">
381<!--   -->
382</a>
383<ul class="blockListLast">
384<li class="blockList">
385<h4>IntNode</h4>
386<pre>public&nbsp;IntNode(int&nbsp;v)</pre>
387</li>
388</ul>
389</li>
390</ul>
391<!-- ============ METHOD DETAIL ========== -->
392<ul class="blockList">
393<li class="blockList"><a name="method_detail">
394<!--   -->
395</a>
396<h3>Method Detail</h3>
397<a name="valueOf(int)">
398<!--   -->
399</a>
400<ul class="blockList">
401<li class="blockList">
402<h4>valueOf</h4>
403<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>
404</li>
405</ul>
406<a name="asToken()">
407<!--   -->
408</a>
409<ul class="blockList">
410<li class="blockList">
411<h4>asToken</h4>
412<pre>public&nbsp;<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a>&nbsp;asToken()</pre>
413<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>
414<div class="block">Method that can be used for efficient type detection
415 when using stream abstraction for traversing nodes.
416 Will return the first <a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonToken</code></a> that equivalent
417 stream event would produce (for most nodes there is just
418 one token but for structured/container types multiple)</div>
419<dl>
420<dt><strong>Specified by:</strong></dt>
421<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/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.4/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
422<dt><strong>Specified by:</strong></dt>
423<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>
424</dl>
425</li>
426</ul>
427<a name="numberType()">
428<!--   -->
429</a>
430<ul class="blockList">
431<li class="blockList">
432<h4>numberType</h4>
433<pre>public&nbsp;<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/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>
434<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>
435<div class="block">Returns code that identifies type of underlying numeric
436 value, if (and only if) node is a number node.</div>
437<dl>
438<dt><strong>Specified by:</strong></dt>
439<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/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.4/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
440<dt><strong>Specified by:</strong></dt>
441<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>
442</dl>
443</li>
444</ul>
445<a name="isIntegralNumber()">
446<!--   -->
447</a>
448<ul class="blockList">
449<li class="blockList">
450<h4>isIntegralNumber</h4>
451<pre>public&nbsp;boolean&nbsp;isIntegralNumber()</pre>
452<dl>
453<dt><strong>Overrides:</strong></dt>
454<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>
455<dt><span class="strong">Returns:</span></dt><dd>True if this node represents an integral (integer)
456   numeric JSON value</dd></dl>
457</li>
458</ul>
459<a name="isInt()">
460<!--   -->
461</a>
462<ul class="blockList">
463<li class="blockList">
464<h4>isInt</h4>
465<pre>public&nbsp;boolean&nbsp;isInt()</pre>
466<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isInt()">JsonNode</a></code></strong></div>
467<div class="block">Method that can be used to check whether contained value
468 is a number represented as Java <code>int</code>.
469 Note, however, that even if this method returns false, it
470 is possible that conversion would be possible from other numeric
471 types -- to check if this is possible, use
472 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt()"><code>JsonNode.canConvertToInt()</code></a> instead.</div>
473<dl>
474<dt><strong>Overrides:</strong></dt>
475<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>
476<dt><span class="strong">Returns:</span></dt><dd>True if the value contained by this node is stored as Java int</dd></dl>
477</li>
478</ul>
479<a name="canConvertToInt()">
480<!--   -->
481</a>
482<ul class="blockList">
483<li class="blockList">
484<h4>canConvertToInt</h4>
485<pre>public&nbsp;boolean&nbsp;canConvertToInt()</pre>
486<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt()">JsonNode</a></code></strong></div>
487<div class="block">Method that can be used to check whether this node is a numeric
488 node (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> would return true) AND its value fits
489 within Java's 32-bit signed integer type, <code>int</code>.
490 Note that floating-point numbers are convertible if the integral
491 part fits without overflow (as per standard Java coercion rules)
492<p>
493 NOTE: this method does not consider possible value type conversion
494 from JSON String into Number; so even if this method returns false,
495 it is possible that <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt()"><code>JsonNode.asInt()</code></a> could still succeed
496 if node is a JSON String representing integral number, or boolean.</div>
497<dl>
498<dt><strong>Specified by:</strong></dt>
499<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>
500</dl>
501</li>
502</ul>
503<a name="canConvertToLong()">
504<!--   -->
505</a>
506<ul class="blockList">
507<li class="blockList">
508<h4>canConvertToLong</h4>
509<pre>public&nbsp;boolean&nbsp;canConvertToLong()</pre>
510<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToLong()">JsonNode</a></code></strong></div>
511<div class="block">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 64-bit signed integer type, <code>long</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 NOTE: this method does not consider possible value type conversion
518 from JSON String into Number; so even if this method returns false,
519 it is possible that <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong()"><code>JsonNode.asLong()</code></a> could still succeed
520 if node is a JSON String representing integral number, or boolean.</div>
521<dl>
522<dt><strong>Specified by:</strong></dt>
523<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>
524</dl>
525</li>
526</ul>
527<a name="numberValue()">
528<!--   -->
529</a>
530<ul class="blockList">
531<li class="blockList">
532<h4>numberValue</h4>
533<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>
534<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#numberValue()">JsonNode</a></code></strong></div>
535<div class="block">Returns numeric value for this node, <b>if and only if</b>
536 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true); otherwise
537 returns null</div>
538<dl>
539<dt><strong>Specified by:</strong></dt>
540<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>
541<dt><span class="strong">Returns:</span></dt><dd>Number value this node contains, if any (null for non-number
542   nodes).</dd></dl>
543</li>
544</ul>
545<a name="shortValue()">
546<!--   -->
547</a>
548<ul class="blockList">
549<li class="blockList">
550<h4>shortValue</h4>
551<pre>public&nbsp;short&nbsp;shortValue()</pre>
552<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#shortValue()">JsonNode</a></code></strong></div>
553<div class="block">Returns 16-bit short 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). For other
555 types returns 0.
556 For floating-point numbers, value is truncated using default
557 Java coercion, similar to how cast from double to short operates.</div>
558<dl>
559<dt><strong>Overrides:</strong></dt>
560<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>
561<dt><span class="strong">Returns:</span></dt><dd>Short value this node contains, if any; 0 for non-number
562   nodes.</dd></dl>
563</li>
564</ul>
565<a name="intValue()">
566<!--   -->
567</a>
568<ul class="blockList">
569<li class="blockList">
570<h4>intValue</h4>
571<pre>public&nbsp;int&nbsp;intValue()</pre>
572<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#intValue()">JsonNode</a></code></strong></div>
573<div class="block">Returns integer value for this node, <b>if and only if</b>
574 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true). For other
575 types returns 0.
576 For floating-point numbers, value is truncated using default
577 Java coercion, similar to how cast from double to int operates.</div>
578<dl>
579<dt><strong>Specified by:</strong></dt>
580<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>
581<dt><span class="strong">Returns:</span></dt><dd>Integer value this node contains, if any; 0 for non-number
582   nodes.</dd></dl>
583</li>
584</ul>
585<a name="longValue()">
586<!--   -->
587</a>
588<ul class="blockList">
589<li class="blockList">
590<h4>longValue</h4>
591<pre>public&nbsp;long&nbsp;longValue()</pre>
592<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#longValue()">JsonNode</a></code></strong></div>
593<div class="block">Returns 64-bit long value for this node, <b>if and only if</b>
594 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true). For other
595 types returns 0.
596 For floating-point numbers, value is truncated using default
597 Java coercion, similar to how cast from double to long operates.</div>
598<dl>
599<dt><strong>Specified by:</strong></dt>
600<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>
601<dt><span class="strong">Returns:</span></dt><dd>Long value this node contains, if any; 0 for non-number
602   nodes.</dd></dl>
603</li>
604</ul>
605<a name="floatValue()">
606<!--   -->
607</a>
608<ul class="blockList">
609<li class="blockList">
610<h4>floatValue</h4>
611<pre>public&nbsp;float&nbsp;floatValue()</pre>
612<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#floatValue()">JsonNode</a></code></strong></div>
613<div class="block">Returns 32-bit floating value for this node, <b>if and only if</b>
614 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true). For other
615 types returns 0.0.
616 For integer values, conversion is done using coercion; this means
617 that an overflow is possible for `long` values</div>
618<dl>
619<dt><strong>Overrides:</strong></dt>
620<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>
621<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>
622</li>
623</ul>
624<a name="doubleValue()">
625<!--   -->
626</a>
627<ul class="blockList">
628<li class="blockList">
629<h4>doubleValue</h4>
630<pre>public&nbsp;double&nbsp;doubleValue()</pre>
631<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#doubleValue()">JsonNode</a></code></strong></div>
632<div class="block">Returns 64-bit floating point (double) value for this node, <b>if and only if</b>
633 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true). For other
634 types returns 0.0.
635 For integer values, conversion is done using coercion; this may result
636 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>
637<dl>
638<dt><strong>Specified by:</strong></dt>
639<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>
640<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>
641</li>
642</ul>
643<a name="decimalValue()">
644<!--   -->
645</a>
646<ul class="blockList">
647<li class="blockList">
648<h4>decimalValue</h4>
649<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>
650<dl>
651<dt><strong>Specified by:</strong></dt>
652<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>
653</dl>
654</li>
655</ul>
656<a name="bigIntegerValue()">
657<!--   -->
658</a>
659<ul class="blockList">
660<li class="blockList">
661<h4>bigIntegerValue</h4>
662<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>
663<dl>
664<dt><strong>Specified by:</strong></dt>
665<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>
666</dl>
667</li>
668</ul>
669<a name="asText()">
670<!--   -->
671</a>
672<ul class="blockList">
673<li class="blockList">
674<h4>asText</h4>
675<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>
676<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText()">JsonNode</a></code></strong></div>
677<div class="block">Method that will return a valid String representation of
678 the container value, if the node is a value node
679 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><code>JsonNode.isValueNode()</code></a> returns true),
680 otherwise empty String.</div>
681<dl>
682<dt><strong>Specified by:</strong></dt>
683<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>
684</dl>
685</li>
686</ul>
687<a name="asBoolean(boolean)">
688<!--   -->
689</a>
690<ul class="blockList">
691<li class="blockList">
692<h4>asBoolean</h4>
693<pre>public&nbsp;boolean&nbsp;asBoolean(boolean&nbsp;defaultValue)</pre>
694<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>
695<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.
696 JSON booleans map naturally; integer numbers other than 0 map to true, and
697 0 maps to false
698 and Strings 'true' and 'false' map to corresponding values.
699<p>
700 If representation can not be converted to a boolean value (including structured types
701 like Objects and Arrays),
702 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
703<dl>
704<dt><strong>Overrides:</strong></dt>
705<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>
706</dl>
707</li>
708</ul>
709<a name="serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">
710<!--   -->
711</a>
712<ul class="blockList">
713<li class="blockList">
714<h4>serialize</h4>
715<pre>public final&nbsp;void&nbsp;serialize(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jg,
716             <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)
717                     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>,
718                            <a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre>
719<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>
720<div class="block">Method called to serialize node instances using given generator.</div>
721<dl>
722<dt><strong>Specified by:</strong></dt>
723<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>
724<dt><strong>Specified by:</strong></dt>
725<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>
726<dt><span class="strong">Throws:</span></dt>
727<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>
728<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd></dl>
729</li>
730</ul>
731<a name="equals(java.lang.Object)">
732<!--   -->
733</a>
734<ul class="blockList">
735<li class="blockList">
736<h4>equals</h4>
737<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>
738<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>
739<div class="block">Equality for node objects is defined as full (deep) value
740 equality. This means that it is possible to compare complete
741 JSON trees for equality by comparing equality of root nodes.
742<p>
743 Note: marked as abstract to ensure all implementation
744 classes define it properly and not rely on definition
745 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>
746<dl>
747<dt><strong>Specified by:</strong></dt>
748<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>
749</dl>
750</li>
751</ul>
752<a name="hashCode()">
753<!--   -->
754</a>
755<ul class="blockListLast">
756<li class="blockList">
757<h4>hashCode</h4>
758<pre>public&nbsp;int&nbsp;hashCode()</pre>
759<dl>
760<dt><strong>Overrides:</strong></dt>
761<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>
762</dl>
763</li>
764</ul>
765</li>
766</ul>
767</li>
768</ul>
769</div>
770</div>
771<!-- ========= END OF CLASS DATA ========= -->
772<!-- ======= START OF BOTTOM NAVBAR ====== -->
773<div class="bottomNav"><a name="navbar_bottom">
774<!--   -->
775</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
776<!--   -->
777</a>
778<ul class="navList" title="Navigation">
779<li><a href="../../../../../overview-summary.html">Overview</a></li>
780<li><a href="package-summary.html">Package</a></li>
781<li class="navBarCell1Rev">Class</li>
782<li><a href="class-use/IntNode.html">Use</a></li>
783<li><a href="package-tree.html">Tree</a></li>
784<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
785<li><a href="../../../../../index-all.html">Index</a></li>
786<li><a href="../../../../../help-doc.html">Help</a></li>
787</ul>
788</div>
789<div class="subNav">
790<ul class="navList">
791<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>
792<li><a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeCreator.html" title="interface in com.fasterxml.jackson.databind.node"><span class="strong">Next Class</span></a></li>
793</ul>
794<ul class="navList">
795<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/IntNode.html" target="_top">Frames</a></li>
796<li><a href="IntNode.html" target="_top">No Frames</a></li>
797</ul>
798<ul class="navList" id="allclasses_navbar_bottom">
799<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
800</ul>
801<div>
802<script type="text/javascript"><!--
803  allClassesLink = document.getElementById("allclasses_navbar_bottom");
804  if(window==top) {
805    allClassesLink.style.display = "block";
806  }
807  else {
808    allClassesLink.style.display = "none";
809  }
810  //-->
811</script>
812</div>
813<div>
814<ul class="subNavList">
815<li>Summary:&nbsp;</li>
816<li>Nested&nbsp;|&nbsp;</li>
817<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
818<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
819<li><a href="#method_summary">Method</a></li>
820</ul>
821<ul class="subNavList">
822<li>Detail:&nbsp;</li>
823<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
824<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
825<li><a href="#method_detail">Method</a></li>
826</ul>
827</div>
828<a name="skip-navbar_bottom">
829<!--   -->
830</a></div>
831<!-- ======== END OF BOTTOM NAVBAR ======= -->
832<p class="legalCopy"><small>Copyright &#169; 2014 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p>
833</body>
834</html>
835