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 (1.8.0_162) on Tue Jan 23 20:22:16 PST 2018 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>POJONode (jackson-databind 2.9.0 API)</title> 8<meta name="date" content="2018-01-23"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10<script type="text/javascript" src="../../../../../script.js"></script> 11</head> 12<body> 13<script type="text/javascript"><!-- 14 try { 15 if (location.href.indexOf('is-external=true') == -1) { 16 parent.document.title="POJONode (jackson-databind 2.9.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10}; 23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; 24var altColor = "altColor"; 25var rowColor = "rowColor"; 26var tableTab = "tableTab"; 27var activeTableTab = "activeTableTab"; 28</script> 29<noscript> 30<div>JavaScript is disabled on your browser.</div> 31</noscript> 32<!-- ========= START OF TOP NAVBAR ======= --> 33<div class="topNav"><a name="navbar.top"> 34<!-- --> 35</a> 36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 37<a name="navbar.top.firstrow"> 38<!-- --> 39</a> 40<ul class="navList" title="Navigation"> 41<li><a href="../../../../../overview-summary.html">Overview</a></li> 42<li><a href="package-summary.html">Package</a></li> 43<li class="navBarCell1Rev">Class</li> 44<li><a href="class-use/POJONode.html">Use</a></li> 45<li><a href="package-tree.html">Tree</a></li> 46<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 47<li><a href="../../../../../index-all.html">Index</a></li> 48<li><a href="../../../../../help-doc.html">Help</a></li> 49</ul> 50</div> 51<div class="subNav"> 52<ul class="navList"> 53<li><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Prev Class</span></a></li> 54<li><a href="../../../../../com/fasterxml/jackson/databind/node/ShortNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Next Class</span></a></li> 55</ul> 56<ul class="navList"> 57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/POJONode.html" target="_top">Frames</a></li> 58<li><a href="POJONode.html" target="_top">No Frames</a></li> 59</ul> 60<ul class="navList" id="allclasses_navbar_top"> 61<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 62</ul> 63<div> 64<script type="text/javascript"><!-- 65 allClassesLink = document.getElementById("allclasses_navbar_top"); 66 if(window==top) { 67 allClassesLink.style.display = "block"; 68 } 69 else { 70 allClassesLink.style.display = "none"; 71 } 72 //--> 73</script> 74</div> 75<div> 76<ul class="subNavList"> 77<li>Summary: </li> 78<li>Nested | </li> 79<li><a href="#field.summary">Field</a> | </li> 80<li><a href="#constructor.summary">Constr</a> | </li> 81<li><a href="#method.summary">Method</a></li> 82</ul> 83<ul class="subNavList"> 84<li>Detail: </li> 85<li><a href="#field.detail">Field</a> | </li> 86<li><a href="#constructor.detail">Constr</a> | </li> 87<li><a href="#method.detail">Method</a></li> 88</ul> 89</div> 90<a name="skip.navbar.top"> 91<!-- --> 92</a></div> 93<!-- ========= END OF TOP NAVBAR ========= --> 94<!-- ======== START OF CLASS DATA ======== --> 95<div class="header"> 96<div class="subTitle">com.fasterxml.jackson.databind.node</div> 97<h2 title="Class POJONode" class="title">Class POJONode</h2> 98</div> 99<div class="contentContainer"> 100<ul class="inheritance"> 101<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 102<li> 103<ul class="inheritance"> 104<li><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonSerializable.Base</a></li> 105<li> 106<ul class="inheritance"> 107<li><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonNode</a></li> 108<li> 109<ul class="inheritance"> 110<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> 111<li> 112<ul class="inheritance"> 113<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> 114<li> 115<ul class="inheritance"> 116<li>com.fasterxml.jackson.databind.node.POJONode</li> 117</ul> 118</li> 119</ul> 120</li> 121</ul> 122</li> 123</ul> 124</li> 125</ul> 126</li> 127</ul> 128<div class="description"> 129<ul class="blockList"> 130<li class="blockList"> 131<dl> 132<dt>All Implemented Interfaces:</dt> 133<dd><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/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/7/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> 134</dl> 135<hr> 136<br> 137<pre>public class <span class="typeNameLabel">POJONode</span> 138extends <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></pre> 139<div class="block">Value node that contains a wrapped POJO, to be serialized as 140 a JSON constructed through data mapping (usually done by 141 calling <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>).</div> 142</li> 143</ul> 144</div> 145<div class="summary"> 146<ul class="blockList"> 147<li class="blockList"> 148<!-- ======== NESTED CLASS SUMMARY ======== --> 149<ul class="blockList"> 150<li class="blockList"><a name="nested.class.summary"> 151<!-- --> 152</a> 153<h3>Nested Class Summary</h3> 154<ul class="blockList"> 155<li class="blockList"><a name="nested.classes.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable"> 156<!-- --> 157</a> 158<h3>Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></h3> 159<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">JsonSerializable.Base</a></code></li> 160</ul> 161</li> 162</ul> 163<!-- =========== FIELD SUMMARY =========== --> 164<ul class="blockList"> 165<li class="blockList"><a name="field.summary"> 166<!-- --> 167</a> 168<h3>Field Summary</h3> 169<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 170<caption><span>Fields</span><span class="tabEnd"> </span></caption> 171<tr> 172<th class="colFirst" scope="col">Modifier and Type</th> 173<th class="colLast" scope="col">Field and Description</th> 174</tr> 175<tr class="altColor"> 176<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> 177<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html#Z:Z_value">_value</a></span></code> </td> 178</tr> 179</table> 180</li> 181</ul> 182<!-- ======== CONSTRUCTOR SUMMARY ======== --> 183<ul class="blockList"> 184<li class="blockList"><a name="constructor.summary"> 185<!-- --> 186</a> 187<h3>Constructor Summary</h3> 188<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 189<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 190<tr> 191<th class="colOne" scope="col">Constructor and Description</th> 192</tr> 193<tr class="altColor"> 194<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html#POJONode-java.lang.Object-">POJONode</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> v)</code> </td> 195</tr> 196</table> 197</li> 198</ul> 199<!-- ========== METHOD SUMMARY =========== --> 200<ul class="blockList"> 201<li class="blockList"><a name="method.summary"> 202<!-- --> 203</a> 204<h3>Method Summary</h3> 205<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 206<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> 207<tr> 208<th class="colFirst" scope="col">Modifier and Type</th> 209<th class="colLast" scope="col">Method and Description</th> 210</tr> 211<tr id="i0" class="altColor"> 212<td class="colFirst"><code>protected boolean</code></td> 213<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html#Z:Z_pojoEquals-com.fasterxml.jackson.databind.node.POJONode-">_pojoEquals</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html" title="class in com.fasterxml.jackson.databind.node">POJONode</a> other)</code> </td> 214</tr> 215<tr id="i1" class="rowColor"> 216<td class="colFirst"><code>boolean</code></td> 217<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html#asBoolean-boolean-">asBoolean</a></span>(boolean defaultValue)</code> 218<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.</div> 219</td> 220</tr> 221<tr id="i2" class="altColor"> 222<td class="colFirst"><code>double</code></td> 223<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html#asDouble-double-">asDouble</a></span>(double defaultValue)</code> 224<div class="block">Method that will try to convert value of this node to a Java <b>double</b>.</div> 225</td> 226</tr> 227<tr id="i3" class="rowColor"> 228<td class="colFirst"><code>int</code></td> 229<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html#asInt-int-">asInt</a></span>(int defaultValue)</code> 230<div class="block">Method that will try to convert value of this node to a Java <b>int</b>.</div> 231</td> 232</tr> 233<tr id="i4" class="altColor"> 234<td class="colFirst"><code>long</code></td> 235<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html#asLong-long-">asLong</a></span>(long defaultValue)</code> 236<div class="block">Method that will try to convert value of this node to a Java <b>long</b>.</div> 237</td> 238</tr> 239<tr id="i5" class="rowColor"> 240<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 241<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html#asText--">asText</a></span>()</code> 242<div class="block">Method that will return a valid String representation of 243 the container value, if the node is a value node 244 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode--"><code>JsonNode.isValueNode()</code></a> returns true), 245 otherwise empty String.</div> 246</td> 247</tr> 248<tr id="i6" class="altColor"> 249<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 250<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html#asText-java.lang.String-">asText</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultValue)</code> 251<div class="block">Method similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText--"><code>JsonNode.asText()</code></a>, except that it will return 252 <code>defaultValue</code> in cases where null value would be returned; 253 either for missing nodes (trying to access missing property, or element 254 at invalid item for array) or explicit nulls.</div> 255</td> 256</tr> 257<tr id="i7" class="rowColor"> 258<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a></code></td> 259<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html#asToken--">asToken</a></span>()</code> 260<div class="block">Method that can be used for efficient type detection 261 when using stream abstraction for traversing nodes.</div> 262</td> 263</tr> 264<tr id="i8" class="altColor"> 265<td class="colFirst"><code>byte[]</code></td> 266<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html#binaryValue--">binaryValue</a></span>()</code> 267<div class="block">As it is possible that some implementations embed byte[] as POJONode 268 (despite optimal being <a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node"><code>BinaryNode</code></a>), let's add support for exposing 269 binary data here too.</div> 270</td> 271</tr> 272<tr id="i9" class="rowColor"> 273<td class="colFirst"><code>boolean</code></td> 274<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> 275<div class="block">Equality for node objects is defined as full (deep) value 276 equality.</div> 277</td> 278</tr> 279<tr id="i10" class="altColor"> 280<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node">JsonNodeType</a></code></td> 281<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html#getNodeType--">getNodeType</a></span>()</code> 282<div class="block">Return the type of this node</div> 283</td> 284</tr> 285<tr id="i11" class="rowColor"> 286<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> 287<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html#getPojo--">getPojo</a></span>()</code> 288<div class="block">Method that can be used to access the POJO this node wraps.</div> 289</td> 290</tr> 291<tr id="i12" class="altColor"> 292<td class="colFirst"><code>int</code></td> 293<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html#hashCode--">hashCode</a></span>()</code> </td> 294</tr> 295<tr id="i13" class="rowColor"> 296<td class="colFirst"><code>void</code></td> 297<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html#serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 298 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> serializers)</code> 299<div class="block">Method called to serialize node instances using given generator.</div> 300</td> 301</tr> 302<tr id="i14" class="altColor"> 303<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 304<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html#toString--">toString</a></span>()</code> 305<div class="block">Method that will produce developer-readable representation of the 306 node; which may <b>or may not</b> be as valid JSON.</div> 307</td> 308</tr> 309</table> 310<ul class="blockList"> 311<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.node.ValueNode"> 312<!-- --> 313</a> 314<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> 315<code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#Z:Z_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></code></li> 316</ul> 317<ul class="blockList"> 318<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.node.BaseJsonNode"> 319<!-- --> 320</a> 321<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> 322<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#numberType--">numberType</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> 323</ul> 324<ul class="blockList"> 325<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonNode"> 326<!-- --> 327</a> 328<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> 329<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean--">asBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble--">asDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt--">asInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong--">asLong</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#bigIntegerValue--">bigIntegerValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#booleanValue--">booleanValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt--">canConvertToInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToLong--">canConvertToLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#decimalValue--">decimalValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#doubleValue--">doubleValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#elements--">elements</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals-java.util.Comparator-com.fasterxml.jackson.databind.JsonNode-">equals</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#floatValue--">floatValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#intValue--">intValue</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#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#longValue--">longValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#numberValue--">numberValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#shortValue--">shortValue</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> 330</ul> 331<ul class="blockList"> 332<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable.Base"> 333<!-- --> 334</a> 335<h3>Methods inherited from class com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">JsonSerializable.Base</a></h3> 336<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html#isEmpty-com.fasterxml.jackson.databind.SerializerProvider-">isEmpty</a></code></li> 337</ul> 338<ul class="blockList"> 339<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 340<!-- --> 341</a> 342<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 343<code><a href="http://docs.oracle.com/javase/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> 344</ul> 345<ul class="blockList"> 346<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable"> 347<!-- --> 348</a> 349<h3>Methods inherited from interface java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a></h3> 350<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true#forEach-java.util.function.Consumer-" title="class or interface in java.lang">forEach</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true#spliterator--" title="class or interface in java.lang">spliterator</a></code></li> 351</ul> 352</li> 353</ul> 354</li> 355</ul> 356</div> 357<div class="details"> 358<ul class="blockList"> 359<li class="blockList"> 360<!-- ============ FIELD DETAIL =========== --> 361<ul class="blockList"> 362<li class="blockList"><a name="field.detail"> 363<!-- --> 364</a> 365<h3>Field Detail</h3> 366<a name="Z:Z_value"> 367<!-- --> 368</a> 369<ul class="blockListLast"> 370<li class="blockList"> 371<h4>_value</h4> 372<pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> _value</pre> 373</li> 374</ul> 375</li> 376</ul> 377<!-- ========= CONSTRUCTOR DETAIL ======== --> 378<ul class="blockList"> 379<li class="blockList"><a name="constructor.detail"> 380<!-- --> 381</a> 382<h3>Constructor Detail</h3> 383<a name="POJONode-java.lang.Object-"> 384<!-- --> 385</a> 386<ul class="blockListLast"> 387<li class="blockList"> 388<h4>POJONode</h4> 389<pre>public POJONode(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> v)</pre> 390</li> 391</ul> 392</li> 393</ul> 394<!-- ============ METHOD DETAIL ========== --> 395<ul class="blockList"> 396<li class="blockList"><a name="method.detail"> 397<!-- --> 398</a> 399<h3>Method Detail</h3> 400<a name="getNodeType--"> 401<!-- --> 402</a> 403<ul class="blockList"> 404<li class="blockList"> 405<h4>getNodeType</h4> 406<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node">JsonNodeType</a> getNodeType()</pre> 407<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType--">JsonNode</a></code></span></div> 408<div class="block">Return the type of this node</div> 409<dl> 410<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 411<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType--">getNodeType</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 412<dt><span class="returnLabel">Returns:</span></dt> 413<dd>the node type as a <a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node"><code>JsonNodeType</code></a> enum value</dd> 414</dl> 415</li> 416</ul> 417<a name="asToken--"> 418<!-- --> 419</a> 420<ul class="blockList"> 421<li class="blockList"> 422<h4>asToken</h4> 423<pre>public <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a> asToken()</pre> 424<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken--">BaseJsonNode</a></code></span></div> 425<div class="block">Method that can be used for efficient type detection 426 when using stream abstraction for traversing nodes. 427 Will return the first <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonToken</code></a> that equivalent 428 stream event would produce (for most nodes there is just 429 one token but for structured/container types multiple)</div> 430<dl> 431<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 432<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#asToken--" title="class or interface in com.fasterxml.jackson.core">asToken</a></code> in interface <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> 433<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 434<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> 435</dl> 436</li> 437</ul> 438<a name="binaryValue--"> 439<!-- --> 440</a> 441<ul class="blockList"> 442<li class="blockList"> 443<h4>binaryValue</h4> 444<pre>public byte[] binaryValue() 445 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 446<div class="block">As it is possible that some implementations embed byte[] as POJONode 447 (despite optimal being <a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node"><code>BinaryNode</code></a>), let's add support for exposing 448 binary data here too.</div> 449<dl> 450<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 451<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#binaryValue--">binaryValue</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 452<dt><span class="returnLabel">Returns:</span></dt> 453<dd>Binary data this node contains, iff it is a binary 454 node; null otherwise</dd> 455<dt><span class="throwsLabel">Throws:</span></dt> 456<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 457</dl> 458</li> 459</ul> 460<a name="asText--"> 461<!-- --> 462</a> 463<ul class="blockList"> 464<li class="blockList"> 465<h4>asText</h4> 466<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> asText()</pre> 467<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText--">JsonNode</a></code></span></div> 468<div class="block">Method that will return a valid String representation of 469 the container value, if the node is a value node 470 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode--"><code>JsonNode.isValueNode()</code></a> returns true), 471 otherwise empty String.</div> 472<dl> 473<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 474<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText--">asText</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 475</dl> 476</li> 477</ul> 478<a name="asText-java.lang.String-"> 479<!-- --> 480</a> 481<ul class="blockList"> 482<li class="blockList"> 483<h4>asText</h4> 484<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> asText(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultValue)</pre> 485<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText-java.lang.String-">JsonNode</a></code></span></div> 486<div class="block">Method similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText--"><code>JsonNode.asText()</code></a>, except that it will return 487 <code>defaultValue</code> in cases where null value would be returned; 488 either for missing nodes (trying to access missing property, or element 489 at invalid item for array) or explicit nulls.</div> 490<dl> 491<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 492<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText-java.lang.String-">asText</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 493</dl> 494</li> 495</ul> 496<a name="asBoolean-boolean-"> 497<!-- --> 498</a> 499<ul class="blockList"> 500<li class="blockList"> 501<h4>asBoolean</h4> 502<pre>public boolean asBoolean(boolean defaultValue)</pre> 503<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean-boolean-">JsonNode</a></code></span></div> 504<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>. 505 JSON booleans map naturally; integer numbers other than 0 map to true, and 506 0 maps to false 507 and Strings 'true' and 'false' map to corresponding values. 508<p> 509 If representation cannot be converted to a boolean value (including structured types 510 like Objects and Arrays), 511 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div> 512<dl> 513<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 514<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean-boolean-">asBoolean</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 515</dl> 516</li> 517</ul> 518<a name="asInt-int-"> 519<!-- --> 520</a> 521<ul class="blockList"> 522<li class="blockList"> 523<h4>asInt</h4> 524<pre>public int asInt(int defaultValue)</pre> 525<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt-int-">JsonNode</a></code></span></div> 526<div class="block">Method that will try to convert value of this node to a Java <b>int</b>. 527 Numbers are coerced using default Java rules; booleans convert to 0 (false) 528 and 1 (true), and Strings are parsed using default Java language integer 529 parsing rules. 530<p> 531 If representation cannot be converted to an int (including structured types 532 like Objects and Arrays), 533 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div> 534<dl> 535<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 536<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt-int-">asInt</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 537</dl> 538</li> 539</ul> 540<a name="asLong-long-"> 541<!-- --> 542</a> 543<ul class="blockList"> 544<li class="blockList"> 545<h4>asLong</h4> 546<pre>public long asLong(long defaultValue)</pre> 547<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong-long-">JsonNode</a></code></span></div> 548<div class="block">Method that will try to convert value of this node to a Java <b>long</b>. 549 Numbers are coerced using default Java rules; booleans convert to 0 (false) 550 and 1 (true), and Strings are parsed using default Java language integer 551 parsing rules. 552<p> 553 If representation cannot be converted to an long (including structured types 554 like Objects and Arrays), 555 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div> 556<dl> 557<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 558<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong-long-">asLong</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 559</dl> 560</li> 561</ul> 562<a name="asDouble-double-"> 563<!-- --> 564</a> 565<ul class="blockList"> 566<li class="blockList"> 567<h4>asDouble</h4> 568<pre>public double asDouble(double defaultValue)</pre> 569<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble-double-">JsonNode</a></code></span></div> 570<div class="block">Method that will try to convert value of this node to a Java <b>double</b>. 571 Numbers are coerced using default Java rules; booleans convert to 0.0 (false) 572 and 1.0 (true), and Strings are parsed using default Java language integer 573 parsing rules. 574<p> 575 If representation cannot be converted to an int (including structured types 576 like Objects and Arrays), 577 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div> 578<dl> 579<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 580<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble-double-">asDouble</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 581</dl> 582</li> 583</ul> 584<a name="serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-"> 585<!-- --> 586</a> 587<ul class="blockList"> 588<li class="blockList"> 589<h4>serialize</h4> 590<pre>public final void serialize(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 591 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> serializers) 592 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 593<div class="block"><span class="descfrmTypeLabel">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></span></div> 594<div class="block">Method called to serialize node instances using given generator.</div> 595<dl> 596<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 597<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> 598<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 599<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> 600<dt><span class="throwsLabel">Throws:</span></dt> 601<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 602</dl> 603</li> 604</ul> 605<a name="getPojo--"> 606<!-- --> 607</a> 608<ul class="blockList"> 609<li class="blockList"> 610<h4>getPojo</h4> 611<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getPojo()</pre> 612<div class="block">Method that can be used to access the POJO this node wraps.</div> 613</li> 614</ul> 615<a name="equals-java.lang.Object-"> 616<!-- --> 617</a> 618<ul class="blockList"> 619<li class="blockList"> 620<h4>equals</h4> 621<pre>public boolean equals(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> 622<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals-java.lang.Object-">JsonNode</a></code></span></div> 623<div class="block">Equality for node objects is defined as full (deep) value 624 equality. This means that it is possible to compare complete 625 JSON trees for equality by comparing equality of root nodes. 626<p> 627 Note: marked as abstract to ensure all implementation 628 classes define it properly and not rely on definition 629 from <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div> 630<dl> 631<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 632<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> 633</dl> 634</li> 635</ul> 636<a name="Z:Z_pojoEquals-com.fasterxml.jackson.databind.node.POJONode-"> 637<!-- --> 638</a> 639<ul class="blockList"> 640<li class="blockList"> 641<h4>_pojoEquals</h4> 642<pre>protected boolean _pojoEquals(<a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html" title="class in com.fasterxml.jackson.databind.node">POJONode</a> other)</pre> 643<dl> 644<dt><span class="simpleTagLabel">Since:</span></dt> 645<dd>2.3</dd> 646</dl> 647</li> 648</ul> 649<a name="hashCode--"> 650<!-- --> 651</a> 652<ul class="blockList"> 653<li class="blockList"> 654<h4>hashCode</h4> 655<pre>public int hashCode()</pre> 656<dl> 657<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 658<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#hashCode--">hashCode</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> 659</dl> 660</li> 661</ul> 662<a name="toString--"> 663<!-- --> 664</a> 665<ul class="blockListLast"> 666<li class="blockList"> 667<h4>toString</h4> 668<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> 669<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toString--">JsonNode</a></code></span></div> 670<div class="block">Method that will produce developer-readable representation of the 671 node; which may <b>or may not</b> be as valid JSON. 672 If you want valid JSON output (or output formatted using one of 673 other Jackson supported data formats) make sure to use 674 <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> or <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> to serialize an 675 instance, for example: 676<pre> 677 String json = objectMapper.writeValueAsString(rootNode); 678</pre> 679<p> 680 Note: method defined as abstract to ensure all implementation 681 classes explicitly implement method, instead of relying 682 on <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang"><code>Object.toString()</code></a> definition.</div> 683<dl> 684<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 685<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#toString--">toString</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> 686</dl> 687</li> 688</ul> 689</li> 690</ul> 691</li> 692</ul> 693</div> 694</div> 695<!-- ========= END OF CLASS DATA ========= --> 696<!-- ======= START OF BOTTOM NAVBAR ====== --> 697<div class="bottomNav"><a name="navbar.bottom"> 698<!-- --> 699</a> 700<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 701<a name="navbar.bottom.firstrow"> 702<!-- --> 703</a> 704<ul class="navList" title="Navigation"> 705<li><a href="../../../../../overview-summary.html">Overview</a></li> 706<li><a href="package-summary.html">Package</a></li> 707<li class="navBarCell1Rev">Class</li> 708<li><a href="class-use/POJONode.html">Use</a></li> 709<li><a href="package-tree.html">Tree</a></li> 710<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 711<li><a href="../../../../../index-all.html">Index</a></li> 712<li><a href="../../../../../help-doc.html">Help</a></li> 713</ul> 714</div> 715<div class="subNav"> 716<ul class="navList"> 717<li><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Prev Class</span></a></li> 718<li><a href="../../../../../com/fasterxml/jackson/databind/node/ShortNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Next Class</span></a></li> 719</ul> 720<ul class="navList"> 721<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/POJONode.html" target="_top">Frames</a></li> 722<li><a href="POJONode.html" target="_top">No Frames</a></li> 723</ul> 724<ul class="navList" id="allclasses_navbar_bottom"> 725<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 726</ul> 727<div> 728<script type="text/javascript"><!-- 729 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 730 if(window==top) { 731 allClassesLink.style.display = "block"; 732 } 733 else { 734 allClassesLink.style.display = "none"; 735 } 736 //--> 737</script> 738</div> 739<div> 740<ul class="subNavList"> 741<li>Summary: </li> 742<li>Nested | </li> 743<li><a href="#field.summary">Field</a> | </li> 744<li><a href="#constructor.summary">Constr</a> | </li> 745<li><a href="#method.summary">Method</a></li> 746</ul> 747<ul class="subNavList"> 748<li>Detail: </li> 749<li><a href="#field.detail">Field</a> | </li> 750<li><a href="#constructor.detail">Constr</a> | </li> 751<li><a href="#method.detail">Method</a></li> 752</ul> 753</div> 754<a name="skip.navbar.bottom"> 755<!-- --> 756</a></div> 757<!-- ======== END OF BOTTOM NAVBAR ======= --> 758<p class="legalCopy"><small>Copyright © 2008–2018 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 759</body> 760</html> 761