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