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>ValueNode (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="ValueNode (jackson-databind 2.9.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":10,"i1":6,"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,"i15":10,"i16":10,"i17":10}; 23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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/ValueNode.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/TreeTraversingParser.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Prev Class</span></a></li> 54<li>Next Class</li> 55</ul> 56<ul class="navList"> 57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/ValueNode.html" target="_top">Frames</a></li> 58<li><a href="ValueNode.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>Field | </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>Field | </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 ValueNode" class="title">Class ValueNode</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>com.fasterxml.jackson.databind.node.ValueNode</li> 114</ul> 115</li> 116</ul> 117</li> 118</ul> 119</li> 120</ul> 121</li> 122</ul> 123<div class="description"> 124<ul class="blockList"> 125<li class="blockList"> 126<dl> 127<dt>All Implemented Interfaces:</dt> 128<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> 129</dl> 130<dl> 131<dt>Direct Known Subclasses:</dt> 132<dd><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node">BinaryNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node">BooleanNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html" title="class in com.fasterxml.jackson.databind.node">MissingNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node">NullNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html" title="class in com.fasterxml.jackson.databind.node">POJONode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html" title="class in com.fasterxml.jackson.databind.node">TextNode</a></dd> 133</dl> 134<hr> 135<br> 136<pre>public abstract class <span class="typeNameLabel">ValueNode</span> 137extends <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></pre> 138<div class="block">This intermediate base class is used for all leaf nodes, that is, 139 all non-container (array or object) nodes, except for the 140 "missing node".</div> 141</li> 142</ul> 143</div> 144<div class="summary"> 145<ul class="blockList"> 146<li class="blockList"> 147<!-- ======== NESTED CLASS SUMMARY ======== --> 148<ul class="blockList"> 149<li class="blockList"><a name="nested.class.summary"> 150<!-- --> 151</a> 152<h3>Nested Class Summary</h3> 153<ul class="blockList"> 154<li class="blockList"><a name="nested.classes.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable"> 155<!-- --> 156</a> 157<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> 158<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">JsonSerializable.Base</a></code></li> 159</ul> 160</li> 161</ul> 162<!-- ======== CONSTRUCTOR SUMMARY ======== --> 163<ul class="blockList"> 164<li class="blockList"><a name="constructor.summary"> 165<!-- --> 166</a> 167<h3>Constructor Summary</h3> 168<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 169<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 170<tr> 171<th class="colFirst" scope="col">Modifier</th> 172<th class="colLast" scope="col">Constructor and Description</th> 173</tr> 174<tr class="altColor"> 175<td class="colFirst"><code>protected </code></td> 176<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#ValueNode--">ValueNode</a></span>()</code> </td> 177</tr> 178</table> 179</li> 180</ul> 181<!-- ========== METHOD SUMMARY =========== --> 182<ul class="blockList"> 183<li class="blockList"><a name="method.summary"> 184<!-- --> 185</a> 186<h3>Method Summary</h3> 187<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 188<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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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> 189<tr> 190<th class="colFirst" scope="col">Modifier and Type</th> 191<th class="colLast" scope="col">Method and Description</th> 192</tr> 193<tr id="i0" class="altColor"> 194<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 195<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#Z:Z_at-com.fasterxml.jackson.core.JsonPointer-">_at</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonPointer.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonPointer</a> ptr)</code> </td> 196</tr> 197<tr id="i1" class="rowColor"> 198<td class="colFirst"><code>abstract <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> 199<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#asToken--">asToken</a></span>()</code> 200<div class="block">Method that can be used for efficient type detection 201 when using stream abstraction for traversing nodes.</div> 202</td> 203</tr> 204<tr id="i2" class="altColor"> 205<td class="colFirst"><code><T extends <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>><br>T</code></td> 206<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#deepCopy--">deepCopy</a></span>()</code> 207<div class="block">All current value nodes are immutable, so we can just return 208 them as is.</div> 209</td> 210</tr> 211<tr id="i3" class="rowColor"> 212<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 213<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findParent-java.lang.String-">findParent</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> fieldName)</code> 214<div class="block">Method for finding a JSON Object that contains specified field, 215 within this node or its descendants.</div> 216</td> 217</tr> 218<tr id="i4" class="altColor"> 219<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>></code></td> 220<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findParents-java.lang.String-java.util.List-">findParents</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> fieldName, 221 <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> foundSoFar)</code> </td> 222</tr> 223<tr id="i5" class="rowColor"> 224<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 225<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findValue-java.lang.String-">findValue</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> fieldName)</code> 226<div class="block">Method for finding a JSON Object field with specified name in this 227 node or its child nodes, and returning value it has.</div> 228</td> 229</tr> 230<tr id="i6" class="altColor"> 231<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>></code></td> 232<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findValues-java.lang.String-java.util.List-">findValues</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> fieldName, 233 <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> foundSoFar)</code> </td> 234</tr> 235<tr id="i7" class="rowColor"> 236<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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> 237<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findValuesAsText-java.lang.String-java.util.List-">findValuesAsText</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> fieldName, 238 <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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>> foundSoFar)</code> </td> 239</tr> 240<tr id="i8" class="altColor"> 241<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 242<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#get-int-">get</a></span>(int index)</code> 243<div class="block">Method for accessing value of the specified element of 244 an array node.</div> 245</td> 246</tr> 247<tr id="i9" class="rowColor"> 248<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 249<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#get-java.lang.String-">get</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> fieldName)</code> 250<div class="block">Method for accessing value of the specified field of 251 an object node.</div> 252</td> 253</tr> 254<tr id="i10" class="altColor"> 255<td class="colFirst"><code>boolean</code></td> 256<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#has-int-">has</a></span>(int index)</code> 257<div class="block">Method that allows checking whether this node is JSON Array node 258 and contains a value for specified index 259 If this is the case 260 (including case of specified indexing having null as value), returns true; 261 otherwise returns false.</div> 262</td> 263</tr> 264<tr id="i11" class="rowColor"> 265<td class="colFirst"><code>boolean</code></td> 266<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#has-java.lang.String-">has</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> fieldName)</code> 267<div class="block">Method that allows checking whether this node is JSON Object node 268 and contains value for specified property.</div> 269</td> 270</tr> 271<tr id="i12" class="altColor"> 272<td class="colFirst"><code>boolean</code></td> 273<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#hasNonNull-int-">hasNonNull</a></span>(int index)</code> 274<div class="block">Method that is similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has-int-"><code>JsonNode.has(int)</code></a>, but that will 275 return <code>false</code> for explicitly added nulls.</div> 276</td> 277</tr> 278<tr id="i13" class="rowColor"> 279<td class="colFirst"><code>boolean</code></td> 280<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#hasNonNull-java.lang.String-">hasNonNull</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> fieldName)</code> 281<div class="block">Method that is similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has-java.lang.String-"><code>JsonNode.has(String)</code></a>, but that will 282 return <code>false</code> for explicitly added nulls.</div> 283</td> 284</tr> 285<tr id="i14" class="altColor"> 286<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 287<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#path-int-">path</a></span>(int index)</code> 288<div class="block">This method is similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get-int-"><code>JsonNode.get(int)</code></a>, except 289 that instead of returning null if no such element exists (due 290 to index being out of range, or this node not being an array), 291 a "missing node" (node that returns true for 292 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--"><code>JsonNode.isMissingNode()</code></a>) will be returned.</div> 293</td> 294</tr> 295<tr id="i15" class="rowColor"> 296<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 297<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#path-java.lang.String-">path</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> fieldName)</code> 298<div class="block">This method is similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get-java.lang.String-"><code>JsonNode.get(String)</code></a>, except 299 that instead of returning null if no such value exists (due 300 to this node not being an object, or object not having value 301 for the specified field), 302 a "missing node" (node that returns true for 303 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--"><code>JsonNode.isMissingNode()</code></a>) will be returned.</div> 304</td> 305</tr> 306<tr id="i16" class="altColor"> 307<td class="colFirst"><code>void</code></td> 308<td class="colLast"><code><span class="memberNameLink"><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></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> g, 309 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, 310 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer)</code> 311<div class="block">Type information is needed, even if JsonNode instances are "plain" JSON, 312 since they may be mixed with other types.</div> 313</td> 314</tr> 315<tr id="i17" class="rowColor"> 316<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> 317<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#toString--">toString</a></span>()</code> 318<div class="block">Method that will produce developer-readable representation of the 319 node; which may <b>or may not</b> be as valid JSON.</div> 320</td> 321</tr> 322</table> 323<ul class="blockList"> 324<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.node.BaseJsonNode"> 325<!-- --> 326</a> 327<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> 328<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#hashCode--">hashCode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#numberType--">numberType</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</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> 329</ul> 330<ul class="blockList"> 331<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonNode"> 332<!-- --> 333</a> 334<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> 335<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#asDouble--">asDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble-double-">asDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt--">asInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt-int-">asInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong--">asLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong-long-">asLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText--">asText</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#bigIntegerValue--">bigIntegerValue</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#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#equals-java.lang.Object-">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#getNodeType--">getNodeType</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> 336</ul> 337<ul class="blockList"> 338<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable.Base"> 339<!-- --> 340</a> 341<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> 342<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html#isEmpty-com.fasterxml.jackson.databind.SerializerProvider-">isEmpty</a></code></li> 343</ul> 344<ul class="blockList"> 345<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 346<!-- --> 347</a> 348<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> 349<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> 350</ul> 351<ul class="blockList"> 352<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable"> 353<!-- --> 354</a> 355<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> 356<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> 357</ul> 358</li> 359</ul> 360</li> 361</ul> 362</div> 363<div class="details"> 364<ul class="blockList"> 365<li class="blockList"> 366<!-- ========= CONSTRUCTOR DETAIL ======== --> 367<ul class="blockList"> 368<li class="blockList"><a name="constructor.detail"> 369<!-- --> 370</a> 371<h3>Constructor Detail</h3> 372<a name="ValueNode--"> 373<!-- --> 374</a> 375<ul class="blockListLast"> 376<li class="blockList"> 377<h4>ValueNode</h4> 378<pre>protected ValueNode()</pre> 379</li> 380</ul> 381</li> 382</ul> 383<!-- ============ METHOD DETAIL ========== --> 384<ul class="blockList"> 385<li class="blockList"><a name="method.detail"> 386<!-- --> 387</a> 388<h3>Method Detail</h3> 389<a name="Z:Z_at-com.fasterxml.jackson.core.JsonPointer-"> 390<!-- --> 391</a> 392<ul class="blockList"> 393<li class="blockList"> 394<h4>_at</h4> 395<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> _at(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonPointer.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonPointer</a> ptr)</pre> 396<dl> 397<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 398<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#Z:Z_at-com.fasterxml.jackson.core.JsonPointer-">_at</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 399</dl> 400</li> 401</ul> 402<a name="deepCopy--"> 403<!-- --> 404</a> 405<ul class="blockList"> 406<li class="blockList"> 407<h4>deepCopy</h4> 408<pre>public <T extends <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> T deepCopy()</pre> 409<div class="block">All current value nodes are immutable, so we can just return 410 them as is.</div> 411<dl> 412<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 413<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#deepCopy--">deepCopy</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 414<dt><span class="returnLabel">Returns:</span></dt> 415<dd>Node that is either a copy of this node (and all non-leaf 416 children); or, for immutable leaf nodes, node itself.</dd> 417</dl> 418</li> 419</ul> 420<a name="asToken--"> 421<!-- --> 422</a> 423<ul class="blockList"> 424<li class="blockList"> 425<h4>asToken</h4> 426<pre>public abstract <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> 427<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> 428<div class="block">Method that can be used for efficient type detection 429 when using stream abstraction for traversing nodes. 430 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 431 stream event would produce (for most nodes there is just 432 one token but for structured/container types multiple)</div> 433<dl> 434<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 435<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> 436<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 437<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken--">asToken</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> 438</dl> 439</li> 440</ul> 441<a name="serializeWithType-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-"> 442<!-- --> 443</a> 444<ul class="blockList"> 445<li class="blockList"> 446<h4>serializeWithType</h4> 447<pre>public void serializeWithType(<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> g, 448 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, 449 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer) 450 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> 451<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serializeWithType-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">BaseJsonNode</a></code></span></div> 452<div class="block">Type information is needed, even if JsonNode instances are "plain" JSON, 453 since they may be mixed with other types.</div> 454<dl> 455<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 456<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serializeWithType-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">serializeWithType</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></code></dd> 457<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 458<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serializeWithType-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">serializeWithType</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> 459<dt><span class="throwsLabel">Throws:</span></dt> 460<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> 461</dl> 462</li> 463</ul> 464<a name="toString--"> 465<!-- --> 466</a> 467<ul class="blockList"> 468<li class="blockList"> 469<h4>toString</h4> 470<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> 471<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> 472<div class="block">Method that will produce developer-readable representation of the 473 node; which may <b>or may not</b> be as valid JSON. 474 If you want valid JSON output (or output formatted using one of 475 other Jackson supported data formats) make sure to use 476 <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 477 instance, for example: 478<pre> 479 String json = objectMapper.writeValueAsString(rootNode); 480</pre> 481<p> 482 Note: method defined as abstract to ensure all implementation 483 classes explicitly implement method, instead of relying 484 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> 485<dl> 486<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 487<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toString--">toString</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 488</dl> 489</li> 490</ul> 491<a name="get-int-"> 492<!-- --> 493</a> 494<ul class="blockList"> 495<li class="blockList"> 496<h4>get</h4> 497<pre>public final <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> get(int index)</pre> 498<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get-int-">JsonNode</a></code></span></div> 499<div class="block">Method for accessing value of the specified element of 500 an array node. For other nodes, null is always returned. 501<p> 502 For array nodes, index specifies 503 exact location within array and allows for efficient iteration 504 over child elements (underlying storage is guaranteed to 505 be efficiently indexable, i.e. has random-access to elements). 506 If index is less than 0, or equal-or-greater than 507 <code>node.size()</code>, null is returned; no exception is 508 thrown for any index. 509<p> 510 NOTE: if the element value has been explicitly set as <code>null</code> 511 (which is different from removal!), 512 a <a href="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node"><code>NullNode</code></a> will be returned, 513 not null.</div> 514<dl> 515<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 516<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#get-int-" title="class or interface in com.fasterxml.jackson.core">get</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> 517<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 518<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get-int-">get</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 519<dt><span class="returnLabel">Returns:</span></dt> 520<dd>Node that represent value of the specified element, 521 if this node is an array and has specified element. 522 Null otherwise.</dd> 523</dl> 524</li> 525</ul> 526<a name="path-int-"> 527<!-- --> 528</a> 529<ul class="blockList"> 530<li class="blockList"> 531<h4>path</h4> 532<pre>public final <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> path(int index)</pre> 533<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path-int-">JsonNode</a></code></span></div> 534<div class="block">This method is similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get-int-"><code>JsonNode.get(int)</code></a>, except 535 that instead of returning null if no such element exists (due 536 to index being out of range, or this node not being an array), 537 a "missing node" (node that returns true for 538 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--"><code>JsonNode.isMissingNode()</code></a>) will be returned. This allows for 539 convenient and safe chained access via path calls.</div> 540<dl> 541<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 542<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#path-int-" title="class or interface in com.fasterxml.jackson.core">path</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> 543<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 544<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path-int-">path</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 545</dl> 546</li> 547</ul> 548<a name="has-int-"> 549<!-- --> 550</a> 551<ul class="blockList"> 552<li class="blockList"> 553<h4>has</h4> 554<pre>public final boolean has(int index)</pre> 555<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has-int-">JsonNode</a></code></span></div> 556<div class="block">Method that allows checking whether this node is JSON Array node 557 and contains a value for specified index 558 If this is the case 559 (including case of specified indexing having null as value), returns true; 560 otherwise returns false. 561<p> 562 Note: array element indexes are 0-based. 563<p> 564 This method is equivalent to: 565<pre> 566 node.get(index) != null 567</pre> 568<p> 569 NOTE: this method will return <code>true</code> for explicitly added 570 null values.</div> 571<dl> 572<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 573<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has-int-">has</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 574<dt><span class="paramLabel">Parameters:</span></dt> 575<dd><code>index</code> - Index to check</dd> 576<dt><span class="returnLabel">Returns:</span></dt> 577<dd>True if this node is a JSON Object node, and has a property 578 entry with specified name (with any value, including null value)</dd> 579</dl> 580</li> 581</ul> 582<a name="hasNonNull-int-"> 583<!-- --> 584</a> 585<ul class="blockList"> 586<li class="blockList"> 587<h4>hasNonNull</h4> 588<pre>public final boolean hasNonNull(int index)</pre> 589<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull-int-">JsonNode</a></code></span></div> 590<div class="block">Method that is similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has-int-"><code>JsonNode.has(int)</code></a>, but that will 591 return <code>false</code> for explicitly added nulls. 592<p> 593 This method is equivalent to: 594<pre> 595 node.get(index) != null << !node.get(index).isNull() 596</pre></div> 597<dl> 598<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 599<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull-int-">hasNonNull</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 600</dl> 601</li> 602</ul> 603<a name="get-java.lang.String-"> 604<!-- --> 605</a> 606<ul class="blockList"> 607<li class="blockList"> 608<h4>get</h4> 609<pre>public final <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> get(<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> fieldName)</pre> 610<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get-java.lang.String-">JsonNode</a></code></span></div> 611<div class="block">Method for accessing value of the specified field of 612 an object node. If this node is not an object (or it 613 does not have a value for specified field name), or 614 if there is no field with such name, null is returned. 615<p> 616 NOTE: if the property value has been explicitly set as <code>null</code> 617 (which is different from removal!), 618 a <a href="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node"><code>NullNode</code></a> will be returned, 619 not null.</div> 620<dl> 621<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 622<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#get-java.lang.String-" title="class or interface in com.fasterxml.jackson.core">get</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> 623<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 624<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get-java.lang.String-">get</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 625<dt><span class="returnLabel">Returns:</span></dt> 626<dd>Node that represent value of the specified field, 627 if this node is an object and has value for the specified 628 field. Null otherwise.</dd> 629</dl> 630</li> 631</ul> 632<a name="path-java.lang.String-"> 633<!-- --> 634</a> 635<ul class="blockList"> 636<li class="blockList"> 637<h4>path</h4> 638<pre>public final <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> path(<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> fieldName)</pre> 639<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path-java.lang.String-">JsonNode</a></code></span></div> 640<div class="block">This method is similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get-java.lang.String-"><code>JsonNode.get(String)</code></a>, except 641 that instead of returning null if no such value exists (due 642 to this node not being an object, or object not having value 643 for the specified field), 644 a "missing node" (node that returns true for 645 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--"><code>JsonNode.isMissingNode()</code></a>) will be returned. This allows for 646 convenient and safe chained access via path calls.</div> 647<dl> 648<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 649<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#path-java.lang.String-" title="class or interface in com.fasterxml.jackson.core">path</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> 650<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 651<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path-java.lang.String-">path</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 652</dl> 653</li> 654</ul> 655<a name="has-java.lang.String-"> 656<!-- --> 657</a> 658<ul class="blockList"> 659<li class="blockList"> 660<h4>has</h4> 661<pre>public final boolean has(<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> fieldName)</pre> 662<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has-java.lang.String-">JsonNode</a></code></span></div> 663<div class="block">Method that allows checking whether this node is JSON Object node 664 and contains value for specified property. If this is the case 665 (including properties with explicit null values), returns true; 666 otherwise returns false. 667<p> 668 This method is equivalent to: 669<pre> 670 node.get(fieldName) != null 671</pre> 672 (since return value of get() is node, not value node contains) 673<p> 674 NOTE: when explicit <code>null</code> values are added, this 675 method will return <code>true</code> for such properties.</div> 676<dl> 677<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 678<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has-java.lang.String-">has</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 679<dt><span class="paramLabel">Parameters:</span></dt> 680<dd><code>fieldName</code> - Name of element to check</dd> 681<dt><span class="returnLabel">Returns:</span></dt> 682<dd>True if this node is a JSON Object node, and has a property 683 entry with specified name (with any value, including null value)</dd> 684</dl> 685</li> 686</ul> 687<a name="hasNonNull-java.lang.String-"> 688<!-- --> 689</a> 690<ul class="blockList"> 691<li class="blockList"> 692<h4>hasNonNull</h4> 693<pre>public final boolean hasNonNull(<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> fieldName)</pre> 694<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull-java.lang.String-">JsonNode</a></code></span></div> 695<div class="block">Method that is similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has-java.lang.String-"><code>JsonNode.has(String)</code></a>, but that will 696 return <code>false</code> for explicitly added nulls. 697<p> 698 This method is functionally equivalent to: 699<pre> 700 node.get(fieldName) != null << !node.get(fieldName).isNull() 701</pre></div> 702<dl> 703<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 704<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull-java.lang.String-">hasNonNull</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 705</dl> 706</li> 707</ul> 708<a name="findValue-java.lang.String-"> 709<!-- --> 710</a> 711<ul class="blockList"> 712<li class="blockList"> 713<h4>findValue</h4> 714<pre>public final <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> findValue(<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> fieldName)</pre> 715<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue-java.lang.String-">JsonNode</a></code></span></div> 716<div class="block">Method for finding a JSON Object field with specified name in this 717 node or its child nodes, and returning value it has. 718 If no matching field is found in this node or its descendants, returns null.</div> 719<dl> 720<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 721<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue-java.lang.String-">findValue</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<dt><span class="paramLabel">Parameters:</span></dt> 723<dd><code>fieldName</code> - Name of field to look for</dd> 724<dt><span class="returnLabel">Returns:</span></dt> 725<dd>Value of first matching node found, if any; null if none</dd> 726</dl> 727</li> 728</ul> 729<a name="findParent-java.lang.String-"> 730<!-- --> 731</a> 732<ul class="blockList"> 733<li class="blockList"> 734<h4>findParent</h4> 735<pre>public final <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> findParent(<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> fieldName)</pre> 736<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParent-java.lang.String-">JsonNode</a></code></span></div> 737<div class="block">Method for finding a JSON Object that contains specified field, 738 within this node or its descendants. 739 If no matching field is found in this node or its descendants, returns null.</div> 740<dl> 741<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 742<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParent-java.lang.String-">findParent</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 743<dt><span class="paramLabel">Parameters:</span></dt> 744<dd><code>fieldName</code> - Name of field to look for</dd> 745<dt><span class="returnLabel">Returns:</span></dt> 746<dd>Value of first matching node found, if any; null if none</dd> 747</dl> 748</li> 749</ul> 750<a name="findValues-java.lang.String-java.util.List-"> 751<!-- --> 752</a> 753<ul class="blockList"> 754<li class="blockList"> 755<h4>findValues</h4> 756<pre>public final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> findValues(<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> fieldName, 757 <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> foundSoFar)</pre> 758<dl> 759<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 760<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues-java.lang.String-java.util.List-">findValues</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 761</dl> 762</li> 763</ul> 764<a name="findValuesAsText-java.lang.String-java.util.List-"> 765<!-- --> 766</a> 767<ul class="blockList"> 768<li class="blockList"> 769<h4>findValuesAsText</h4> 770<pre>public final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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>> findValuesAsText(<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> fieldName, 771 <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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>> foundSoFar)</pre> 772<dl> 773<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 774<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValuesAsText-java.lang.String-java.util.List-">findValuesAsText</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 775</dl> 776</li> 777</ul> 778<a name="findParents-java.lang.String-java.util.List-"> 779<!-- --> 780</a> 781<ul class="blockListLast"> 782<li class="blockList"> 783<h4>findParents</h4> 784<pre>public final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> findParents(<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> fieldName, 785 <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> foundSoFar)</pre> 786<dl> 787<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 788<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParents-java.lang.String-java.util.List-">findParents</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 789</dl> 790</li> 791</ul> 792</li> 793</ul> 794</li> 795</ul> 796</div> 797</div> 798<!-- ========= END OF CLASS DATA ========= --> 799<!-- ======= START OF BOTTOM NAVBAR ====== --> 800<div class="bottomNav"><a name="navbar.bottom"> 801<!-- --> 802</a> 803<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 804<a name="navbar.bottom.firstrow"> 805<!-- --> 806</a> 807<ul class="navList" title="Navigation"> 808<li><a href="../../../../../overview-summary.html">Overview</a></li> 809<li><a href="package-summary.html">Package</a></li> 810<li class="navBarCell1Rev">Class</li> 811<li><a href="class-use/ValueNode.html">Use</a></li> 812<li><a href="package-tree.html">Tree</a></li> 813<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 814<li><a href="../../../../../index-all.html">Index</a></li> 815<li><a href="../../../../../help-doc.html">Help</a></li> 816</ul> 817</div> 818<div class="subNav"> 819<ul class="navList"> 820<li><a href="../../../../../com/fasterxml/jackson/databind/node/TreeTraversingParser.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Prev Class</span></a></li> 821<li>Next Class</li> 822</ul> 823<ul class="navList"> 824<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/ValueNode.html" target="_top">Frames</a></li> 825<li><a href="ValueNode.html" target="_top">No Frames</a></li> 826</ul> 827<ul class="navList" id="allclasses_navbar_bottom"> 828<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 829</ul> 830<div> 831<script type="text/javascript"><!-- 832 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 833 if(window==top) { 834 allClassesLink.style.display = "block"; 835 } 836 else { 837 allClassesLink.style.display = "none"; 838 } 839 //--> 840</script> 841</div> 842<div> 843<ul class="subNavList"> 844<li>Summary: </li> 845<li>Nested | </li> 846<li>Field | </li> 847<li><a href="#constructor.summary">Constr</a> | </li> 848<li><a href="#method.summary">Method</a></li> 849</ul> 850<ul class="subNavList"> 851<li>Detail: </li> 852<li>Field | </li> 853<li><a href="#constructor.detail">Constr</a> | </li> 854<li><a href="#method.detail">Method</a></li> 855</ul> 856</div> 857<a name="skip.navbar.bottom"> 858<!-- --> 859</a></div> 860<!-- ======== END OF BOTTOM NAVBAR ======= --> 861<p class="legalCopy"><small>Copyright © 2008–2018 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 862</body> 863</html> 864