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) on Sun Jul 19 11:36:53 PDT 2015 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>ValueNode (jackson-databind 2.6.0 API)</title> 8<meta name="date" content="2015-07-19"> 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.6.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/6/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>com.fasterxml.jackson.core.TreeNode, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>></dd> 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>(com.fasterxml.jackson.core.JsonPointer ptr)</code> </td> 196</tr> 197<tr id="i1" class="rowColor"> 198<td class="colFirst"><code>abstract com.fasterxml.jackson.core.JsonToken</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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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>(com.fasterxml.jackson.core.JsonGenerator jg, 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/6/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"> 319 Note: marked as abstract to ensure all implementation 320 classes define it properly.</div> 321</td> 322</tr> 323</table> 324<ul class="blockList"> 325<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.node.BaseJsonNode"> 326<!-- --> 327</a> 328<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> 329<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#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> 330</ul> 331<ul class="blockList"> 332<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonNode"> 333<!-- --> 334</a> 335<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> 336<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> 337</ul> 338<ul class="blockList"> 339<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable.Base"> 340<!-- --> 341</a> 342<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> 343<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html#isEmpty-com.fasterxml.jackson.databind.SerializerProvider-">isEmpty</a></code></li> 344</ul> 345<ul class="blockList"> 346<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 347<!-- --> 348</a> 349<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 350<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> 351</ul> 352<ul class="blockList"> 353<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable"> 354<!-- --> 355</a> 356<h3>Methods inherited from interface java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a></h3> 357<code><a href="http://docs.oracle.com/javase/6/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/6/docs/api/java/lang/Iterable.html?is-external=true#spliterator--" title="class or interface in java.lang">spliterator</a></code></li> 358</ul> 359</li> 360</ul> 361</li> 362</ul> 363</div> 364<div class="details"> 365<ul class="blockList"> 366<li class="blockList"> 367<!-- ========= CONSTRUCTOR DETAIL ======== --> 368<ul class="blockList"> 369<li class="blockList"><a name="constructor.detail"> 370<!-- --> 371</a> 372<h3>Constructor Detail</h3> 373<a name="ValueNode--"> 374<!-- --> 375</a> 376<ul class="blockListLast"> 377<li class="blockList"> 378<h4>ValueNode</h4> 379<pre>protected ValueNode()</pre> 380</li> 381</ul> 382</li> 383</ul> 384<!-- ============ METHOD DETAIL ========== --> 385<ul class="blockList"> 386<li class="blockList"><a name="method.detail"> 387<!-- --> 388</a> 389<h3>Method Detail</h3> 390<a name="Z:Z_at-com.fasterxml.jackson.core.JsonPointer-"> 391<!-- --> 392</a> 393<ul class="blockList"> 394<li class="blockList"> 395<h4>_at</h4> 396<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> _at(com.fasterxml.jackson.core.JsonPointer ptr)</pre> 397<dl> 398<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 399<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> 400</dl> 401</li> 402</ul> 403<a name="deepCopy--"> 404<!-- --> 405</a> 406<ul class="blockList"> 407<li class="blockList"> 408<h4>deepCopy</h4> 409<pre>public <T extends <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> T deepCopy()</pre> 410<div class="block">All current value nodes are immutable, so we can just return 411 them as is.</div> 412<dl> 413<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 414<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> 415<dt><span class="returnLabel">Returns:</span></dt> 416<dd>Node that is either a copy of this node (and all non-leaf 417 children); or, for immutable leaf nodes, node itself.</dd> 418</dl> 419</li> 420</ul> 421<a name="asToken--"> 422<!-- --> 423</a> 424<ul class="blockList"> 425<li class="blockList"> 426<h4>asToken</h4> 427<pre>public abstract com.fasterxml.jackson.core.JsonToken asToken()</pre> 428<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> 429<div class="block">Method that can be used for efficient type detection 430 when using stream abstraction for traversing nodes. 431 Will return the first <code>JsonToken</code> that equivalent 432 stream event would produce (for most nodes there is just 433 one token but for structured/container types multiple)</div> 434<dl> 435<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 436<dd><code>asToken</code> in interface <code>com.fasterxml.jackson.core.TreeNode</code></dd> 437<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 438<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> 439</dl> 440</li> 441</ul> 442<a name="serializeWithType-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-"> 443<!-- --> 444</a> 445<ul class="blockList"> 446<li class="blockList"> 447<h4>serializeWithType</h4> 448<pre>public void serializeWithType(com.fasterxml.jackson.core.JsonGenerator jg, 449 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, 450 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer) 451 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, 452 com.fasterxml.jackson.core.JsonProcessingException</pre> 453<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> 454<div class="block">Type information is needed, even if JsonNode instances are "plain" JSON, 455 since they may be mixed with other types.</div> 456<dl> 457<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 458<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> 459<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 460<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> 461<dt><span class="throwsLabel">Throws:</span></dt> 462<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 463<dd><code>com.fasterxml.jackson.core.JsonProcessingException</code></dd> 464</dl> 465</li> 466</ul> 467<a name="toString--"> 468<!-- --> 469</a> 470<ul class="blockList"> 471<li class="blockList"> 472<h4>toString</h4> 473<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> 474<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> 475<div class="block"><p> 476 Note: marked as abstract to ensure all implementation 477 classes define it properly.</div> 478<dl> 479<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 480<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> 481</dl> 482</li> 483</ul> 484<a name="get-int-"> 485<!-- --> 486</a> 487<ul class="blockList"> 488<li class="blockList"> 489<h4>get</h4> 490<pre>public final <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> get(int index)</pre> 491<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> 492<div class="block">Method for accessing value of the specified element of 493 an array node. For other nodes, null is always returned. 494<p> 495 For array nodes, index specifies 496 exact location within array and allows for efficient iteration 497 over child elements (underlying storage is guaranteed to 498 be efficiently indexable, i.e. has random-access to elements). 499 If index is less than 0, or equal-or-greater than 500 <code>node.size()</code>, null is returned; no exception is 501 thrown for any index. 502<p> 503 NOTE: if the element value has been explicitly set as <code>null</code> 504 (which is different from removal!), 505 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, 506 not null.</div> 507<dl> 508<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 509<dd><code>get</code> in interface <code>com.fasterxml.jackson.core.TreeNode</code></dd> 510<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 511<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> 512<dt><span class="returnLabel">Returns:</span></dt> 513<dd>Node that represent value of the specified element, 514 if this node is an array and has specified element. 515 Null otherwise.</dd> 516</dl> 517</li> 518</ul> 519<a name="path-int-"> 520<!-- --> 521</a> 522<ul class="blockList"> 523<li class="blockList"> 524<h4>path</h4> 525<pre>public final <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> path(int index)</pre> 526<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> 527<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 528 that instead of returning null if no such element exists (due 529 to index being out of range, or this node not being an array), 530 a "missing node" (node that returns true for 531 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--"><code>JsonNode.isMissingNode()</code></a>) will be returned. This allows for 532 convenient and safe chained access via path calls.</div> 533<dl> 534<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 535<dd><code>path</code> in interface <code>com.fasterxml.jackson.core.TreeNode</code></dd> 536<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 537<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> 538</dl> 539</li> 540</ul> 541<a name="has-int-"> 542<!-- --> 543</a> 544<ul class="blockList"> 545<li class="blockList"> 546<h4>has</h4> 547<pre>public final boolean has(int index)</pre> 548<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> 549<div class="block">Method that allows checking whether this node is JSON Array node 550 and contains a value for specified index 551 If this is the case 552 (including case of specified indexing having null as value), returns true; 553 otherwise returns false. 554<p> 555 Note: array element indexes are 0-based. 556<p> 557 This method is equivalent to: 558<pre> 559 node.get(index) != null 560</pre> 561<p> 562 NOTE: this method will return <code>true</code> for explicitly added 563 null values.</div> 564<dl> 565<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 566<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> 567<dt><span class="paramLabel">Parameters:</span></dt> 568<dd><code>index</code> - Index to check</dd> 569<dt><span class="returnLabel">Returns:</span></dt> 570<dd>True if this node is a JSON Object node, and has a property 571 entry with specified name (with any value, including null value)</dd> 572</dl> 573</li> 574</ul> 575<a name="hasNonNull-int-"> 576<!-- --> 577</a> 578<ul class="blockList"> 579<li class="blockList"> 580<h4>hasNonNull</h4> 581<pre>public final boolean hasNonNull(int index)</pre> 582<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> 583<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 584 return <code>false</code> for explicitly added nulls. 585<p> 586 This method is equivalent to: 587<pre> 588 node.get(index) != null << !node.get(index).isNull() 589</pre></div> 590<dl> 591<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 592<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> 593</dl> 594</li> 595</ul> 596<a name="get-java.lang.String-"> 597<!-- --> 598</a> 599<ul class="blockList"> 600<li class="blockList"> 601<h4>get</h4> 602<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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</pre> 603<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> 604<div class="block">Method for accessing value of the specified field of 605 an object node. If this node is not an object (or it 606 does not have a value for specified field name), or 607 if there is no field with such name, null is returned. 608<p> 609 NOTE: if the property value has been explicitly set as <code>null</code> 610 (which is different from removal!), 611 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, 612 not null.</div> 613<dl> 614<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 615<dd><code>get</code> in interface <code>com.fasterxml.jackson.core.TreeNode</code></dd> 616<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 617<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> 618<dt><span class="returnLabel">Returns:</span></dt> 619<dd>Node that represent value of the specified field, 620 if this node is an object and has value for the specified 621 field. Null otherwise.</dd> 622</dl> 623</li> 624</ul> 625<a name="path-java.lang.String-"> 626<!-- --> 627</a> 628<ul class="blockList"> 629<li class="blockList"> 630<h4>path</h4> 631<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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</pre> 632<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> 633<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 634 that instead of returning null if no such value exists (due 635 to this node not being an object, or object not having value 636 for the specified field), 637 a "missing node" (node that returns true for 638 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--"><code>JsonNode.isMissingNode()</code></a>) will be returned. This allows for 639 convenient and safe chained access via path calls.</div> 640<dl> 641<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 642<dd><code>path</code> in interface <code>com.fasterxml.jackson.core.TreeNode</code></dd> 643<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 644<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> 645</dl> 646</li> 647</ul> 648<a name="has-java.lang.String-"> 649<!-- --> 650</a> 651<ul class="blockList"> 652<li class="blockList"> 653<h4>has</h4> 654<pre>public final boolean has(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</pre> 655<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> 656<div class="block">Method that allows checking whether this node is JSON Object node 657 and contains value for specified property. If this is the case 658 (including properties with explicit null values), returns true; 659 otherwise returns false. 660<p> 661 This method is equivalent to: 662<pre> 663 node.get(fieldName) != null 664</pre> 665 (since return value of get() is node, not value node contains) 666<p> 667 NOTE: when explicit <code>null</code> values are added, this 668 method will return <code>true</code> for such properties.</div> 669<dl> 670<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 671<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> 672<dt><span class="paramLabel">Parameters:</span></dt> 673<dd><code>fieldName</code> - Name of element to check</dd> 674<dt><span class="returnLabel">Returns:</span></dt> 675<dd>True if this node is a JSON Object node, and has a property 676 entry with specified name (with any value, including null value)</dd> 677</dl> 678</li> 679</ul> 680<a name="hasNonNull-java.lang.String-"> 681<!-- --> 682</a> 683<ul class="blockList"> 684<li class="blockList"> 685<h4>hasNonNull</h4> 686<pre>public final boolean hasNonNull(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</pre> 687<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> 688<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 689 return <code>false</code> for explicitly added nulls. 690<p> 691 This method is functionally equivalent to: 692<pre> 693 node.get(fieldName) != null << !node.get(fieldName).isNull() 694</pre></div> 695<dl> 696<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 697<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> 698</dl> 699</li> 700</ul> 701<a name="findValue-java.lang.String-"> 702<!-- --> 703</a> 704<ul class="blockList"> 705<li class="blockList"> 706<h4>findValue</h4> 707<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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</pre> 708<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> 709<div class="block">Method for finding a JSON Object field with specified name in this 710 node or its child nodes, and returning value it has. 711 If no matching field is found in this node or its descendants, returns null.</div> 712<dl> 713<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 714<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> 715<dt><span class="paramLabel">Parameters:</span></dt> 716<dd><code>fieldName</code> - Name of field to look for</dd> 717<dt><span class="returnLabel">Returns:</span></dt> 718<dd>Value of first matching node found, if any; null if none</dd> 719</dl> 720</li> 721</ul> 722<a name="findParent-java.lang.String-"> 723<!-- --> 724</a> 725<ul class="blockList"> 726<li class="blockList"> 727<h4>findParent</h4> 728<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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</pre> 729<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> 730<div class="block">Method for finding a JSON Object that contains specified field, 731 within this node or its descendants. 732 If no matching field is found in this node or its descendants, returns null.</div> 733<dl> 734<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 735<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> 736<dt><span class="paramLabel">Parameters:</span></dt> 737<dd><code>fieldName</code> - Name of field to look for</dd> 738<dt><span class="returnLabel">Returns:</span></dt> 739<dd>Value of first matching node found, if any; null if none</dd> 740</dl> 741</li> 742</ul> 743<a name="findValues-java.lang.String-java.util.List-"> 744<!-- --> 745</a> 746<ul class="blockList"> 747<li class="blockList"> 748<h4>findValues</h4> 749<pre>public final <a href="http://docs.oracle.com/javase/6/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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, 750 <a href="http://docs.oracle.com/javase/6/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> 751<dl> 752<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 753<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> 754</dl> 755</li> 756</ul> 757<a name="findValuesAsText-java.lang.String-java.util.List-"> 758<!-- --> 759</a> 760<ul class="blockList"> 761<li class="blockList"> 762<h4>findValuesAsText</h4> 763<pre>public final <a href="http://docs.oracle.com/javase/6/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/6/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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, 764 <a href="http://docs.oracle.com/javase/6/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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> foundSoFar)</pre> 765<dl> 766<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 767<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> 768</dl> 769</li> 770</ul> 771<a name="findParents-java.lang.String-java.util.List-"> 772<!-- --> 773</a> 774<ul class="blockListLast"> 775<li class="blockList"> 776<h4>findParents</h4> 777<pre>public final <a href="http://docs.oracle.com/javase/6/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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, 778 <a href="http://docs.oracle.com/javase/6/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> 779<dl> 780<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 781<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> 782</dl> 783</li> 784</ul> 785</li> 786</ul> 787</li> 788</ul> 789</div> 790</div> 791<!-- ========= END OF CLASS DATA ========= --> 792<!-- ======= START OF BOTTOM NAVBAR ====== --> 793<div class="bottomNav"><a name="navbar.bottom"> 794<!-- --> 795</a> 796<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 797<a name="navbar.bottom.firstrow"> 798<!-- --> 799</a> 800<ul class="navList" title="Navigation"> 801<li><a href="../../../../../overview-summary.html">Overview</a></li> 802<li><a href="package-summary.html">Package</a></li> 803<li class="navBarCell1Rev">Class</li> 804<li><a href="class-use/ValueNode.html">Use</a></li> 805<li><a href="package-tree.html">Tree</a></li> 806<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 807<li><a href="../../../../../index-all.html">Index</a></li> 808<li><a href="../../../../../help-doc.html">Help</a></li> 809</ul> 810</div> 811<div class="subNav"> 812<ul class="navList"> 813<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> 814<li>Next Class</li> 815</ul> 816<ul class="navList"> 817<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/ValueNode.html" target="_top">Frames</a></li> 818<li><a href="ValueNode.html" target="_top">No Frames</a></li> 819</ul> 820<ul class="navList" id="allclasses_navbar_bottom"> 821<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 822</ul> 823<div> 824<script type="text/javascript"><!-- 825 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 826 if(window==top) { 827 allClassesLink.style.display = "block"; 828 } 829 else { 830 allClassesLink.style.display = "none"; 831 } 832 //--> 833</script> 834</div> 835<div> 836<ul class="subNavList"> 837<li>Summary: </li> 838<li>Nested | </li> 839<li>Field | </li> 840<li><a href="#constructor.summary">Constr</a> | </li> 841<li><a href="#method.summary">Method</a></li> 842</ul> 843<ul class="subNavList"> 844<li>Detail: </li> 845<li>Field | </li> 846<li><a href="#constructor.detail">Constr</a> | </li> 847<li><a href="#method.detail">Method</a></li> 848</ul> 849</div> 850<a name="skip.navbar.bottom"> 851<!-- --> 852</a></div> 853<!-- ======== END OF BOTTOM NAVBAR ======= --> 854<p class="legalCopy"><small>Copyright © 2014–2015 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 855</body> 856</html> 857