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_10-ea) on Mon Apr 22 19:50:41 PDT 2013 -->
6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
7<title>ValueNode (jackson-databind 2.2.0 API)</title>
8<meta name="date" content="2013-04-22">
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.2.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:&nbsp;</li>
65<li>Nested&nbsp;|&nbsp;</li>
66<li>Field&nbsp;|&nbsp;</li>
67<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
68<li><a href="#method_summary">Method</a></li>
69</ul>
70<ul class="subNavList">
71<li>Detail:&nbsp;</li>
72<li>Field&nbsp;|&nbsp;</li>
73<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</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><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;</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">&nbsp;</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>&nbsp;</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">&nbsp;</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>abstract <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a></code></td>
162<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#asToken()">asToken</a></strong>()</code>
163<div class="block">Method that can be used for efficient type detection
164 when using stream abstraction for traversing nodes.</div>
165</td>
166</tr>
167<tr class="rowColor">
168<td class="colFirst"><code>&lt;T extends <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;<br>T</code></td>
169<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#deepCopy()">deepCopy</a></strong>()</code>
170<div class="block">All current value nodes are immutable, so we can just return
171 them as is.</div>
172</td>
173</tr>
174<tr class="altColor">
175<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>
176<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>&nbsp;fieldName)</code>
177<div class="block">Method for finding a JSON Object that contains specified field,
178 within this node or its descendants.</div>
179</td>
180</tr>
181<tr class="rowColor">
182<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>&lt;<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;</code></td>
183<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>&nbsp;fieldName,
184           <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>&lt;<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;foundSoFar)</code>&nbsp;</td>
185</tr>
186<tr class="altColor">
187<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td>
188<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>&nbsp;fieldName)</code>
189<div class="block">Method for finding a JSON Object field with specified name in this
190 node or its child nodes, and returning value it has.</div>
191</td>
192</tr>
193<tr class="rowColor">
194<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>&lt;<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;</code></td>
195<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>&nbsp;fieldName,
196          <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>&lt;<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;foundSoFar)</code>&nbsp;</td>
197</tr>
198<tr class="altColor">
199<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>&lt;<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>&gt;</code></td>
200<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>&nbsp;fieldName,
201                <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>&lt;<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>&gt;&nbsp;foundSoFar)</code>&nbsp;</td>
202</tr>
203<tr class="rowColor">
204<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td>
205<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#get(int)">get</a></strong>(int&nbsp;index)</code>
206<div class="block">Method for accessing value of the specified element of
207 an array node.</div>
208</td>
209</tr>
210<tr class="altColor">
211<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td>
212<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>&nbsp;fieldName)</code>
213<div class="block">Method for accessing value of the specified field of
214 an object node.</div>
215</td>
216</tr>
217<tr class="rowColor">
218<td class="colFirst"><code>boolean</code></td>
219<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#has(int)">has</a></strong>(int&nbsp;index)</code>
220<div class="block">Method that allows checking whether this node is JSON Array node
221 and contains a value for specified index
222 If this is the case
223 (including case of specified indexing having null as value), returns true;
224 otherwise returns false.</div>
225</td>
226</tr>
227<tr class="altColor">
228<td class="colFirst"><code>boolean</code></td>
229<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>&nbsp;fieldName)</code>
230<div class="block">Method that allows checking whether this node is JSON Object node
231 and contains value for specified property.</div>
232</td>
233</tr>
234<tr class="rowColor">
235<td class="colFirst"><code>boolean</code></td>
236<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#hasNonNull(int)">hasNonNull</a></strong>(int&nbsp;index)</code>
237<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
238 return <code>false</code> for explicitly added nulls.</div>
239</td>
240</tr>
241<tr class="altColor">
242<td class="colFirst"><code>boolean</code></td>
243<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>&nbsp;fieldName)</code>
244<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
245 return <code>false</code> for explicitly added nulls.</div>
246</td>
247</tr>
248<tr class="rowColor">
249<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td>
250<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#path(int)">path</a></strong>(int&nbsp;index)</code>
251<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
252 that instead of returning null if no such element exists (due
253 to index being out of range, or this node not being an array),
254 a "missing node" (node that returns true for
255 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned.</div>
256</td>
257</tr>
258<tr class="altColor">
259<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td>
260<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>&nbsp;fieldName)</code>
261<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
262 that instead of returning null if no such value exists (due
263 to this node not being an object, or object not having value
264 for the specified field),
265 a "missing node" (node that returns true for
266 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned.</div>
267</td>
268</tr>
269<tr class="rowColor">
270<td class="colFirst"><code>void</code></td>
271<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>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jg,
272                 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider,
273                 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;typeSer)</code>
274<div class="block">Type information is needed, even if JsonNode instances are "plain" JSON,
275 since they may be mixed with other types.</div>
276</td>
277</tr>
278<tr class="altColor">
279<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>
280<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#toString()">toString</a></strong>()</code>
281<div class="block">
282 Note: marked as abstract to ensure all implementation
283 classes define it properly.</div>
284</td>
285</tr>
286</table>
287<ul class="blockList">
288<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.BaseJsonNode">
289<!--   -->
290</a>
291<h3>Methods inherited from class&nbsp;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>
292<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>
293</ul>
294<ul class="blockList">
295<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode">
296<!--   -->
297</a>
298<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></h3>
299<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#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>
300</ul>
301<ul class="blockList">
302<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
303<!--   -->
304</a>
305<h3>Methods inherited from class&nbsp;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>
306<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>
307</ul>
308</li>
309</ul>
310</li>
311</ul>
312</div>
313<div class="details">
314<ul class="blockList">
315<li class="blockList">
316<!-- ========= CONSTRUCTOR DETAIL ======== -->
317<ul class="blockList">
318<li class="blockList"><a name="constructor_detail">
319<!--   -->
320</a>
321<h3>Constructor Detail</h3>
322<a name="ValueNode()">
323<!--   -->
324</a>
325<ul class="blockListLast">
326<li class="blockList">
327<h4>ValueNode</h4>
328<pre>protected&nbsp;ValueNode()</pre>
329</li>
330</ul>
331</li>
332</ul>
333<!-- ============ METHOD DETAIL ========== -->
334<ul class="blockList">
335<li class="blockList"><a name="method_detail">
336<!--   -->
337</a>
338<h3>Method Detail</h3>
339<a name="deepCopy()">
340<!--   -->
341</a>
342<ul class="blockList">
343<li class="blockList">
344<h4>deepCopy</h4>
345<pre>public&nbsp;&lt;T extends <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;T&nbsp;deepCopy()</pre>
346<div class="block">All current value nodes are immutable, so we can just return
347 them as is.</div>
348<dl>
349<dt><strong>Specified by:</strong></dt>
350<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#deepCopy()">deepCopy</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
351<dt><span class="strong">Returns:</span></dt><dd>Node that is either a copy of this node (and all non-leaf
352    children); or, for immutable leaf nodes, node itself.</dd></dl>
353</li>
354</ul>
355<a name="asToken()">
356<!--   -->
357</a>
358<ul class="blockList">
359<li class="blockList">
360<h4>asToken</h4>
361<pre>public abstract&nbsp;<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a>&nbsp;asToken()</pre>
362<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">BaseJsonNode</a></code></strong></div>
363<div class="block">Method that can be used for efficient type detection
364 when using stream abstraction for traversing nodes.
365 Will return the first <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonToken</code></a> that equivalent
366 stream event would produce (for most nodes there is just
367 one token but for structured/container types multiple)</div>
368<dl>
369<dt><strong>Specified by:</strong></dt>
370<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true#asToken()" title="class or interface in com.fasterxml.jackson.core">asToken</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
371<dt><strong>Specified by:</strong></dt>
372<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">asToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></code></dd>
373</dl>
374</li>
375</ul>
376<a name="serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">
377<!--   -->
378</a>
379<ul class="blockList">
380<li class="blockList">
381<h4>serializeWithType</h4>
382<pre>public&nbsp;void&nbsp;serializeWithType(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jg,
383                     <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider,
384                     <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;typeSer)
385                       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>,
386                              <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre>
387<div class="block"><strong>Description copied from class:&nbsp;<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>
388<div class="block">Type information is needed, even if JsonNode instances are "plain" JSON,
389 since they may be mixed with other types.</div>
390<dl>
391<dt><strong>Specified by:</strong></dt>
392<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>&nbsp;in interface&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></code></dd>
393<dt><strong>Specified by:</strong></dt>
394<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>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></code></dd>
395<dt><span class="strong">Throws:</span></dt>
396<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>
397<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd></dl>
398</li>
399</ul>
400<a name="toString()">
401<!--   -->
402</a>
403<ul class="blockList">
404<li class="blockList">
405<h4>toString</h4>
406<pre>public&nbsp;<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>&nbsp;toString()</pre>
407<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toString()">JsonNode</a></code></strong></div>
408<div class="block"><p>
409 Note: marked as abstract to ensure all implementation
410 classes define it properly.</div>
411<dl>
412<dt><strong>Specified by:</strong></dt>
413<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toString()">toString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
414</dl>
415</li>
416</ul>
417<a name="get(int)">
418<!--   -->
419</a>
420<ul class="blockList">
421<li class="blockList">
422<h4>get</h4>
423<pre>public final&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&nbsp;get(int&nbsp;index)</pre>
424<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)">JsonNode</a></code></strong></div>
425<div class="block">Method for accessing value of the specified element of
426 an array node. For other nodes, null is always returned.
427<p>
428 For array nodes, index specifies
429 exact location within array and allows for efficient iteration
430 over child elements (underlying storage is guaranteed to
431 be efficiently indexable, i.e. has random-access to elements).
432 If index is less than 0, or equal-or-greater than
433 <code>node.size()</code>, null is returned; no exception is
434 thrown for any index.
435<p>
436 NOTE: if the element value has been explicitly set as <code>null</code>
437 (which is different from removal!),
438 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,
439 not null.</div>
440<dl>
441<dt><strong>Specified by:</strong></dt>
442<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true#get(int)" title="class or interface in com.fasterxml.jackson.core">get</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
443<dt><strong>Specified by:</strong></dt>
444<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)">get</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
445<dt><span class="strong">Returns:</span></dt><dd>Node that represent value of the specified element,
446   if this node is an array and has specified element.
447   Null otherwise.</dd></dl>
448</li>
449</ul>
450<a name="path(int)">
451<!--   -->
452</a>
453<ul class="blockList">
454<li class="blockList">
455<h4>path</h4>
456<pre>public final&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&nbsp;path(int&nbsp;index)</pre>
457<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(int)">JsonNode</a></code></strong></div>
458<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
459 that instead of returning null if no such element exists (due
460 to index being out of range, or this node not being an array),
461 a "missing node" (node that returns true for
462 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned. This allows for
463 convenient and safe chained access via path calls.</div>
464<dl>
465<dt><strong>Specified by:</strong></dt>
466<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true#path(int)" title="class or interface in com.fasterxml.jackson.core">path</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
467<dt><strong>Specified by:</strong></dt>
468<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(int)">path</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
469</dl>
470</li>
471</ul>
472<a name="has(int)">
473<!--   -->
474</a>
475<ul class="blockList">
476<li class="blockList">
477<h4>has</h4>
478<pre>public final&nbsp;boolean&nbsp;has(int&nbsp;index)</pre>
479<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(int)">JsonNode</a></code></strong></div>
480<div class="block">Method that allows checking whether this node is JSON Array node
481 and contains a value for specified index
482 If this is the case
483 (including case of specified indexing having null as value), returns true;
484 otherwise returns false.
485<p>
486 Note: array element indexes are 0-based.
487<p>
488 This method is equivalent to:
489<pre>
490   node.get(index) != null
491</pre>
492<p>
493 NOTE: this method will return <code>true</code> for explicitly added
494 null values.</div>
495<dl>
496<dt><strong>Overrides:</strong></dt>
497<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(int)">has</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
498<dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - Index to check</dd>
499<dt><span class="strong">Returns:</span></dt><dd>True if this node is a JSON Object node, and has a property
500   entry with specified name (with any value, including null value)</dd></dl>
501</li>
502</ul>
503<a name="hasNonNull(int)">
504<!--   -->
505</a>
506<ul class="blockList">
507<li class="blockList">
508<h4>hasNonNull</h4>
509<pre>public final&nbsp;boolean&nbsp;hasNonNull(int&nbsp;index)</pre>
510<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull(int)">JsonNode</a></code></strong></div>
511<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
512 return <code>false</code> for explicitly added nulls.
513<p>
514 This method is equivalent to:
515<pre>
516   node.get(index) != null && !node.get(index).isNull()
517</pre></div>
518<dl>
519<dt><strong>Overrides:</strong></dt>
520<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull(int)">hasNonNull</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
521</dl>
522</li>
523</ul>
524<a name="get(java.lang.String)">
525<!--   -->
526</a>
527<ul class="blockList">
528<li class="blockList">
529<h4>get</h4>
530<pre>public final&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&nbsp;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>&nbsp;fieldName)</pre>
531<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)">JsonNode</a></code></strong></div>
532<div class="block">Method for accessing value of the specified field of
533 an object node. If this node is not an object (or it
534 does not have a value for specified field name), or
535 if there is no field with such name, null is returned.
536<p>
537 NOTE: if the property value has been explicitly set as <code>null</code>
538 (which is different from removal!),
539 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,
540 not null.</div>
541<dl>
542<dt><strong>Specified by:</strong></dt>
543<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true#get(java.lang.String)" title="class or interface in com.fasterxml.jackson.core">get</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
544<dt><strong>Overrides:</strong></dt>
545<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)">get</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
546<dt><span class="strong">Returns:</span></dt><dd>Node that represent value of the specified field,
547   if this node is an object and has value for the specified
548   field. Null otherwise.</dd></dl>
549</li>
550</ul>
551<a name="path(java.lang.String)">
552<!--   -->
553</a>
554<ul class="blockList">
555<li class="blockList">
556<h4>path</h4>
557<pre>public final&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&nbsp;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>&nbsp;fieldName)</pre>
558<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(java.lang.String)">JsonNode</a></code></strong></div>
559<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
560 that instead of returning null if no such value exists (due
561 to this node not being an object, or object not having value
562 for the specified field),
563 a "missing node" (node that returns true for
564 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned. This allows for
565 convenient and safe chained access via path calls.</div>
566<dl>
567<dt><strong>Specified by:</strong></dt>
568<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true#path(java.lang.String)" title="class or interface in com.fasterxml.jackson.core">path</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
569<dt><strong>Specified by:</strong></dt>
570<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(java.lang.String)">path</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
571</dl>
572</li>
573</ul>
574<a name="has(java.lang.String)">
575<!--   -->
576</a>
577<ul class="blockList">
578<li class="blockList">
579<h4>has</h4>
580<pre>public final&nbsp;boolean&nbsp;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>&nbsp;fieldName)</pre>
581<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(java.lang.String)">JsonNode</a></code></strong></div>
582<div class="block">Method that allows checking whether this node is JSON Object node
583 and contains value for specified property. If this is the case
584 (including properties with explicit null values), returns true;
585 otherwise returns false.
586<p>
587 This method is equivalent to:
588<pre>
589   node.get(fieldName) != null
590</pre>
591 (since return value of get() is node, not value node contains)
592<p>
593 NOTE: when explicit <code>null</code> values are added, this
594 method will return <code>true</code> for such properties.</div>
595<dl>
596<dt><strong>Overrides:</strong></dt>
597<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(java.lang.String)">has</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
598<dt><span class="strong">Parameters:</span></dt><dd><code>fieldName</code> - Name of element to check</dd>
599<dt><span class="strong">Returns:</span></dt><dd>True if this node is a JSON Object node, and has a property
600   entry with specified name (with any value, including null value)</dd></dl>
601</li>
602</ul>
603<a name="hasNonNull(java.lang.String)">
604<!--   -->
605</a>
606<ul class="blockList">
607<li class="blockList">
608<h4>hasNonNull</h4>
609<pre>public final&nbsp;boolean&nbsp;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>&nbsp;fieldName)</pre>
610<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull(java.lang.String)">JsonNode</a></code></strong></div>
611<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
612 return <code>false</code> for explicitly added nulls.
613<p>
614 This method is functionally equivalent to:
615<pre>
616   node.get(fieldName) != null && !node.get(fieldName).isNull()
617</pre></div>
618<dl>
619<dt><strong>Overrides:</strong></dt>
620<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull(java.lang.String)">hasNonNull</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
621</dl>
622</li>
623</ul>
624<a name="findValue(java.lang.String)">
625<!--   -->
626</a>
627<ul class="blockList">
628<li class="blockList">
629<h4>findValue</h4>
630<pre>public final&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&nbsp;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>&nbsp;fieldName)</pre>
631<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue(java.lang.String)">JsonNode</a></code></strong></div>
632<div class="block">Method for finding a JSON Object field with specified name in this
633 node or its child nodes, and returning value it has.
634 If no matching field is found in this node or its descendants, returns null.</div>
635<dl>
636<dt><strong>Specified by:</strong></dt>
637<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue(java.lang.String)">findValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
638<dt><span class="strong">Parameters:</span></dt><dd><code>fieldName</code> - Name of field to look for</dd>
639<dt><span class="strong">Returns:</span></dt><dd>Value of first matching node found, if any; null if none</dd></dl>
640</li>
641</ul>
642<a name="findParent(java.lang.String)">
643<!--   -->
644</a>
645<ul class="blockList">
646<li class="blockList">
647<h4>findParent</h4>
648<pre>public final&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a>&nbsp;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>&nbsp;fieldName)</pre>
649<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParent(java.lang.String)">JsonNode</a></code></strong></div>
650<div class="block">Method for finding a JSON Object that contains specified field,
651 within this node or its descendants.
652 If no matching field is found in this node or its descendants, returns null.</div>
653<dl>
654<dt><strong>Specified by:</strong></dt>
655<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParent(java.lang.String)">findParent</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
656<dt><span class="strong">Parameters:</span></dt><dd><code>fieldName</code> - Name of field to look for</dd>
657<dt><span class="strong">Returns:</span></dt><dd>Value of first matching node found, if any; null if none</dd></dl>
658</li>
659</ul>
660<a name="findValues(java.lang.String, java.util.List)">
661<!--   -->
662</a>
663<ul class="blockList">
664<li class="blockList">
665<h4>findValues</h4>
666<pre>public final&nbsp;<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>&lt;<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;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>&nbsp;fieldName,
667                        <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>&lt;<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;foundSoFar)</pre>
668<dl>
669<dt><strong>Specified by:</strong></dt>
670<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues(java.lang.String, java.util.List)">findValues</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
671</dl>
672</li>
673</ul>
674<a name="findValuesAsText(java.lang.String, java.util.List)">
675<!--   -->
676</a>
677<ul class="blockList">
678<li class="blockList">
679<h4>findValuesAsText</h4>
680<pre>public final&nbsp;<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>&lt;<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>&gt;&nbsp;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>&nbsp;fieldName,
681                            <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>&lt;<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>&gt;&nbsp;foundSoFar)</pre>
682<dl>
683<dt><strong>Specified by:</strong></dt>
684<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
685</dl>
686</li>
687</ul>
688<a name="findParents(java.lang.String, java.util.List)">
689<!--   -->
690</a>
691<ul class="blockListLast">
692<li class="blockList">
693<h4>findParents</h4>
694<pre>public final&nbsp;<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>&lt;<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;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>&nbsp;fieldName,
695                         <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>&lt;<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;foundSoFar)</pre>
696<dl>
697<dt><strong>Specified by:</strong></dt>
698<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParents(java.lang.String, java.util.List)">findParents</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
699</dl>
700</li>
701</ul>
702</li>
703</ul>
704</li>
705</ul>
706</div>
707</div>
708<!-- ========= END OF CLASS DATA ========= -->
709<!-- ======= START OF BOTTOM NAVBAR ====== -->
710<div class="bottomNav"><a name="navbar_bottom">
711<!--   -->
712</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
713<!--   -->
714</a>
715<ul class="navList" title="Navigation">
716<li><a href="../../../../../overview-summary.html">Overview</a></li>
717<li><a href="package-summary.html">Package</a></li>
718<li class="navBarCell1Rev">Class</li>
719<li><a href="class-use/ValueNode.html">Use</a></li>
720<li><a href="package-tree.html">Tree</a></li>
721<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
722<li><a href="../../../../../index-all.html">Index</a></li>
723<li><a href="../../../../../help-doc.html">Help</a></li>
724</ul>
725</div>
726<div class="subNav">
727<ul class="navList">
728<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>
729<li>Next Class</li>
730</ul>
731<ul class="navList">
732<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/ValueNode.html" target="_top">Frames</a></li>
733<li><a href="ValueNode.html" target="_top">No Frames</a></li>
734</ul>
735<ul class="navList" id="allclasses_navbar_bottom">
736<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
737</ul>
738<div>
739<script type="text/javascript"><!--
740  allClassesLink = document.getElementById("allclasses_navbar_bottom");
741  if(window==top) {
742    allClassesLink.style.display = "block";
743  }
744  else {
745    allClassesLink.style.display = "none";
746  }
747  //-->
748</script>
749</div>
750<div>
751<ul class="subNavList">
752<li>Summary:&nbsp;</li>
753<li>Nested&nbsp;|&nbsp;</li>
754<li>Field&nbsp;|&nbsp;</li>
755<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
756<li><a href="#method_summary">Method</a></li>
757</ul>
758<ul class="subNavList">
759<li>Detail:&nbsp;</li>
760<li>Field&nbsp;|&nbsp;</li>
761<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
762<li><a href="#method_detail">Method</a></li>
763</ul>
764</div>
765<a name="skip-navbar_bottom">
766<!--   -->
767</a></div>
768<!-- ======== END OF BOTTOM NAVBAR ======= -->
769<p class="legalCopy"><small>Copyright &#169; 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p>
770</body>
771</html>
772