1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_25) on Thu Jan 01 17:43:57 PST 2015 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>ValueNode (jackson-databind 2.5.0 API)</title> 8<meta name="date" content="2015-01-01"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10</head> 11<body> 12<script type="text/javascript"><!-- 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="ValueNode (jackson-databind 2.5.0 API)"; 15 } 16//--> 17</script> 18<noscript> 19<div>JavaScript is disabled on your browser.</div> 20</noscript> 21<!-- ========= START OF TOP NAVBAR ======= --> 22<div class="topNav"><a name="navbar_top"> 23<!-- --> 24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 25<!-- --> 26</a> 27<ul class="navList" title="Navigation"> 28<li><a href="../../../../../overview-summary.html">Overview</a></li> 29<li><a href="package-summary.html">Package</a></li> 30<li class="navBarCell1Rev">Class</li> 31<li><a href="class-use/ValueNode.html">Use</a></li> 32<li><a href="package-tree.html">Tree</a></li> 33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 34<li><a href="../../../../../index-all.html">Index</a></li> 35<li><a href="../../../../../help-doc.html">Help</a></li> 36</ul> 37</div> 38<div class="subNav"> 39<ul class="navList"> 40<li><a href="../../../../../com/fasterxml/jackson/databind/node/TreeTraversingParser.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Prev Class</span></a></li> 41<li>Next Class</li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/ValueNode.html" target="_top">Frames</a></li> 45<li><a href="ValueNode.html" target="_top">No Frames</a></li> 46</ul> 47<ul class="navList" id="allclasses_navbar_top"> 48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 49</ul> 50<div> 51<script type="text/javascript"><!-- 52 allClassesLink = document.getElementById("allclasses_navbar_top"); 53 if(window==top) { 54 allClassesLink.style.display = "block"; 55 } 56 else { 57 allClassesLink.style.display = "none"; 58 } 59 //--> 60</script> 61</div> 62<div> 63<ul class="subNavList"> 64<li>Summary: </li> 65<li>Nested | </li> 66<li>Field | </li> 67<li><a href="#constructor_summary">Constr</a> | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li>Field | </li> 73<li><a href="#constructor_detail">Constr</a> | </li> 74<li><a href="#method_detail">Method</a></li> 75</ul> 76</div> 77<a name="skip-navbar_top"> 78<!-- --> 79</a></div> 80<!-- ========= END OF TOP NAVBAR ========= --> 81<!-- ======== START OF CLASS DATA ======== --> 82<div class="header"> 83<div class="subTitle">com.fasterxml.jackson.databind.node</div> 84<h2 title="Class ValueNode" class="title">Class ValueNode</h2> 85</div> 86<div class="contentContainer"> 87<ul class="inheritance"> 88<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 89<li> 90<ul class="inheritance"> 91<li><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonNode</a></li> 92<li> 93<ul class="inheritance"> 94<li><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.BaseJsonNode</a></li> 95<li> 96<ul class="inheritance"> 97<li>com.fasterxml.jackson.databind.node.ValueNode</li> 98</ul> 99</li> 100</ul> 101</li> 102</ul> 103</li> 104</ul> 105<div class="description"> 106<ul class="blockList"> 107<li class="blockList"> 108<dl> 109<dt>All Implemented Interfaces:</dt> 110<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> 111</dl> 112<dl> 113<dt>Direct Known Subclasses:</dt> 114<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> 115</dl> 116<hr> 117<br> 118<pre>public abstract class <span class="strong">ValueNode</span> 119extends <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></pre> 120<div class="block">This intermediate base class is used for all leaf nodes, that is, 121 all non-container (array or object) nodes, except for the 122 "missing node".</div> 123</li> 124</ul> 125</div> 126<div class="summary"> 127<ul class="blockList"> 128<li class="blockList"> 129<!-- ======== CONSTRUCTOR SUMMARY ======== --> 130<ul class="blockList"> 131<li class="blockList"><a name="constructor_summary"> 132<!-- --> 133</a> 134<h3>Constructor Summary</h3> 135<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 136<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 137<tr> 138<th class="colFirst" scope="col">Modifier</th> 139<th class="colLast" scope="col">Constructor and Description</th> 140</tr> 141<tr class="altColor"> 142<td class="colFirst"><code>protected </code></td> 143<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#ValueNode()">ValueNode</a></strong>()</code> </td> 144</tr> 145</table> 146</li> 147</ul> 148<!-- ========== METHOD SUMMARY =========== --> 149<ul class="blockList"> 150<li class="blockList"><a name="method_summary"> 151<!-- --> 152</a> 153<h3>Method Summary</h3> 154<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 155<caption><span>Methods</span><span class="tabEnd"> </span></caption> 156<tr> 157<th class="colFirst" scope="col">Modifier and Type</th> 158<th class="colLast" scope="col">Method and Description</th> 159</tr> 160<tr class="altColor"> 161<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 162<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#_at(com.fasterxml.jackson.core.JsonPointer)">_at</a></strong>(com.fasterxml.jackson.core.JsonPointer ptr)</code> </td> 163</tr> 164<tr class="rowColor"> 165<td class="colFirst"><code>abstract com.fasterxml.jackson.core.JsonToken</code></td> 166<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#asToken()">asToken</a></strong>()</code> 167<div class="block">Method that can be used for efficient type detection 168 when using stream abstraction for traversing nodes.</div> 169</td> 170</tr> 171<tr class="altColor"> 172<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> 173<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#deepCopy()">deepCopy</a></strong>()</code> 174<div class="block">All current value nodes are immutable, so we can just return 175 them as is.</div> 176</td> 177</tr> 178<tr class="rowColor"> 179<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> 180<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findParent(java.lang.String)">findParent</a></strong>(<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> 181<div class="block">Method for finding a JSON Object that contains specified field, 182 within this node or its descendants.</div> 183</td> 184</tr> 185<tr class="altColor"> 186<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> 187<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findParents(java.lang.String, java.util.List)">findParents</a></strong>(<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, 188 <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> 189</tr> 190<tr class="rowColor"> 191<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 192<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findValue(java.lang.String)">findValue</a></strong>(<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> 193<div class="block">Method for finding a JSON Object field with specified name in this 194 node or its child nodes, and returning value it has.</div> 195</td> 196</tr> 197<tr class="altColor"> 198<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> 199<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findValues(java.lang.String, java.util.List)">findValues</a></strong>(<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, 200 <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> 201</tr> 202<tr class="rowColor"> 203<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> 204<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</a></strong>(<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, 205 <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> 206</tr> 207<tr class="altColor"> 208<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 209<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#get(int)">get</a></strong>(int index)</code> 210<div class="block">Method for accessing value of the specified element of 211 an array node.</div> 212</td> 213</tr> 214<tr class="rowColor"> 215<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 216<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#get(java.lang.String)">get</a></strong>(<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> 217<div class="block">Method for accessing value of the specified field of 218 an object node.</div> 219</td> 220</tr> 221<tr class="altColor"> 222<td class="colFirst"><code>boolean</code></td> 223<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#has(int)">has</a></strong>(int index)</code> 224<div class="block">Method that allows checking whether this node is JSON Array node 225 and contains a value for specified index 226 If this is the case 227 (including case of specified indexing having null as value), returns true; 228 otherwise returns false.</div> 229</td> 230</tr> 231<tr class="rowColor"> 232<td class="colFirst"><code>boolean</code></td> 233<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#has(java.lang.String)">has</a></strong>(<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> 234<div class="block">Method that allows checking whether this node is JSON Object node 235 and contains value for specified property.</div> 236</td> 237</tr> 238<tr class="altColor"> 239<td class="colFirst"><code>boolean</code></td> 240<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#hasNonNull(int)">hasNonNull</a></strong>(int index)</code> 241<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 242 return <code>false</code> for explicitly added nulls.</div> 243</td> 244</tr> 245<tr class="rowColor"> 246<td class="colFirst"><code>boolean</code></td> 247<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#hasNonNull(java.lang.String)">hasNonNull</a></strong>(<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> 248<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 249 return <code>false</code> for explicitly added nulls.</div> 250</td> 251</tr> 252<tr class="altColor"> 253<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 254<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#path(int)">path</a></strong>(int index)</code> 255<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 256 that instead of returning null if no such element exists (due 257 to index being out of range, or this node not being an array), 258 a "missing node" (node that returns true for 259 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned.</div> 260</td> 261</tr> 262<tr class="rowColor"> 263<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 264<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#path(java.lang.String)">path</a></strong>(<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> 265<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 266 that instead of returning null if no such value exists (due 267 to this node not being an object, or object not having value 268 for the specified field), 269 a "missing node" (node that returns true for 270 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned.</div> 271</td> 272</tr> 273<tr class="altColor"> 274<td class="colFirst"><code>void</code></td> 275<td class="colLast"><code><strong><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></strong>(com.fasterxml.jackson.core.JsonGenerator jg, 276 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, 277 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer)</code> 278<div class="block">Type information is needed, even if JsonNode instances are "plain" JSON, 279 since they may be mixed with other types.</div> 280</td> 281</tr> 282<tr class="rowColor"> 283<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> 284<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#toString()">toString</a></strong>()</code> 285<div class="block"> 286 Note: marked as abstract to ensure all implementation 287 classes define it properly.</div> 288</td> 289</tr> 290</table> 291<ul class="blockList"> 292<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.BaseJsonNode"> 293<!-- --> 294</a> 295<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> 296<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> 297</ul> 298<ul class="blockList"> 299<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"> 300<!-- --> 301</a> 302<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> 303<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.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> 304</ul> 305<ul class="blockList"> 306<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 307<!-- --> 308</a> 309<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> 310<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> 311</ul> 312</li> 313</ul> 314</li> 315</ul> 316</div> 317<div class="details"> 318<ul class="blockList"> 319<li class="blockList"> 320<!-- ========= CONSTRUCTOR DETAIL ======== --> 321<ul class="blockList"> 322<li class="blockList"><a name="constructor_detail"> 323<!-- --> 324</a> 325<h3>Constructor Detail</h3> 326<a name="ValueNode()"> 327<!-- --> 328</a> 329<ul class="blockListLast"> 330<li class="blockList"> 331<h4>ValueNode</h4> 332<pre>protected ValueNode()</pre> 333</li> 334</ul> 335</li> 336</ul> 337<!-- ============ METHOD DETAIL ========== --> 338<ul class="blockList"> 339<li class="blockList"><a name="method_detail"> 340<!-- --> 341</a> 342<h3>Method Detail</h3> 343<a name="_at(com.fasterxml.jackson.core.JsonPointer)"> 344<!-- --> 345</a> 346<ul class="blockList"> 347<li class="blockList"> 348<h4>_at</h4> 349<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> 350<dl> 351<dt><strong>Specified by:</strong></dt> 352<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#_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> 353</dl> 354</li> 355</ul> 356<a name="deepCopy()"> 357<!-- --> 358</a> 359<ul class="blockList"> 360<li class="blockList"> 361<h4>deepCopy</h4> 362<pre>public <T extends <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> T deepCopy()</pre> 363<div class="block">All current value nodes are immutable, so we can just return 364 them as is.</div> 365<dl> 366<dt><strong>Specified by:</strong></dt> 367<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> 368<dt><span class="strong">Returns:</span></dt><dd>Node that is either a copy of this node (and all non-leaf 369 children); or, for immutable leaf nodes, node itself.</dd></dl> 370</li> 371</ul> 372<a name="asToken()"> 373<!-- --> 374</a> 375<ul class="blockList"> 376<li class="blockList"> 377<h4>asToken</h4> 378<pre>public abstract com.fasterxml.jackson.core.JsonToken asToken()</pre> 379<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">BaseJsonNode</a></code></strong></div> 380<div class="block">Method that can be used for efficient type detection 381 when using stream abstraction for traversing nodes. 382 Will return the first <code>JsonToken</code> that equivalent 383 stream event would produce (for most nodes there is just 384 one token but for structured/container types multiple)</div> 385<dl> 386<dt><strong>Specified by:</strong></dt> 387<dd><code>asToken</code> in interface <code>com.fasterxml.jackson.core.TreeNode</code></dd> 388<dt><strong>Specified by:</strong></dt> 389<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> 390</dl> 391</li> 392</ul> 393<a name="serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)"> 394<!-- --> 395</a> 396<ul class="blockList"> 397<li class="blockList"> 398<h4>serializeWithType</h4> 399<pre>public void serializeWithType(com.fasterxml.jackson.core.JsonGenerator jg, 400 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, 401 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer) 402 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>, 403 com.fasterxml.jackson.core.JsonProcessingException</pre> 404<div class="block"><strong>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></strong></div> 405<div class="block">Type information is needed, even if JsonNode instances are "plain" JSON, 406 since they may be mixed with other types.</div> 407<dl> 408<dt><strong>Specified by:</strong></dt> 409<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> 410<dt><strong>Specified by:</strong></dt> 411<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> 412<dt><span class="strong">Throws:</span></dt> 413<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> 414<dd><code>com.fasterxml.jackson.core.JsonProcessingException</code></dd></dl> 415</li> 416</ul> 417<a name="toString()"> 418<!-- --> 419</a> 420<ul class="blockList"> 421<li class="blockList"> 422<h4>toString</h4> 423<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> 424<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toString()">JsonNode</a></code></strong></div> 425<div class="block"><p> 426 Note: marked as abstract to ensure all implementation 427 classes define it properly.</div> 428<dl> 429<dt><strong>Specified by:</strong></dt> 430<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> 431</dl> 432</li> 433</ul> 434<a name="get(int)"> 435<!-- --> 436</a> 437<ul class="blockList"> 438<li class="blockList"> 439<h4>get</h4> 440<pre>public final <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> get(int index)</pre> 441<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)">JsonNode</a></code></strong></div> 442<div class="block">Method for accessing value of the specified element of 443 an array node. For other nodes, null is always returned. 444<p> 445 For array nodes, index specifies 446 exact location within array and allows for efficient iteration 447 over child elements (underlying storage is guaranteed to 448 be efficiently indexable, i.e. has random-access to elements). 449 If index is less than 0, or equal-or-greater than 450 <code>node.size()</code>, null is returned; no exception is 451 thrown for any index. 452<p> 453 NOTE: if the element value has been explicitly set as <code>null</code> 454 (which is different from removal!), 455 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, 456 not null.</div> 457<dl> 458<dt><strong>Specified by:</strong></dt> 459<dd><code>get</code> in interface <code>com.fasterxml.jackson.core.TreeNode</code></dd> 460<dt><strong>Specified by:</strong></dt> 461<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> 462<dt><span class="strong">Returns:</span></dt><dd>Node that represent value of the specified element, 463 if this node is an array and has specified element. 464 Null otherwise.</dd></dl> 465</li> 466</ul> 467<a name="path(int)"> 468<!-- --> 469</a> 470<ul class="blockList"> 471<li class="blockList"> 472<h4>path</h4> 473<pre>public final <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> path(int index)</pre> 474<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(int)">JsonNode</a></code></strong></div> 475<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 476 that instead of returning null if no such element exists (due 477 to index being out of range, or this node not being an array), 478 a "missing node" (node that returns true for 479 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned. This allows for 480 convenient and safe chained access via path calls.</div> 481<dl> 482<dt><strong>Specified by:</strong></dt> 483<dd><code>path</code> in interface <code>com.fasterxml.jackson.core.TreeNode</code></dd> 484<dt><strong>Specified by:</strong></dt> 485<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> 486</dl> 487</li> 488</ul> 489<a name="has(int)"> 490<!-- --> 491</a> 492<ul class="blockList"> 493<li class="blockList"> 494<h4>has</h4> 495<pre>public final boolean has(int index)</pre> 496<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(int)">JsonNode</a></code></strong></div> 497<div class="block">Method that allows checking whether this node is JSON Array node 498 and contains a value for specified index 499 If this is the case 500 (including case of specified indexing having null as value), returns true; 501 otherwise returns false. 502<p> 503 Note: array element indexes are 0-based. 504<p> 505 This method is equivalent to: 506<pre> 507 node.get(index) != null 508</pre> 509<p> 510 NOTE: this method will return <code>true</code> for explicitly added 511 null values.</div> 512<dl> 513<dt><strong>Overrides:</strong></dt> 514<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> 515<dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - Index to check</dd> 516<dt><span class="strong">Returns:</span></dt><dd>True if this node is a JSON Object node, and has a property 517 entry with specified name (with any value, including null value)</dd></dl> 518</li> 519</ul> 520<a name="hasNonNull(int)"> 521<!-- --> 522</a> 523<ul class="blockList"> 524<li class="blockList"> 525<h4>hasNonNull</h4> 526<pre>public final boolean hasNonNull(int index)</pre> 527<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull(int)">JsonNode</a></code></strong></div> 528<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 529 return <code>false</code> for explicitly added nulls. 530<p> 531 This method is equivalent to: 532<pre> 533 node.get(index) != null && !node.get(index).isNull() 534</pre></div> 535<dl> 536<dt><strong>Overrides:</strong></dt> 537<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> 538</dl> 539</li> 540</ul> 541<a name="get(java.lang.String)"> 542<!-- --> 543</a> 544<ul class="blockList"> 545<li class="blockList"> 546<h4>get</h4> 547<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> 548<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)">JsonNode</a></code></strong></div> 549<div class="block">Method for accessing value of the specified field of 550 an object node. If this node is not an object (or it 551 does not have a value for specified field name), or 552 if there is no field with such name, null is returned. 553<p> 554 NOTE: if the property value has been explicitly set as <code>null</code> 555 (which is different from removal!), 556 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, 557 not null.</div> 558<dl> 559<dt><strong>Specified by:</strong></dt> 560<dd><code>get</code> in interface <code>com.fasterxml.jackson.core.TreeNode</code></dd> 561<dt><strong>Overrides:</strong></dt> 562<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> 563<dt><span class="strong">Returns:</span></dt><dd>Node that represent value of the specified field, 564 if this node is an object and has value for the specified 565 field. Null otherwise.</dd></dl> 566</li> 567</ul> 568<a name="path(java.lang.String)"> 569<!-- --> 570</a> 571<ul class="blockList"> 572<li class="blockList"> 573<h4>path</h4> 574<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> 575<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(java.lang.String)">JsonNode</a></code></strong></div> 576<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 577 that instead of returning null if no such value exists (due 578 to this node not being an object, or object not having value 579 for the specified field), 580 a "missing node" (node that returns true for 581 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned. This allows for 582 convenient and safe chained access via path calls.</div> 583<dl> 584<dt><strong>Specified by:</strong></dt> 585<dd><code>path</code> in interface <code>com.fasterxml.jackson.core.TreeNode</code></dd> 586<dt><strong>Specified by:</strong></dt> 587<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> 588</dl> 589</li> 590</ul> 591<a name="has(java.lang.String)"> 592<!-- --> 593</a> 594<ul class="blockList"> 595<li class="blockList"> 596<h4>has</h4> 597<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> 598<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(java.lang.String)">JsonNode</a></code></strong></div> 599<div class="block">Method that allows checking whether this node is JSON Object node 600 and contains value for specified property. If this is the case 601 (including properties with explicit null values), returns true; 602 otherwise returns false. 603<p> 604 This method is equivalent to: 605<pre> 606 node.get(fieldName) != null 607</pre> 608 (since return value of get() is node, not value node contains) 609<p> 610 NOTE: when explicit <code>null</code> values are added, this 611 method will return <code>true</code> for such properties.</div> 612<dl> 613<dt><strong>Overrides:</strong></dt> 614<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> 615<dt><span class="strong">Parameters:</span></dt><dd><code>fieldName</code> - Name of element to check</dd> 616<dt><span class="strong">Returns:</span></dt><dd>True if this node is a JSON Object node, and has a property 617 entry with specified name (with any value, including null value)</dd></dl> 618</li> 619</ul> 620<a name="hasNonNull(java.lang.String)"> 621<!-- --> 622</a> 623<ul class="blockList"> 624<li class="blockList"> 625<h4>hasNonNull</h4> 626<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> 627<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull(java.lang.String)">JsonNode</a></code></strong></div> 628<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 629 return <code>false</code> for explicitly added nulls. 630<p> 631 This method is functionally equivalent to: 632<pre> 633 node.get(fieldName) != null && !node.get(fieldName).isNull() 634</pre></div> 635<dl> 636<dt><strong>Overrides:</strong></dt> 637<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> 638</dl> 639</li> 640</ul> 641<a name="findValue(java.lang.String)"> 642<!-- --> 643</a> 644<ul class="blockList"> 645<li class="blockList"> 646<h4>findValue</h4> 647<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> 648<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue(java.lang.String)">JsonNode</a></code></strong></div> 649<div class="block">Method for finding a JSON Object field with specified name in this 650 node or its child nodes, and returning value it has. 651 If no matching field is found in this node or its descendants, returns null.</div> 652<dl> 653<dt><strong>Specified by:</strong></dt> 654<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> 655<dt><span class="strong">Parameters:</span></dt><dd><code>fieldName</code> - Name of field to look for</dd> 656<dt><span class="strong">Returns:</span></dt><dd>Value of first matching node found, if any; null if none</dd></dl> 657</li> 658</ul> 659<a name="findParent(java.lang.String)"> 660<!-- --> 661</a> 662<ul class="blockList"> 663<li class="blockList"> 664<h4>findParent</h4> 665<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> 666<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParent(java.lang.String)">JsonNode</a></code></strong></div> 667<div class="block">Method for finding a JSON Object that contains specified field, 668 within this node or its descendants. 669 If no matching field is found in this node or its descendants, returns null.</div> 670<dl> 671<dt><strong>Specified by:</strong></dt> 672<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> 673<dt><span class="strong">Parameters:</span></dt><dd><code>fieldName</code> - Name of field to look for</dd> 674<dt><span class="strong">Returns:</span></dt><dd>Value of first matching node found, if any; null if none</dd></dl> 675</li> 676</ul> 677<a name="findValues(java.lang.String, java.util.List)"> 678<!-- --> 679</a> 680<ul class="blockList"> 681<li class="blockList"> 682<h4>findValues</h4> 683<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, 684 <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> 685<dl> 686<dt><strong>Specified by:</strong></dt> 687<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> 688</dl> 689</li> 690</ul> 691<a name="findValuesAsText(java.lang.String, java.util.List)"> 692<!-- --> 693</a> 694<ul class="blockList"> 695<li class="blockList"> 696<h4>findValuesAsText</h4> 697<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, 698 <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> 699<dl> 700<dt><strong>Specified by:</strong></dt> 701<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> 702</dl> 703</li> 704</ul> 705<a name="findParents(java.lang.String, java.util.List)"> 706<!-- --> 707</a> 708<ul class="blockListLast"> 709<li class="blockList"> 710<h4>findParents</h4> 711<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, 712 <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> 713<dl> 714<dt><strong>Specified by:</strong></dt> 715<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> 716</dl> 717</li> 718</ul> 719</li> 720</ul> 721</li> 722</ul> 723</div> 724</div> 725<!-- ========= END OF CLASS DATA ========= --> 726<!-- ======= START OF BOTTOM NAVBAR ====== --> 727<div class="bottomNav"><a name="navbar_bottom"> 728<!-- --> 729</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 730<!-- --> 731</a> 732<ul class="navList" title="Navigation"> 733<li><a href="../../../../../overview-summary.html">Overview</a></li> 734<li><a href="package-summary.html">Package</a></li> 735<li class="navBarCell1Rev">Class</li> 736<li><a href="class-use/ValueNode.html">Use</a></li> 737<li><a href="package-tree.html">Tree</a></li> 738<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 739<li><a href="../../../../../index-all.html">Index</a></li> 740<li><a href="../../../../../help-doc.html">Help</a></li> 741</ul> 742</div> 743<div class="subNav"> 744<ul class="navList"> 745<li><a href="../../../../../com/fasterxml/jackson/databind/node/TreeTraversingParser.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Prev Class</span></a></li> 746<li>Next Class</li> 747</ul> 748<ul class="navList"> 749<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/ValueNode.html" target="_top">Frames</a></li> 750<li><a href="ValueNode.html" target="_top">No Frames</a></li> 751</ul> 752<ul class="navList" id="allclasses_navbar_bottom"> 753<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 754</ul> 755<div> 756<script type="text/javascript"><!-- 757 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 758 if(window==top) { 759 allClassesLink.style.display = "block"; 760 } 761 else { 762 allClassesLink.style.display = "none"; 763 } 764 //--> 765</script> 766</div> 767<div> 768<ul class="subNavList"> 769<li>Summary: </li> 770<li>Nested | </li> 771<li>Field | </li> 772<li><a href="#constructor_summary">Constr</a> | </li> 773<li><a href="#method_summary">Method</a></li> 774</ul> 775<ul class="subNavList"> 776<li>Detail: </li> 777<li>Field | </li> 778<li><a href="#constructor_detail">Constr</a> | </li> 779<li><a href="#method_detail">Method</a></li> 780</ul> 781</div> 782<a name="skip-navbar_bottom"> 783<!-- --> 784</a></div> 785<!-- ======== END OF BOTTOM NAVBAR ======= --> 786<p class="legalCopy"><small>Copyright © 2014-2015 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 787</body> 788</html> 789