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