• 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>
4<HEAD>
5<!-- Generated by javadoc (build 1.6.0_35) on Tue Oct 09 17:08:06 PDT 2012 -->
6<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<TITLE>
8JsonNode (jackson-databind 2.1.0 API)
9</TITLE>
10
11<META NAME="date" CONTENT="2012-10-09">
12
13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
14
15<SCRIPT type="text/javascript">
16function windowTitle()
17{
18    if (location.href.indexOf('is-external=true') == -1) {
19        parent.document.title="JsonNode (jackson-databind 2.1.0 API)";
20    }
21}
22</SCRIPT>
23<NOSCRIPT>
24</NOSCRIPT>
25
26</HEAD>
27
28<BODY BGCOLOR="white" onload="windowTitle();">
29<HR>
30
31
32<!-- ========= START OF TOP NAVBAR ======= -->
33<A NAME="navbar_top"><!-- --></A>
34<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36<TR>
37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38<A NAME="navbar_top_firstrow"><!-- --></A>
39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40  <TR ALIGN="center" VALIGN="top">
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
43  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/JsonNode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
48  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
49  </TR>
50</TABLE>
51</TD>
52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
53</EM>
54</TD>
55</TR>
56
57<TR>
58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.Reference.html" title="class in com.fasterxml.jackson.databind"><B>PREV CLASS</B></A>&nbsp;
60&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind"><B>NEXT CLASS</B></A></FONT></TD>
61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
62  <A HREF="../../../../index.html?com/fasterxml/jackson/databind/JsonNode.html" target="_top"><B>FRAMES</B></A>  &nbsp;
63&nbsp;<A HREF="JsonNode.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
64&nbsp;<SCRIPT type="text/javascript">
65  <!--
66  if(window==top) {
67    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
68  }
69  //-->
70</SCRIPT>
71<NOSCRIPT>
72  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
73</NOSCRIPT>
74
75
76</FONT></TD>
77</TR>
78<TR>
79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
82DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
83</TR>
84</TABLE>
85<A NAME="skip-navbar_top"></A>
86<!-- ========= END OF TOP NAVBAR ========= -->
87
88<HR>
89<!-- ======== START OF CLASS DATA ======== -->
90<H2>
91<FONT SIZE="-1">
92com.fasterxml.jackson.databind</FONT>
93<BR>
94Class JsonNode</H2>
95<PRE>
96<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>
97  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.databind.JsonNode</B>
98</PRE>
99<DL>
100<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</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>
101</DL>
102<DL>
103<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</A></DD>
104</DL>
105<HR>
106<DL>
107<DT><PRE>public abstract class <B>JsonNode</B><DT>extends <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><DT>implements <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</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;</DL>
108</PRE>
109
110<P>
111Base class for all JSON nodes, which form the basis of JSON
112 Tree Model that Jackson implements.
113 One way to think of these nodes is to consider them
114 similar to DOM nodes in XML DOM trees.
115<p>
116 As a general design rule, most accessors ("getters") are included
117 in this base class, to allow for traversing structure without
118 type casts. Most mutators, however, need to be accessed through
119 specific sub-classes (such as <code>ObjectNode</code>
120 and <code>ArrayNode</code>).
121 This seems sensible because proper type
122 information is generally available when building or modifying
123 trees, but less often when reading a tree (newly built from
124 parsed JSON content).
125<p>
126 Actual concrete sub-classes can be found from package
127 <A HREF="../../../../com/fasterxml/jackson/databind/node/package-summary.html"><CODE>com.fasterxml.jackson.databind.node</CODE></A>.
128<P>
129
130<P>
131<HR>
132
133<P>
134<!-- =========== FIELD SUMMARY =========== -->
135
136<A NAME="field_summary"><!-- --></A>
137<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
138<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
139<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
140<B>Field Summary</B></FONT></TH>
141</TR>
142<TR BGCOLOR="white" CLASS="TableRowColor">
143<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
144<CODE>protected static&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;</CODE></FONT></TD>
145<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#NO_NODES">NO_NODES</A></B></CODE>
146
147<BR>
148&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
149</TR>
150<TR BGCOLOR="white" CLASS="TableRowColor">
151<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
152<CODE>protected static&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;</CODE></FONT></TD>
153<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#NO_STRINGS">NO_STRINGS</A></B></CODE>
154
155<BR>
156&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
157</TR>
158</TABLE>
159&nbsp;
160<!-- ======== CONSTRUCTOR SUMMARY ======== -->
161
162<A NAME="constructor_summary"><!-- --></A>
163<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
164<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
165<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
166<B>Constructor Summary</B></FONT></TH>
167</TR>
168<TR BGCOLOR="white" CLASS="TableRowColor">
169<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
170<CODE>protected </CODE></FONT></TD>
171<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#JsonNode()">JsonNode</A></B>()</CODE>
172
173<BR>
174&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
175</TR>
176</TABLE>
177&nbsp;
178<!-- ========== METHOD SUMMARY =========== -->
179
180<A NAME="method_summary"><!-- --></A>
181<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
182<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
183<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
184<B>Method Summary</B></FONT></TH>
185</TR>
186<TR BGCOLOR="white" CLASS="TableRowColor">
187<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188<CODE>&nbsp;boolean</CODE></FONT></TD>
189<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean()">asBoolean</A></B>()</CODE>
190
191<BR>
192&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that will try to convert value of this node to a Java <b>boolean</b>.</TD>
193</TR>
194<TR BGCOLOR="white" CLASS="TableRowColor">
195<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
196<CODE>&nbsp;boolean</CODE></FONT></TD>
197<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean(boolean)">asBoolean</A></B>(boolean&nbsp;defaultValue)</CODE>
198
199<BR>
200&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that will try to convert value of this node to a Java <b>boolean</b>.</TD>
201</TR>
202<TR BGCOLOR="white" CLASS="TableRowColor">
203<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
204<CODE>&nbsp;double</CODE></FONT></TD>
205<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble()">asDouble</A></B>()</CODE>
206
207<BR>
208&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that will try to convert value of this node to a Java <b>double</b>.</TD>
209</TR>
210<TR BGCOLOR="white" CLASS="TableRowColor">
211<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
212<CODE>&nbsp;double</CODE></FONT></TD>
213<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble(double)">asDouble</A></B>(double&nbsp;defaultValue)</CODE>
214
215<BR>
216&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that will try to convert value of this node to a Java <b>double</b>.</TD>
217</TR>
218<TR BGCOLOR="white" CLASS="TableRowColor">
219<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
220<CODE>&nbsp;int</CODE></FONT></TD>
221<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt()">asInt</A></B>()</CODE>
222
223<BR>
224&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that will try to convert value of this node to a Java <b>int</b>.</TD>
225</TR>
226<TR BGCOLOR="white" CLASS="TableRowColor">
227<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
228<CODE>&nbsp;int</CODE></FONT></TD>
229<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt(int)">asInt</A></B>(int&nbsp;defaultValue)</CODE>
230
231<BR>
232&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that will try to convert value of this node to a Java <b>int</b>.</TD>
233</TR>
234<TR BGCOLOR="white" CLASS="TableRowColor">
235<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
236<CODE>&nbsp;long</CODE></FONT></TD>
237<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong()">asLong</A></B>()</CODE>
238
239<BR>
240&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that will try to convert value of this node to a Java <b>long</b>.</TD>
241</TR>
242<TR BGCOLOR="white" CLASS="TableRowColor">
243<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
244<CODE>&nbsp;long</CODE></FONT></TD>
245<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong(long)">asLong</A></B>(long&nbsp;defaultValue)</CODE>
246
247<BR>
248&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that will try to convert value of this node to a Java <b>long</b>.</TD>
249</TR>
250<TR BGCOLOR="white" CLASS="TableRowColor">
251<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
252<CODE>abstract &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></CODE></FONT></TD>
253<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#asText()">asText</A></B>()</CODE>
254
255<BR>
256&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that will return a valid String representation of
257 the container value, if the node is a value node
258 (method <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><CODE>isValueNode()</CODE></A> returns true),
259 otherwise empty String.</TD>
260</TR>
261<TR BGCOLOR="white" CLASS="TableRowColor">
262<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
263<CODE>abstract &nbsp;<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</A></CODE></FONT></TD>
264<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#asToken()">asToken</A></B>()</CODE>
265
266<BR>
267&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be used for efficient type detection
268 when using stream abstraction for traversing nodes.</TD>
269</TR>
270<TR BGCOLOR="white" CLASS="TableRowColor">
271<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
272<CODE>&nbsp;<A HREF="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A></CODE></FONT></TD>
273<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#bigIntegerValue()">bigIntegerValue</A></B>()</CODE>
274
275<BR>
276&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
277</TR>
278<TR BGCOLOR="white" CLASS="TableRowColor">
279<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
280<CODE>&nbsp;byte[]</CODE></FONT></TD>
281<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#binaryValue()">binaryValue</A></B>()</CODE>
282
283<BR>
284&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method to use for accessing binary content of binary nodes (nodes
285 for which <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isBinary()"><CODE>isBinary()</CODE></A> returns true); or for Text Nodes
286 (ones for which <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#textValue()"><CODE>textValue()</CODE></A> returns non-null value),
287 to read decoded base64 data.</TD>
288</TR>
289<TR BGCOLOR="white" CLASS="TableRowColor">
290<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
291<CODE>&nbsp;boolean</CODE></FONT></TD>
292<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#booleanValue()">booleanValue</A></B>()</CODE>
293
294<BR>
295&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method to use for accessing JSON boolean values (value
296 literals 'true' and 'false').</TD>
297</TR>
298<TR BGCOLOR="white" CLASS="TableRowColor">
299<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
300<CODE>&nbsp;boolean</CODE></FONT></TD>
301<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt()">canConvertToInt</A></B>()</CODE>
302
303<BR>
304&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be used to check whether this node is a numeric
305 node (<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>isNumber()</CODE></A> would return true) AND its value fits
306 within Java's 32-bit signed integer type, <code>int</code>.</TD>
307</TR>
308<TR BGCOLOR="white" CLASS="TableRowColor">
309<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
310<CODE>&nbsp;boolean</CODE></FONT></TD>
311<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToLong()">canConvertToLong</A></B>()</CODE>
312
313<BR>
314&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be used to check whether this node is a numeric
315 node (<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>isNumber()</CODE></A> would return true) AND its value fits
316 within Java's 64-bit signed integer type, <code>long</code>.</TD>
317</TR>
318<TR BGCOLOR="white" CLASS="TableRowColor">
319<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
320<CODE>&nbsp;<A HREF="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A></CODE></FONT></TD>
321<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#decimalValue()">decimalValue</A></B>()</CODE>
322
323<BR>
324&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
325</TR>
326<TR BGCOLOR="white" CLASS="TableRowColor">
327<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
328<CODE>abstract
329<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
330<TR ALIGN="right" VALIGN="">
331<TD NOWRAP><FONT SIZE="-1">
332<CODE>&lt;T extends <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>&gt;
333<BR>
334T</CODE></FONT></TD>
335</TR>
336</TABLE>
337</CODE></FONT></TD>
338<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#deepCopy()">deepCopy</A></B>()</CODE>
339
340<BR>
341&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be called to get a node that is guaranteed
342 not to allow changing of this node through mutators on
343 this node or any of its children.</TD>
344</TR>
345<TR BGCOLOR="white" CLASS="TableRowColor">
346<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
347<CODE>&nbsp;double</CODE></FONT></TD>
348<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#doubleValue()">doubleValue</A></B>()</CODE>
349
350<BR>
351&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
352</TR>
353<TR BGCOLOR="white" CLASS="TableRowColor">
354<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
355<CODE>&nbsp;<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>&gt;</CODE></FONT></TD>
356<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#elements()">elements</A></B>()</CODE>
357
358<BR>
359&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method for accessing all value nodes of this Node, iff
360 this node is a JSON Array or Object node.</TD>
361</TR>
362<TR BGCOLOR="white" CLASS="TableRowColor">
363<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
364<CODE>abstract &nbsp;boolean</CODE></FONT></TD>
365<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">equals</A></B>(<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>&nbsp;o)</CODE>
366
367<BR>
368&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equality for node objects is defined as full (deep) value
369 equality.</TD>
370</TR>
371<TR BGCOLOR="white" CLASS="TableRowColor">
372<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
373<CODE>&nbsp;<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</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></FONT></TD>
374<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#fieldNames()">fieldNames</A></B>()</CODE>
375
376<BR>
377&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method for accessing names of all fields for this Node, iff
378 this node is a JSON Object node.</TD>
379</TR>
380<TR BGCOLOR="white" CLASS="TableRowColor">
381<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
382<CODE>&nbsp;<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</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>,<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>&gt;&gt;</CODE></FONT></TD>
383<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#fields()">fields</A></B>()</CODE>
384
385<BR>
386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
387</TR>
388<TR BGCOLOR="white" CLASS="TableRowColor">
389<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
390<CODE>abstract &nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD>
391<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#findParent(java.lang.String)">findParent</A></B>(<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>
392
393<BR>
394&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method for finding a JSON Object that contains specified field,
395 within this node or its descendants.</TD>
396</TR>
397<TR BGCOLOR="white" CLASS="TableRowColor">
398<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
399<CODE>&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;</CODE></FONT></TD>
400<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#findParents(java.lang.String)">findParents</A></B>(<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>
401
402<BR>
403&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method for finding a JSON Object that contains specified field,
404 within this node or its descendants.</TD>
405</TR>
406<TR BGCOLOR="white" CLASS="TableRowColor">
407<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
408<CODE>abstract &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;</CODE></FONT></TD>
409<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#findParents(java.lang.String, java.util.List)">findParents</A></B>(<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,
410            <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>
411
412<BR>
413&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
414</TR>
415<TR BGCOLOR="white" CLASS="TableRowColor">
416<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
417<CODE>abstract &nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD>
418<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#findPath(java.lang.String)">findPath</A></B>(<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>
419
420<BR>
421&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method similar to <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue(java.lang.String)"><CODE>findValue(java.lang.String)</CODE></A>, but that will return a
422 "missing node" instead of null if no field is found.</TD>
423</TR>
424<TR BGCOLOR="white" CLASS="TableRowColor">
425<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
426<CODE>abstract &nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD>
427<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue(java.lang.String)">findValue</A></B>(<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>
428
429<BR>
430&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method for finding a JSON Object field with specified name in this
431 node or its child nodes, and returning value it has.</TD>
432</TR>
433<TR BGCOLOR="white" CLASS="TableRowColor">
434<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
435<CODE>&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;</CODE></FONT></TD>
436<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues(java.lang.String)">findValues</A></B>(<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>
437
438<BR>
439&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method for finding JSON Object fields with specified name, and returning
440 found ones as a List.</TD>
441</TR>
442<TR BGCOLOR="white" CLASS="TableRowColor">
443<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
444<CODE>abstract &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;</CODE></FONT></TD>
445<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues(java.lang.String, java.util.List)">findValues</A></B>(<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,
446           <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>
447
448<BR>
449&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
450</TR>
451<TR BGCOLOR="white" CLASS="TableRowColor">
452<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
453<CODE>&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;</CODE></FONT></TD>
454<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#findValuesAsText(java.lang.String)">findValuesAsText</A></B>(<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>
455
456<BR>
457&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Similar to <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues(java.lang.String)"><CODE>findValues(java.lang.String)</CODE></A>, but will additionally convert
458 values into Strings, calling <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#asText()"><CODE>asText()</CODE></A>.</TD>
459</TR>
460<TR BGCOLOR="white" CLASS="TableRowColor">
461<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
462<CODE>abstract &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;</CODE></FONT></TD>
463<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</A></B>(<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,
464                 <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>
465
466<BR>
467&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
468</TR>
469<TR BGCOLOR="white" CLASS="TableRowColor">
470<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
471<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD>
472<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)">get</A></B>(int&nbsp;index)</CODE>
473
474<BR>
475&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method for accessing value of the specified element of
476 an array node.</TD>
477</TR>
478<TR BGCOLOR="white" CLASS="TableRowColor">
479<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
480<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD>
481<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)">get</A></B>(<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>
482
483<BR>
484&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method for accessing value of the specified field of
485 an object node.</TD>
486</TR>
487<TR BGCOLOR="white" CLASS="TableRowColor">
488<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
489<CODE>&nbsp;boolean</CODE></FONT></TD>
490<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#has(int)">has</A></B>(int&nbsp;index)</CODE>
491
492<BR>
493&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that allows checking whether this node is JSON Array node
494 and contains a value for specified index
495 If this is the case
496 (including case of specified indexing having null as value), returns true;
497 otherwise returns false.</TD>
498</TR>
499<TR BGCOLOR="white" CLASS="TableRowColor">
500<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
501<CODE>&nbsp;boolean</CODE></FONT></TD>
502<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#has(java.lang.String)">has</A></B>(<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>
503
504<BR>
505&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that allows checking whether this node is JSON Object node
506 and contains value for specified property.</TD>
507</TR>
508<TR BGCOLOR="white" CLASS="TableRowColor">
509<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
510<CODE>&nbsp;boolean</CODE></FONT></TD>
511<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull(int)">hasNonNull</A></B>(int&nbsp;index)</CODE>
512
513<BR>
514&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that is similar to <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#has(int)"><CODE>has(int)</CODE></A>, but that will
515 return <code>false</code> for explicitly added nulls.</TD>
516</TR>
517<TR BGCOLOR="white" CLASS="TableRowColor">
518<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
519<CODE>&nbsp;boolean</CODE></FONT></TD>
520<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull(java.lang.String)">hasNonNull</A></B>(<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>
521
522<BR>
523&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that is similar to <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#has(java.lang.String)"><CODE>has(String)</CODE></A>, but that will
524 return <code>false</code> for explicitly added nulls.</TD>
525</TR>
526<TR BGCOLOR="white" CLASS="TableRowColor">
527<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
528<CODE>&nbsp;int</CODE></FONT></TD>
529<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#intValue()">intValue</A></B>()</CODE>
530
531<BR>
532&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns integer value for this node, <b>if and only if</b>
533 this node is numeric (<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>isNumber()</CODE></A> returns true).</TD>
534</TR>
535<TR BGCOLOR="white" CLASS="TableRowColor">
536<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
537<CODE>&nbsp;boolean</CODE></FONT></TD>
538<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isArray()">isArray</A></B>()</CODE>
539
540<BR>
541&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
542</TR>
543<TR BGCOLOR="white" CLASS="TableRowColor">
544<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
545<CODE>&nbsp;boolean</CODE></FONT></TD>
546<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigDecimal()">isBigDecimal</A></B>()</CODE>
547
548<BR>
549&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
550</TR>
551<TR BGCOLOR="white" CLASS="TableRowColor">
552<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
553<CODE>&nbsp;boolean</CODE></FONT></TD>
554<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigInteger()">isBigInteger</A></B>()</CODE>
555
556<BR>
557&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
558</TR>
559<TR BGCOLOR="white" CLASS="TableRowColor">
560<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
561<CODE>&nbsp;boolean</CODE></FONT></TD>
562<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isBinary()">isBinary</A></B>()</CODE>
563
564<BR>
565&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be used to check if this node represents
566 binary data (Base64 encoded).</TD>
567</TR>
568<TR BGCOLOR="white" CLASS="TableRowColor">
569<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
570<CODE>&nbsp;boolean</CODE></FONT></TD>
571<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isBoolean()">isBoolean</A></B>()</CODE>
572
573<BR>
574&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be used to check if this node was created from
575 JSON boolean value (literals "true" and "false").</TD>
576</TR>
577<TR BGCOLOR="white" CLASS="TableRowColor">
578<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
579<CODE>&nbsp;boolean</CODE></FONT></TD>
580<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isContainerNode()">isContainerNode</A></B>()</CODE>
581
582<BR>
583&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that returns true for container nodes: Arrays and Objects.</TD>
584</TR>
585<TR BGCOLOR="white" CLASS="TableRowColor">
586<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
587<CODE>&nbsp;boolean</CODE></FONT></TD>
588<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isDouble()">isDouble</A></B>()</CODE>
589
590<BR>
591&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
592</TR>
593<TR BGCOLOR="white" CLASS="TableRowColor">
594<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
595<CODE>&nbsp;boolean</CODE></FONT></TD>
596<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isFloatingPointNumber()">isFloatingPointNumber</A></B>()</CODE>
597
598<BR>
599&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
600</TR>
601<TR BGCOLOR="white" CLASS="TableRowColor">
602<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
603<CODE>&nbsp;boolean</CODE></FONT></TD>
604<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isInt()">isInt</A></B>()</CODE>
605
606<BR>
607&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be used to check whether contained value
608 is a number represented as Java <code>int</code>.</TD>
609</TR>
610<TR BGCOLOR="white" CLASS="TableRowColor">
611<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
612<CODE>&nbsp;boolean</CODE></FONT></TD>
613<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isIntegralNumber()">isIntegralNumber</A></B>()</CODE>
614
615<BR>
616&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
617</TR>
618<TR BGCOLOR="white" CLASS="TableRowColor">
619<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
620<CODE>&nbsp;boolean</CODE></FONT></TD>
621<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isLong()">isLong</A></B>()</CODE>
622
623<BR>
624&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be used to check whether contained value
625 is a number represented as Java <code>long</code>.</TD>
626</TR>
627<TR BGCOLOR="white" CLASS="TableRowColor">
628<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
629<CODE>&nbsp;boolean</CODE></FONT></TD>
630<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()">isMissingNode</A></B>()</CODE>
631
632<BR>
633&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that returns true for "virtual" nodes which represent
634 missing entries constructed by path accessor methods when
635 there is no actual node matching given criteria.</TD>
636</TR>
637<TR BGCOLOR="white" CLASS="TableRowColor">
638<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
639<CODE>&nbsp;boolean</CODE></FONT></TD>
640<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNull()">isNull</A></B>()</CODE>
641
642<BR>
643&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be used to check if this node was created from
644 JSON literal null value.</TD>
645</TR>
646<TR BGCOLOR="white" CLASS="TableRowColor">
647<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
648<CODE>&nbsp;boolean</CODE></FONT></TD>
649<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()">isNumber</A></B>()</CODE>
650
651<BR>
652&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
653</TR>
654<TR BGCOLOR="white" CLASS="TableRowColor">
655<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
656<CODE>&nbsp;boolean</CODE></FONT></TD>
657<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isObject()">isObject</A></B>()</CODE>
658
659<BR>
660&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
661</TR>
662<TR BGCOLOR="white" CLASS="TableRowColor">
663<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
664<CODE>&nbsp;boolean</CODE></FONT></TD>
665<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isPojo()">isPojo</A></B>()</CODE>
666
667<BR>
668&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be used to check if the node is a wrapper
669 for a POJO ("Plain Old Java Object" aka "bean".</TD>
670</TR>
671<TR BGCOLOR="white" CLASS="TableRowColor">
672<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
673<CODE>&nbsp;boolean</CODE></FONT></TD>
674<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isTextual()">isTextual</A></B>()</CODE>
675
676<BR>
677&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
678</TR>
679<TR BGCOLOR="white" CLASS="TableRowColor">
680<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
681<CODE>&nbsp;boolean</CODE></FONT></TD>
682<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()">isValueNode</A></B>()</CODE>
683
684<BR>
685&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that returns true for all value nodes: ones that
686 are not containers, and that do not represent "missing" nodes
687 in the path.</TD>
688</TR>
689<TR BGCOLOR="white" CLASS="TableRowColor">
690<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
691<CODE>&nbsp;<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>&gt;</CODE></FONT></TD>
692<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#iterator()">iterator</A></B>()</CODE>
693
694<BR>
695&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Same as calling <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#elements()"><CODE>elements()</CODE></A>; implemented so that
696 convenience "for-each" loop can be used for looping over elements
697 of JSON Array constructs.</TD>
698</TR>
699<TR BGCOLOR="white" CLASS="TableRowColor">
700<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
701<CODE>&nbsp;long</CODE></FONT></TD>
702<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#longValue()">longValue</A></B>()</CODE>
703
704<BR>
705&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
706</TR>
707<TR BGCOLOR="white" CLASS="TableRowColor">
708<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
709<CODE>abstract &nbsp;<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonParser.NumberType.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.NumberType</A></CODE></FONT></TD>
710<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#numberType()">numberType</A></B>()</CODE>
711
712<BR>
713&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this node is a numeric type (as per <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>isNumber()</CODE></A>),
714 returns native type that node uses to store the numeric value;
715 otherwise returns null.</TD>
716</TR>
717<TR BGCOLOR="white" CLASS="TableRowColor">
718<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
719<CODE>&nbsp;<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A></CODE></FONT></TD>
720<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#numberValue()">numberValue</A></B>()</CODE>
721
722<BR>
723&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns numeric value for this node, <b>if and only if</b>
724 this node is numeric (<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>isNumber()</CODE></A> returns true); otherwise
725 returns null</TD>
726</TR>
727<TR BGCOLOR="white" CLASS="TableRowColor">
728<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
729<CODE>abstract &nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD>
730<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#path(int)">path</A></B>(int&nbsp;index)</CODE>
731
732<BR>
733&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is similar to <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)"><CODE>get(int)</CODE></A>, except
734 that instead of returning null if no such element exists (due
735 to index being out of range, or this node not being an array),
736 a "missing node" (node that returns true for
737 <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>isMissingNode()</CODE></A>) will be returned.</TD>
738</TR>
739<TR BGCOLOR="white" CLASS="TableRowColor">
740<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
741<CODE>abstract &nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD>
742<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#path(java.lang.String)">path</A></B>(<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>
743
744<BR>
745&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is similar to <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)"><CODE>get(String)</CODE></A>, except
746 that instead of returning null if no such value exists (due
747 to this node not being an object, or object not having value
748 for the specified field),
749 a "missing node" (node that returns true for
750 <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>isMissingNode()</CODE></A>) will be returned.</TD>
751</TR>
752<TR BGCOLOR="white" CLASS="TableRowColor">
753<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
754<CODE>&nbsp;int</CODE></FONT></TD>
755<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#size()">size</A></B>()</CODE>
756
757<BR>
758&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that returns number of child nodes this node contains:
759 for Array nodes, number of child elements, for Object nodes,
760 number of fields, and for all other nodes 0.</TD>
761</TR>
762<TR BGCOLOR="white" CLASS="TableRowColor">
763<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
764<CODE>&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></CODE></FONT></TD>
765<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#textValue()">textValue</A></B>()</CODE>
766
767<BR>
768&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method to use for accessing String values.</TD>
769</TR>
770<TR BGCOLOR="white" CLASS="TableRowColor">
771<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
772<CODE>abstract &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></CODE></FONT></TD>
773<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#toString()">toString</A></B>()</CODE>
774
775<BR>
776&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
777 Note: marked as abstract to ensure all implementation
778 classes define it properly.</TD>
779</TR>
780<TR BGCOLOR="white" CLASS="TableRowColor">
781<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
782<CODE>abstract &nbsp;<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</A></CODE></FONT></TD>
783<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#traverse()">traverse</A></B>()</CODE>
784
785<BR>
786&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method for constructing a <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><CODE>JsonParser</CODE></A> instance for
787 iterating over contents of the tree that this
788 node is root of.</TD>
789</TR>
790<TR BGCOLOR="white" CLASS="TableRowColor">
791<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
792<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD>
793<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#with(java.lang.String)">with</A></B>(<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;propertyName)</CODE>
794
795<BR>
796&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be called on Object nodes, to access a property
797 that has Object value; or if no such property exists, to create,
798 add and return such Object node.</TD>
799</TR>
800<TR BGCOLOR="white" CLASS="TableRowColor">
801<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
802<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD>
803<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#withArray(java.lang.String)">withArray</A></B>(<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;propertyName)</CODE>
804
805<BR>
806&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be called on Object nodes, to access a property
807 that has <code>Array</code> value; or if no such property exists, to create,
808 add and return such Array node.</TD>
809</TR>
810</TABLE>
811&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
812<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
813<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
814<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
815</TR>
816<TR BGCOLOR="white" CLASS="TableRowColor">
817<TD><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></TD>
818</TR>
819</TABLE>
820&nbsp;
821<P>
822
823<!-- ============ FIELD DETAIL =========== -->
824
825<A NAME="field_detail"><!-- --></A>
826<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
827<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
828<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
829<B>Field Detail</B></FONT></TH>
830</TR>
831</TABLE>
832
833<A NAME="NO_NODES"><!-- --></A><H3>
834NO_NODES</H3>
835<PRE>
836protected static final <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>&gt; <B>NO_NODES</B></PRE>
837<DL>
838<DL>
839</DL>
840</DL>
841<HR>
842
843<A NAME="NO_STRINGS"><!-- --></A><H3>
844NO_STRINGS</H3>
845<PRE>
846protected static final <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&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; <B>NO_STRINGS</B></PRE>
847<DL>
848<DL>
849</DL>
850</DL>
851
852<!-- ========= CONSTRUCTOR DETAIL ======== -->
853
854<A NAME="constructor_detail"><!-- --></A>
855<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
856<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
857<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
858<B>Constructor Detail</B></FONT></TH>
859</TR>
860</TABLE>
861
862<A NAME="JsonNode()"><!-- --></A><H3>
863JsonNode</H3>
864<PRE>
865protected <B>JsonNode</B>()</PRE>
866<DL>
867</DL>
868
869<!-- ============ METHOD DETAIL ========== -->
870
871<A NAME="method_detail"><!-- --></A>
872<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
873<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
874<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
875<B>Method Detail</B></FONT></TH>
876</TR>
877</TABLE>
878
879<A NAME="deepCopy()"><!-- --></A><H3>
880deepCopy</H3>
881<PRE>
882public abstract &lt;T extends <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>&gt; T <B>deepCopy</B>()</PRE>
883<DL>
884<DD>Method that can be called to get a node that is guaranteed
885 not to allow changing of this node through mutators on
886 this node or any of its children.
887 This means it can either make a copy of this node (and all
888 mutable children and grand children nodes), or node itself
889 if it is immutable.
890<p>
891 Note: return type is guaranteed to have same type as the
892 node method is called on; which is why method is declared
893 with local generic type.
894<P>
895<DD><DL>
896</DL>
897</DD>
898<DD><DL>
899
900<DT><B>Returns:</B><DD>Node that is either a copy of this node (and all non-leaf
901    children); or, for immutable leaf nodes, node itself.<DT><B>Since:</B></DT>
902  <DD>2.0</DD>
903</DL>
904</DD>
905</DL>
906<HR>
907
908<A NAME="isValueNode()"><!-- --></A><H3>
909isValueNode</H3>
910<PRE>
911public boolean <B>isValueNode</B>()</PRE>
912<DL>
913<DD>Method that returns true for all value nodes: ones that
914 are not containers, and that do not represent "missing" nodes
915 in the path. Such value nodes represent String, Number, Boolean
916 and null values from JSON.
917<p>
918 Note: one and only one of methods <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><CODE>isValueNode()</CODE></A>,
919 <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isContainerNode()"><CODE>isContainerNode()</CODE></A> and <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>isMissingNode()</CODE></A> ever
920 returns true for any given node.
921<P>
922<DD><DL>
923</DL>
924</DD>
925<DD><DL>
926</DL>
927</DD>
928</DL>
929<HR>
930
931<A NAME="isContainerNode()"><!-- --></A><H3>
932isContainerNode</H3>
933<PRE>
934public boolean <B>isContainerNode</B>()</PRE>
935<DL>
936<DD>Method that returns true for container nodes: Arrays and Objects.
937<p>
938 Note: one and only one of methods <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><CODE>isValueNode()</CODE></A>,
939 <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isContainerNode()"><CODE>isContainerNode()</CODE></A> and <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>isMissingNode()</CODE></A> ever
940 returns true for any given node.
941<P>
942<DD><DL>
943</DL>
944</DD>
945<DD><DL>
946</DL>
947</DD>
948</DL>
949<HR>
950
951<A NAME="isMissingNode()"><!-- --></A><H3>
952isMissingNode</H3>
953<PRE>
954public boolean <B>isMissingNode</B>()</PRE>
955<DL>
956<DD>Method that returns true for "virtual" nodes which represent
957 missing entries constructed by path accessor methods when
958 there is no actual node matching given criteria.
959<p>
960 Note: one and only one of methods <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><CODE>isValueNode()</CODE></A>,
961 <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isContainerNode()"><CODE>isContainerNode()</CODE></A> and <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>isMissingNode()</CODE></A> ever
962 returns true for any given node.
963<P>
964<DD><DL>
965</DL>
966</DD>
967<DD><DL>
968</DL>
969</DD>
970</DL>
971<HR>
972
973<A NAME="isArray()"><!-- --></A><H3>
974isArray</H3>
975<PRE>
976public boolean <B>isArray</B>()</PRE>
977<DL>
978<DD><DL>
979</DL>
980</DD>
981<DD><DL>
982
983<DT><B>Returns:</B><DD>True if this node represents JSON Array</DL>
984</DD>
985</DL>
986<HR>
987
988<A NAME="isObject()"><!-- --></A><H3>
989isObject</H3>
990<PRE>
991public boolean <B>isObject</B>()</PRE>
992<DL>
993<DD><DL>
994</DL>
995</DD>
996<DD><DL>
997
998<DT><B>Returns:</B><DD>True if this node represents JSON Object</DL>
999</DD>
1000</DL>
1001<HR>
1002
1003<A NAME="isPojo()"><!-- --></A><H3>
1004isPojo</H3>
1005<PRE>
1006public boolean <B>isPojo</B>()</PRE>
1007<DL>
1008<DD>Method that can be used to check if the node is a wrapper
1009 for a POJO ("Plain Old Java Object" aka "bean".
1010 Returns true only for
1011 instances of <code>POJONode</code>.
1012<P>
1013<DD><DL>
1014</DL>
1015</DD>
1016<DD><DL>
1017
1018<DT><B>Returns:</B><DD>True if this node wraps a POJO</DL>
1019</DD>
1020</DL>
1021<HR>
1022
1023<A NAME="isNumber()"><!-- --></A><H3>
1024isNumber</H3>
1025<PRE>
1026public boolean <B>isNumber</B>()</PRE>
1027<DL>
1028<DD><DL>
1029</DL>
1030</DD>
1031<DD><DL>
1032
1033<DT><B>Returns:</B><DD>True if this node represents a numeric JSON
1034   value</DL>
1035</DD>
1036</DL>
1037<HR>
1038
1039<A NAME="isIntegralNumber()"><!-- --></A><H3>
1040isIntegralNumber</H3>
1041<PRE>
1042public boolean <B>isIntegralNumber</B>()</PRE>
1043<DL>
1044<DD><DL>
1045</DL>
1046</DD>
1047<DD><DL>
1048
1049<DT><B>Returns:</B><DD>True if this node represents an integral (integer)
1050   numeric JSON value</DL>
1051</DD>
1052</DL>
1053<HR>
1054
1055<A NAME="isFloatingPointNumber()"><!-- --></A><H3>
1056isFloatingPointNumber</H3>
1057<PRE>
1058public boolean <B>isFloatingPointNumber</B>()</PRE>
1059<DL>
1060<DD><DL>
1061</DL>
1062</DD>
1063<DD><DL>
1064
1065<DT><B>Returns:</B><DD>True if this node represents a non-integral
1066   numeric JSON value</DL>
1067</DD>
1068</DL>
1069<HR>
1070
1071<A NAME="isInt()"><!-- --></A><H3>
1072isInt</H3>
1073<PRE>
1074public boolean <B>isInt</B>()</PRE>
1075<DL>
1076<DD>Method that can be used to check whether contained value
1077 is a number represented as Java <code>int</code>.
1078 Note, however, that even if this method returns false, it
1079 is possible that conversion would be possible from other numeric
1080 types -- to check if this is possible, use
1081 <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt()"><CODE>canConvertToInt()</CODE></A> instead.
1082<P>
1083<DD><DL>
1084</DL>
1085</DD>
1086<DD><DL>
1087
1088<DT><B>Returns:</B><DD>True if the value contained by this node is stored as Java int</DL>
1089</DD>
1090</DL>
1091<HR>
1092
1093<A NAME="isLong()"><!-- --></A><H3>
1094isLong</H3>
1095<PRE>
1096public boolean <B>isLong</B>()</PRE>
1097<DL>
1098<DD>Method that can be used to check whether contained value
1099 is a number represented as Java <code>long</code>.
1100 Note, however, that even if this method returns false, it
1101 is possible that conversion would be possible from other numeric
1102 types -- to check if this is possible, use
1103 <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt()"><CODE>canConvertToInt()</CODE></A> instead.
1104<P>
1105<DD><DL>
1106</DL>
1107</DD>
1108<DD><DL>
1109
1110<DT><B>Returns:</B><DD>True if the value contained by this node is stored as Java <code>long</code></DL>
1111</DD>
1112</DL>
1113<HR>
1114
1115<A NAME="isDouble()"><!-- --></A><H3>
1116isDouble</H3>
1117<PRE>
1118public boolean <B>isDouble</B>()</PRE>
1119<DL>
1120<DD><DL>
1121</DL>
1122</DD>
1123<DD><DL>
1124</DL>
1125</DD>
1126</DL>
1127<HR>
1128
1129<A NAME="isBigDecimal()"><!-- --></A><H3>
1130isBigDecimal</H3>
1131<PRE>
1132public boolean <B>isBigDecimal</B>()</PRE>
1133<DL>
1134<DD><DL>
1135</DL>
1136</DD>
1137<DD><DL>
1138</DL>
1139</DD>
1140</DL>
1141<HR>
1142
1143<A NAME="isBigInteger()"><!-- --></A><H3>
1144isBigInteger</H3>
1145<PRE>
1146public boolean <B>isBigInteger</B>()</PRE>
1147<DL>
1148<DD><DL>
1149</DL>
1150</DD>
1151<DD><DL>
1152</DL>
1153</DD>
1154</DL>
1155<HR>
1156
1157<A NAME="isTextual()"><!-- --></A><H3>
1158isTextual</H3>
1159<PRE>
1160public boolean <B>isTextual</B>()</PRE>
1161<DL>
1162<DD><DL>
1163</DL>
1164</DD>
1165<DD><DL>
1166</DL>
1167</DD>
1168</DL>
1169<HR>
1170
1171<A NAME="isBoolean()"><!-- --></A><H3>
1172isBoolean</H3>
1173<PRE>
1174public boolean <B>isBoolean</B>()</PRE>
1175<DL>
1176<DD>Method that can be used to check if this node was created from
1177 JSON boolean value (literals "true" and "false").
1178<P>
1179<DD><DL>
1180</DL>
1181</DD>
1182<DD><DL>
1183</DL>
1184</DD>
1185</DL>
1186<HR>
1187
1188<A NAME="isNull()"><!-- --></A><H3>
1189isNull</H3>
1190<PRE>
1191public boolean <B>isNull</B>()</PRE>
1192<DL>
1193<DD>Method that can be used to check if this node was created from
1194 JSON literal null value.
1195<P>
1196<DD><DL>
1197</DL>
1198</DD>
1199<DD><DL>
1200</DL>
1201</DD>
1202</DL>
1203<HR>
1204
1205<A NAME="isBinary()"><!-- --></A><H3>
1206isBinary</H3>
1207<PRE>
1208public boolean <B>isBinary</B>()</PRE>
1209<DL>
1210<DD>Method that can be used to check if this node represents
1211 binary data (Base64 encoded). Although this will be externally
1212 written as JSON String value, <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isTextual()"><CODE>isTextual()</CODE></A> will
1213 return false if this method returns true.
1214<P>
1215<DD><DL>
1216</DL>
1217</DD>
1218<DD><DL>
1219
1220<DT><B>Returns:</B><DD>True if this node represents base64 encoded binary data</DL>
1221</DD>
1222</DL>
1223<HR>
1224
1225<A NAME="asToken()"><!-- --></A><H3>
1226asToken</H3>
1227<PRE>
1228public abstract <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</A> <B>asToken</B>()</PRE>
1229<DL>
1230<DD>Method that can be used for efficient type detection
1231 when using stream abstraction for traversing nodes.
1232 Will return the first <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><CODE>JsonToken</CODE></A> that equivalent
1233 stream event would produce (for most nodes there is just
1234 one token but for structured/container types multiple)
1235<P>
1236<DD><DL>
1237<DT><B>Specified by:</B><DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true#asToken()" title="class or interface in com.fasterxml.jackson.core">asToken</A></CODE> in interface <CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</A></CODE></DL>
1238</DD>
1239<DD><DL>
1240</DL>
1241</DD>
1242</DL>
1243<HR>
1244
1245<A NAME="numberType()"><!-- --></A><H3>
1246numberType</H3>
1247<PRE>
1248public abstract <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonParser.NumberType.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.NumberType</A> <B>numberType</B>()</PRE>
1249<DL>
1250<DD>If this node is a numeric type (as per <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>isNumber()</CODE></A>),
1251 returns native type that node uses to store the numeric value;
1252 otherwise returns null.
1253<P>
1254<DD><DL>
1255<DT><B>Specified by:</B><DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true#numberType()" title="class or interface in com.fasterxml.jackson.core">numberType</A></CODE> in interface <CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</A></CODE></DL>
1256</DD>
1257<DD><DL>
1258
1259<DT><B>Returns:</B><DD>Type of number contained, if any; or null if node does not
1260  contain numeric value.</DL>
1261</DD>
1262</DL>
1263<HR>
1264
1265<A NAME="canConvertToInt()"><!-- --></A><H3>
1266canConvertToInt</H3>
1267<PRE>
1268public boolean <B>canConvertToInt</B>()</PRE>
1269<DL>
1270<DD>Method that can be used to check whether this node is a numeric
1271 node (<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>isNumber()</CODE></A> would return true) AND its value fits
1272 within Java's 32-bit signed integer type, <code>int</code>.
1273 Note that floating-point numbers are convertible if the integral
1274 part fits without overflow (as per standard Java coercion rules)
1275<P>
1276<DD><DL>
1277</DL>
1278</DD>
1279<DD><DL>
1280<DT><B>Since:</B></DT>
1281  <DD>2.0</DD>
1282</DL>
1283</DD>
1284</DL>
1285<HR>
1286
1287<A NAME="canConvertToLong()"><!-- --></A><H3>
1288canConvertToLong</H3>
1289<PRE>
1290public boolean <B>canConvertToLong</B>()</PRE>
1291<DL>
1292<DD>Method that can be used to check whether this node is a numeric
1293 node (<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>isNumber()</CODE></A> would return true) AND its value fits
1294 within Java's 64-bit signed integer type, <code>long</code>.
1295 Note that floating-point numbers are convertible if the integral
1296 part fits without overflow (as per standard Java coercion rules)
1297<P>
1298<DD><DL>
1299</DL>
1300</DD>
1301<DD><DL>
1302<DT><B>Since:</B></DT>
1303  <DD>2.0</DD>
1304</DL>
1305</DD>
1306</DL>
1307<HR>
1308
1309<A NAME="textValue()"><!-- --></A><H3>
1310textValue</H3>
1311<PRE>
1312public <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> <B>textValue</B>()</PRE>
1313<DL>
1314<DD>Method to use for accessing String values.
1315 Does <b>NOT</b> do any conversions for non-String value nodes;
1316 for non-String values (ones for which <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isTextual()"><CODE>isTextual()</CODE></A> returns
1317 false) null will be returned.
1318 For String values, null is never returned (but empty Strings may be)
1319<P>
1320<DD><DL>
1321</DL>
1322</DD>
1323<DD><DL>
1324
1325<DT><B>Returns:</B><DD>Textual value this node contains, iff it is a textual
1326   JSON node (comes from JSON String value entry)</DL>
1327</DD>
1328</DL>
1329<HR>
1330
1331<A NAME="binaryValue()"><!-- --></A><H3>
1332binaryValue</H3>
1333<PRE>
1334public byte[] <B>binaryValue</B>()
1335                   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></PRE>
1336<DL>
1337<DD>Method to use for accessing binary content of binary nodes (nodes
1338 for which <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isBinary()"><CODE>isBinary()</CODE></A> returns true); or for Text Nodes
1339 (ones for which <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#textValue()"><CODE>textValue()</CODE></A> returns non-null value),
1340 to read decoded base64 data.
1341 For other types of nodes, returns null.
1342<P>
1343<DD><DL>
1344</DL>
1345</DD>
1346<DD><DL>
1347
1348<DT><B>Returns:</B><DD>Binary data this node contains, iff it is a binary
1349   node; null otherwise
1350<DT><B>Throws:</B>
1351<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></DL>
1352</DD>
1353</DL>
1354<HR>
1355
1356<A NAME="booleanValue()"><!-- --></A><H3>
1357booleanValue</H3>
1358<PRE>
1359public boolean <B>booleanValue</B>()</PRE>
1360<DL>
1361<DD>Method to use for accessing JSON boolean values (value
1362 literals 'true' and 'false').
1363 For other types, always returns false.
1364<P>
1365<DD><DL>
1366</DL>
1367</DD>
1368<DD><DL>
1369
1370<DT><B>Returns:</B><DD>Textual value this node contains, iff it is a textual
1371   json node (comes from JSON String value entry)</DL>
1372</DD>
1373</DL>
1374<HR>
1375
1376<A NAME="numberValue()"><!-- --></A><H3>
1377numberValue</H3>
1378<PRE>
1379public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A> <B>numberValue</B>()</PRE>
1380<DL>
1381<DD>Returns numeric value for this node, <b>if and only if</b>
1382 this node is numeric (<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>isNumber()</CODE></A> returns true); otherwise
1383 returns null
1384<P>
1385<DD><DL>
1386</DL>
1387</DD>
1388<DD><DL>
1389
1390<DT><B>Returns:</B><DD>Number value this node contains, if any (null for non-number
1391   nodes).</DL>
1392</DD>
1393</DL>
1394<HR>
1395
1396<A NAME="intValue()"><!-- --></A><H3>
1397intValue</H3>
1398<PRE>
1399public int <B>intValue</B>()</PRE>
1400<DL>
1401<DD>Returns integer value for this node, <b>if and only if</b>
1402 this node is numeric (<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>isNumber()</CODE></A> returns true). For other
1403 types returns 0.
1404 For floating-point numbers, value is truncated using default
1405 Java coercion, similar to how cast from double to int operates.
1406<P>
1407<DD><DL>
1408</DL>
1409</DD>
1410<DD><DL>
1411
1412<DT><B>Returns:</B><DD>Integer value this node contains, if any; 0 for non-number
1413   nodes.</DL>
1414</DD>
1415</DL>
1416<HR>
1417
1418<A NAME="longValue()"><!-- --></A><H3>
1419longValue</H3>
1420<PRE>
1421public long <B>longValue</B>()</PRE>
1422<DL>
1423<DD><DL>
1424</DL>
1425</DD>
1426<DD><DL>
1427</DL>
1428</DD>
1429</DL>
1430<HR>
1431
1432<A NAME="doubleValue()"><!-- --></A><H3>
1433doubleValue</H3>
1434<PRE>
1435public double <B>doubleValue</B>()</PRE>
1436<DL>
1437<DD><DL>
1438</DL>
1439</DD>
1440<DD><DL>
1441</DL>
1442</DD>
1443</DL>
1444<HR>
1445
1446<A NAME="decimalValue()"><!-- --></A><H3>
1447decimalValue</H3>
1448<PRE>
1449public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> <B>decimalValue</B>()</PRE>
1450<DL>
1451<DD><DL>
1452</DL>
1453</DD>
1454<DD><DL>
1455</DL>
1456</DD>
1457</DL>
1458<HR>
1459
1460<A NAME="bigIntegerValue()"><!-- --></A><H3>
1461bigIntegerValue</H3>
1462<PRE>
1463public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A> <B>bigIntegerValue</B>()</PRE>
1464<DL>
1465<DD><DL>
1466</DL>
1467</DD>
1468<DD><DL>
1469</DL>
1470</DD>
1471</DL>
1472<HR>
1473
1474<A NAME="get(int)"><!-- --></A><H3>
1475get</H3>
1476<PRE>
1477public <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>get</B>(int&nbsp;index)</PRE>
1478<DL>
1479<DD>Method for accessing value of the specified element of
1480 an array node. For other nodes, null is always returned.
1481<p>
1482 For array nodes, index specifies
1483 exact location within array and allows for efficient iteration
1484 over child elements (underlying storage is guaranteed to
1485 be efficiently indexable, i.e. has random-access to elements).
1486 If index is less than 0, or equal-or-greater than
1487 <code>node.size()</code>, null is returned; no exception is
1488 thrown for any index.
1489<p>
1490 NOTE: if the element value has been explicitly set as <code>null</code>
1491 (which is different from removal!),
1492 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,
1493 not null.
1494<P>
1495<DD><DL>
1496</DL>
1497</DD>
1498<DD><DL>
1499
1500<DT><B>Returns:</B><DD>Node that represent value of the specified element,
1501   if this node is an array and has specified element.
1502   Null otherwise.</DL>
1503</DD>
1504</DL>
1505<HR>
1506
1507<A NAME="get(java.lang.String)"><!-- --></A><H3>
1508get</H3>
1509<PRE>
1510public <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>get</B>(<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>
1511<DL>
1512<DD>Method for accessing value of the specified field of
1513 an object node. If this node is not an object (or it
1514 does not have a value for specified field name), or
1515 if there is no field with such name, null is returned.
1516<p>
1517 NOTE: if the property value has been explicitly set as <code>null</code>
1518 (which is different from removal!),
1519 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,
1520 not null.
1521<P>
1522<DD><DL>
1523</DL>
1524</DD>
1525<DD><DL>
1526
1527<DT><B>Returns:</B><DD>Node that represent value of the specified field,
1528   if this node is an object and has value for the specified
1529   field. Null otherwise.</DL>
1530</DD>
1531</DL>
1532<HR>
1533
1534<A NAME="asText()"><!-- --></A><H3>
1535asText</H3>
1536<PRE>
1537public abstract <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> <B>asText</B>()</PRE>
1538<DL>
1539<DD>Method that will return a valid String representation of
1540 the container value, if the node is a value node
1541 (method <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><CODE>isValueNode()</CODE></A> returns true),
1542 otherwise empty String.
1543<P>
1544<DD><DL>
1545</DL>
1546</DD>
1547<DD><DL>
1548</DL>
1549</DD>
1550</DL>
1551<HR>
1552
1553<A NAME="asInt()"><!-- --></A><H3>
1554asInt</H3>
1555<PRE>
1556public int <B>asInt</B>()</PRE>
1557<DL>
1558<DD>Method that will try to convert value of this node to a Java <b>int</b>.
1559 Numbers are coerced using default Java rules; booleans convert to 0 (false)
1560 and 1 (true), and Strings are parsed using default Java language integer
1561 parsing rules.
1562<p>
1563 If representation can not be converted to an int (including structured types
1564 like Objects and Arrays),
1565 default value of <b>0</b> will be returned; no exceptions are thrown.
1566<P>
1567<DD><DL>
1568</DL>
1569</DD>
1570<DD><DL>
1571</DL>
1572</DD>
1573</DL>
1574<HR>
1575
1576<A NAME="asInt(int)"><!-- --></A><H3>
1577asInt</H3>
1578<PRE>
1579public int <B>asInt</B>(int&nbsp;defaultValue)</PRE>
1580<DL>
1581<DD>Method that will try to convert value of this node to a Java <b>int</b>.
1582 Numbers are coerced using default Java rules; booleans convert to 0 (false)
1583 and 1 (true), and Strings are parsed using default Java language integer
1584 parsing rules.
1585<p>
1586 If representation can not be converted to an int (including structured types
1587 like Objects and Arrays),
1588 specified <b>defaultValue</b> will be returned; no exceptions are thrown.
1589<P>
1590<DD><DL>
1591</DL>
1592</DD>
1593<DD><DL>
1594</DL>
1595</DD>
1596</DL>
1597<HR>
1598
1599<A NAME="asLong()"><!-- --></A><H3>
1600asLong</H3>
1601<PRE>
1602public long <B>asLong</B>()</PRE>
1603<DL>
1604<DD>Method that will try to convert value of this node to a Java <b>long</b>.
1605 Numbers are coerced using default Java rules; booleans convert to 0 (false)
1606 and 1 (true), and Strings are parsed using default Java language integer
1607 parsing rules.
1608<p>
1609 If representation can not be converted to an long (including structured types
1610 like Objects and Arrays),
1611 default value of <b>0</b> will be returned; no exceptions are thrown.
1612<P>
1613<DD><DL>
1614</DL>
1615</DD>
1616<DD><DL>
1617</DL>
1618</DD>
1619</DL>
1620<HR>
1621
1622<A NAME="asLong(long)"><!-- --></A><H3>
1623asLong</H3>
1624<PRE>
1625public long <B>asLong</B>(long&nbsp;defaultValue)</PRE>
1626<DL>
1627<DD>Method that will try to convert value of this node to a Java <b>long</b>.
1628 Numbers are coerced using default Java rules; booleans convert to 0 (false)
1629 and 1 (true), and Strings are parsed using default Java language integer
1630 parsing rules.
1631<p>
1632 If representation can not be converted to an long (including structured types
1633 like Objects and Arrays),
1634 specified <b>defaultValue</b> will be returned; no exceptions are thrown.
1635<P>
1636<DD><DL>
1637</DL>
1638</DD>
1639<DD><DL>
1640</DL>
1641</DD>
1642</DL>
1643<HR>
1644
1645<A NAME="asDouble()"><!-- --></A><H3>
1646asDouble</H3>
1647<PRE>
1648public double <B>asDouble</B>()</PRE>
1649<DL>
1650<DD>Method that will try to convert value of this node to a Java <b>double</b>.
1651 Numbers are coerced using default Java rules; booleans convert to 0.0 (false)
1652 and 1.0 (true), and Strings are parsed using default Java language integer
1653 parsing rules.
1654<p>
1655 If representation can not be converted to an int (including structured types
1656 like Objects and Arrays),
1657 default value of <b>0.0</b> will be returned; no exceptions are thrown.
1658<P>
1659<DD><DL>
1660</DL>
1661</DD>
1662<DD><DL>
1663</DL>
1664</DD>
1665</DL>
1666<HR>
1667
1668<A NAME="asDouble(double)"><!-- --></A><H3>
1669asDouble</H3>
1670<PRE>
1671public double <B>asDouble</B>(double&nbsp;defaultValue)</PRE>
1672<DL>
1673<DD>Method that will try to convert value of this node to a Java <b>double</b>.
1674 Numbers are coerced using default Java rules; booleans convert to 0.0 (false)
1675 and 1.0 (true), and Strings are parsed using default Java language integer
1676 parsing rules.
1677<p>
1678 If representation can not be converted to an int (including structured types
1679 like Objects and Arrays),
1680 specified <b>defaultValue</b> will be returned; no exceptions are thrown.
1681<P>
1682<DD><DL>
1683</DL>
1684</DD>
1685<DD><DL>
1686</DL>
1687</DD>
1688</DL>
1689<HR>
1690
1691<A NAME="asBoolean()"><!-- --></A><H3>
1692asBoolean</H3>
1693<PRE>
1694public boolean <B>asBoolean</B>()</PRE>
1695<DL>
1696<DD>Method that will try to convert value of this node to a Java <b>boolean</b>.
1697 JSON booleans map naturally; integer numbers other than 0 map to true, and
1698 0 maps to false
1699 and Strings 'true' and 'false' map to corresponding values.
1700<p>
1701 If representation can not be converted to a boolean value (including structured types
1702 like Objects and Arrays),
1703 default value of <b>false</b> will be returned; no exceptions are thrown.
1704<P>
1705<DD><DL>
1706</DL>
1707</DD>
1708<DD><DL>
1709</DL>
1710</DD>
1711</DL>
1712<HR>
1713
1714<A NAME="asBoolean(boolean)"><!-- --></A><H3>
1715asBoolean</H3>
1716<PRE>
1717public boolean <B>asBoolean</B>(boolean&nbsp;defaultValue)</PRE>
1718<DL>
1719<DD>Method that will try to convert value of this node to a Java <b>boolean</b>.
1720 JSON booleans map naturally; integer numbers other than 0 map to true, and
1721 0 maps to false
1722 and Strings 'true' and 'false' map to corresponding values.
1723<p>
1724 If representation can not be converted to a boolean value (including structured types
1725 like Objects and Arrays),
1726 specified <b>defaultValue</b> will be returned; no exceptions are thrown.
1727<P>
1728<DD><DL>
1729</DL>
1730</DD>
1731<DD><DL>
1732</DL>
1733</DD>
1734</DL>
1735<HR>
1736
1737<A NAME="has(java.lang.String)"><!-- --></A><H3>
1738has</H3>
1739<PRE>
1740public boolean <B>has</B>(<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>
1741<DL>
1742<DD>Method that allows checking whether this node is JSON Object node
1743 and contains value for specified property. If this is the case
1744 (including properties with explicit null values), returns true;
1745 otherwise returns false.
1746<p>
1747 This method is equivalent to:
1748<pre>
1749   node.get(fieldName) != null
1750</pre>
1751 (since return value of get() is node, not value node contains)
1752<p>
1753 NOTE: when explicit <code>null</code> values are added, this
1754 method will return <code>true</code> for such properties.
1755<P>
1756<DD><DL>
1757</DL>
1758</DD>
1759<DD><DL>
1760<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - Name of element to check
1761<DT><B>Returns:</B><DD>True if this node is a JSON Object node, and has a property
1762   entry with specified name (with any value, including null value)</DL>
1763</DD>
1764</DL>
1765<HR>
1766
1767<A NAME="has(int)"><!-- --></A><H3>
1768has</H3>
1769<PRE>
1770public boolean <B>has</B>(int&nbsp;index)</PRE>
1771<DL>
1772<DD>Method that allows checking whether this node is JSON Array node
1773 and contains a value for specified index
1774 If this is the case
1775 (including case of specified indexing having null as value), returns true;
1776 otherwise returns false.
1777<p>
1778 Note: array element indexes are 0-based.
1779<p>
1780 This method is equivalent to:
1781<pre>
1782   node.get(index) != null
1783</pre>
1784<p>
1785 NOTE: this method will return <code>true</code> for explicitly added
1786 null values.
1787<P>
1788<DD><DL>
1789</DL>
1790</DD>
1791<DD><DL>
1792<DT><B>Parameters:</B><DD><CODE>index</CODE> - Index to check
1793<DT><B>Returns:</B><DD>True if this node is a JSON Object node, and has a property
1794   entry with specified name (with any value, including null value)</DL>
1795</DD>
1796</DL>
1797<HR>
1798
1799<A NAME="hasNonNull(java.lang.String)"><!-- --></A><H3>
1800hasNonNull</H3>
1801<PRE>
1802public boolean <B>hasNonNull</B>(<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>
1803<DL>
1804<DD>Method that is similar to <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#has(java.lang.String)"><CODE>has(String)</CODE></A>, but that will
1805 return <code>false</code> for explicitly added nulls.
1806<p>
1807 This method is functionally equivalent to:
1808<pre>
1809   node.get(fieldName) != null && !node.get(fieldName).isNull()
1810</pre>
1811<P>
1812<DD><DL>
1813</DL>
1814</DD>
1815<DD><DL>
1816<DT><B>Since:</B></DT>
1817  <DD>2.1</DD>
1818</DL>
1819</DD>
1820</DL>
1821<HR>
1822
1823<A NAME="hasNonNull(int)"><!-- --></A><H3>
1824hasNonNull</H3>
1825<PRE>
1826public boolean <B>hasNonNull</B>(int&nbsp;index)</PRE>
1827<DL>
1828<DD>Method that is similar to <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#has(int)"><CODE>has(int)</CODE></A>, but that will
1829 return <code>false</code> for explicitly added nulls.
1830<p>
1831 This method is equivalent to:
1832<pre>
1833   node.get(index) != null && !node.get(index).isNull()
1834</pre>
1835<P>
1836<DD><DL>
1837</DL>
1838</DD>
1839<DD><DL>
1840<DT><B>Since:</B></DT>
1841  <DD>2.1</DD>
1842</DL>
1843</DD>
1844</DL>
1845<HR>
1846
1847<A NAME="findValue(java.lang.String)"><!-- --></A><H3>
1848findValue</H3>
1849<PRE>
1850public abstract <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>findValue</B>(<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>
1851<DL>
1852<DD>Method for finding a JSON Object field with specified name in this
1853 node or its child nodes, and returning value it has.
1854 If no matching field is found in this node or its descendants, returns null.
1855<P>
1856<DD><DL>
1857</DL>
1858</DD>
1859<DD><DL>
1860<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - Name of field to look for
1861<DT><B>Returns:</B><DD>Value of first matching node found, if any; null if none</DL>
1862</DD>
1863</DL>
1864<HR>
1865
1866<A NAME="findValues(java.lang.String)"><!-- --></A><H3>
1867findValues</H3>
1868<PRE>
1869public final <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>&gt; <B>findValues</B>(<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>
1870<DL>
1871<DD>Method for finding JSON Object fields with specified name, and returning
1872 found ones as a List. Note that sub-tree search ends if a field is found,
1873 so possible children of result nodes are <b>not</b> included.
1874 If no matching fields are found in this node or its descendants, returns
1875 an empty List.
1876<P>
1877<DD><DL>
1878</DL>
1879</DD>
1880<DD><DL>
1881<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - Name of field to look for</DL>
1882</DD>
1883</DL>
1884<HR>
1885
1886<A NAME="findValuesAsText(java.lang.String)"><!-- --></A><H3>
1887findValuesAsText</H3>
1888<PRE>
1889public final <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&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; <B>findValuesAsText</B>(<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>
1890<DL>
1891<DD>Similar to <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues(java.lang.String)"><CODE>findValues(java.lang.String)</CODE></A>, but will additionally convert
1892 values into Strings, calling <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#asText()"><CODE>asText()</CODE></A>.
1893<P>
1894<DD><DL>
1895</DL>
1896</DD>
1897<DD><DL>
1898</DL>
1899</DD>
1900</DL>
1901<HR>
1902
1903<A NAME="findPath(java.lang.String)"><!-- --></A><H3>
1904findPath</H3>
1905<PRE>
1906public abstract <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>findPath</B>(<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>
1907<DL>
1908<DD>Method similar to <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue(java.lang.String)"><CODE>findValue(java.lang.String)</CODE></A>, but that will return a
1909 "missing node" instead of null if no field is found. Missing node
1910 is a specific kind of node for which <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>isMissingNode()</CODE></A>
1911 returns true; and all value access methods return empty or
1912 missing value.
1913<P>
1914<DD><DL>
1915</DL>
1916</DD>
1917<DD><DL>
1918<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - Name of field to look for
1919<DT><B>Returns:</B><DD>Value of first matching node found; or if not found, a
1920    "missing node" (non-null instance that has no value)</DL>
1921</DD>
1922</DL>
1923<HR>
1924
1925<A NAME="findParent(java.lang.String)"><!-- --></A><H3>
1926findParent</H3>
1927<PRE>
1928public abstract <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>findParent</B>(<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>
1929<DL>
1930<DD>Method for finding a JSON Object that contains specified field,
1931 within this node or its descendants.
1932 If no matching field is found in this node or its descendants, returns null.
1933<P>
1934<DD><DL>
1935</DL>
1936</DD>
1937<DD><DL>
1938<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - Name of field to look for
1939<DT><B>Returns:</B><DD>Value of first matching node found, if any; null if none</DL>
1940</DD>
1941</DL>
1942<HR>
1943
1944<A NAME="findParents(java.lang.String)"><!-- --></A><H3>
1945findParents</H3>
1946<PRE>
1947public final <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>&gt; <B>findParents</B>(<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>
1948<DL>
1949<DD>Method for finding a JSON Object that contains specified field,
1950 within this node or its descendants.
1951 If no matching field is found in this node or its descendants, returns null.
1952<P>
1953<DD><DL>
1954</DL>
1955</DD>
1956<DD><DL>
1957<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - Name of field to look for
1958<DT><B>Returns:</B><DD>Value of first matching node found, if any; null if none</DL>
1959</DD>
1960</DL>
1961<HR>
1962
1963<A NAME="findValues(java.lang.String, java.util.List)"><!-- --></A><H3>
1964findValues</H3>
1965<PRE>
1966public abstract <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; <B>findValues</B>(<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,
1967                                          <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>
1968<DL>
1969<DD><DL>
1970</DL>
1971</DD>
1972<DD><DL>
1973</DL>
1974</DD>
1975</DL>
1976<HR>
1977
1978<A NAME="findValuesAsText(java.lang.String, java.util.List)"><!-- --></A><H3>
1979findValuesAsText</H3>
1980<PRE>
1981public abstract <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; <B>findValuesAsText</B>(<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,
1982                                              <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>
1983<DL>
1984<DD><DL>
1985</DL>
1986</DD>
1987<DD><DL>
1988</DL>
1989</DD>
1990</DL>
1991<HR>
1992
1993<A NAME="findParents(java.lang.String, java.util.List)"><!-- --></A><H3>
1994findParents</H3>
1995<PRE>
1996public abstract <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; <B>findParents</B>(<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,
1997                                           <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>
1998<DL>
1999<DD><DL>
2000</DL>
2001</DD>
2002<DD><DL>
2003</DL>
2004</DD>
2005</DL>
2006<HR>
2007
2008<A NAME="size()"><!-- --></A><H3>
2009size</H3>
2010<PRE>
2011public int <B>size</B>()</PRE>
2012<DL>
2013<DD>Method that returns number of child nodes this node contains:
2014 for Array nodes, number of child elements, for Object nodes,
2015 number of fields, and for all other nodes 0.
2016<P>
2017<DD><DL>
2018</DL>
2019</DD>
2020<DD><DL>
2021
2022<DT><B>Returns:</B><DD>For non-container nodes returns 0; for arrays number of
2023   contained elements, and for objects number of fields.</DL>
2024</DD>
2025</DL>
2026<HR>
2027
2028<A NAME="iterator()"><!-- --></A><H3>
2029iterator</H3>
2030<PRE>
2031public final <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>&gt; <B>iterator</B>()</PRE>
2032<DL>
2033<DD>Same as calling <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#elements()"><CODE>elements()</CODE></A>; implemented so that
2034 convenience "for-each" loop can be used for looping over elements
2035 of JSON Array constructs.
2036<P>
2037<DD><DL>
2038<DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true#iterator()" title="class or interface in java.lang">iterator</A></CODE> in interface <CODE><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;</CODE></DL>
2039</DD>
2040<DD><DL>
2041</DL>
2042</DD>
2043</DL>
2044<HR>
2045
2046<A NAME="elements()"><!-- --></A><H3>
2047elements</H3>
2048<PRE>
2049public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>&gt; <B>elements</B>()</PRE>
2050<DL>
2051<DD>Method for accessing all value nodes of this Node, iff
2052 this node is a JSON Array or Object node. In case of Object node,
2053 field names (keys) are not included, only values.
2054 For other types of nodes, returns empty iterator.
2055<P>
2056<DD><DL>
2057</DL>
2058</DD>
2059<DD><DL>
2060</DL>
2061</DD>
2062</DL>
2063<HR>
2064
2065<A NAME="fieldNames()"><!-- --></A><H3>
2066fieldNames</H3>
2067<PRE>
2068public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</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; <B>fieldNames</B>()</PRE>
2069<DL>
2070<DD>Method for accessing names of all fields for this Node, iff
2071 this node is a JSON Object node.
2072<P>
2073<DD><DL>
2074</DL>
2075</DD>
2076<DD><DL>
2077</DL>
2078</DD>
2079</DL>
2080<HR>
2081
2082<A NAME="fields()"><!-- --></A><H3>
2083fields</H3>
2084<PRE>
2085public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</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>,<A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>&gt;&gt; <B>fields</B>()</PRE>
2086<DL>
2087<DD><DL>
2088</DL>
2089</DD>
2090<DD><DL>
2091
2092<DT><B>Returns:</B><DD>Iterator that can be used to traverse all key/value pairs for
2093   object nodes; empty iterator (no contents) for other types</DL>
2094</DD>
2095</DL>
2096<HR>
2097
2098<A NAME="path(java.lang.String)"><!-- --></A><H3>
2099path</H3>
2100<PRE>
2101public abstract <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>path</B>(<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>
2102<DL>
2103<DD>This method is similar to <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)"><CODE>get(String)</CODE></A>, except
2104 that instead of returning null if no such value exists (due
2105 to this node not being an object, or object not having value
2106 for the specified field),
2107 a "missing node" (node that returns true for
2108 <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>isMissingNode()</CODE></A>) will be returned. This allows for
2109 convenient and safe chained access via path calls.
2110<P>
2111<DD><DL>
2112</DL>
2113</DD>
2114<DD><DL>
2115</DL>
2116</DD>
2117</DL>
2118<HR>
2119
2120<A NAME="path(int)"><!-- --></A><H3>
2121path</H3>
2122<PRE>
2123public abstract <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>path</B>(int&nbsp;index)</PRE>
2124<DL>
2125<DD>This method is similar to <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)"><CODE>get(int)</CODE></A>, except
2126 that instead of returning null if no such element exists (due
2127 to index being out of range, or this node not being an array),
2128 a "missing node" (node that returns true for
2129 <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>isMissingNode()</CODE></A>) will be returned. This allows for
2130 convenient and safe chained access via path calls.
2131<P>
2132<DD><DL>
2133</DL>
2134</DD>
2135<DD><DL>
2136</DL>
2137</DD>
2138</DL>
2139<HR>
2140
2141<A NAME="with(java.lang.String)"><!-- --></A><H3>
2142with</H3>
2143<PRE>
2144public <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>with</B>(<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;propertyName)</PRE>
2145<DL>
2146<DD>Method that can be called on Object nodes, to access a property
2147 that has Object value; or if no such property exists, to create,
2148 add and return such Object node.
2149 If the node method is called on is not Object node,
2150 or if property exists and has value that is not Object node,
2151 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><CODE>UnsupportedOperationException</CODE></A> is thrown
2152<P>
2153<DD><DL>
2154</DL>
2155</DD>
2156<DD><DL>
2157</DL>
2158</DD>
2159</DL>
2160<HR>
2161
2162<A NAME="withArray(java.lang.String)"><!-- --></A><H3>
2163withArray</H3>
2164<PRE>
2165public <A HREF="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>withArray</B>(<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;propertyName)</PRE>
2166<DL>
2167<DD>Method that can be called on Object nodes, to access a property
2168 that has <code>Array</code> value; or if no such property exists, to create,
2169 add and return such Array node.
2170 If the node method is called on is not Object node,
2171 or if property exists and has value that is not Array node,
2172 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><CODE>UnsupportedOperationException</CODE></A> is thrown
2173<P>
2174<DD><DL>
2175</DL>
2176</DD>
2177<DD><DL>
2178</DL>
2179</DD>
2180</DL>
2181<HR>
2182
2183<A NAME="traverse()"><!-- --></A><H3>
2184traverse</H3>
2185<PRE>
2186public abstract <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</A> <B>traverse</B>()</PRE>
2187<DL>
2188<DD>Method for constructing a <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><CODE>JsonParser</CODE></A> instance for
2189 iterating over contents of the tree that this
2190 node is root of.
2191 Functionally equivalent to first serializing tree using
2192 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/ObjectCodec.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><CODE>ObjectCodec</CODE></A> and then re-parsing but
2193 more efficient.
2194<P>
2195<DD><DL>
2196<DT><B>Specified by:</B><DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true#traverse()" title="class or interface in com.fasterxml.jackson.core">traverse</A></CODE> in interface <CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</A></CODE></DL>
2197</DD>
2198<DD><DL>
2199</DL>
2200</DD>
2201</DL>
2202<HR>
2203
2204<A NAME="toString()"><!-- --></A><H3>
2205toString</H3>
2206<PRE>
2207public abstract <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> <B>toString</B>()</PRE>
2208<DL>
2209<DD><p>
2210 Note: marked as abstract to ensure all implementation
2211 classes define it properly.
2212<P>
2213<DD><DL>
2214<DT><B>Overrides:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><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></CODE></DL>
2215</DD>
2216<DD><DL>
2217</DL>
2218</DD>
2219</DL>
2220<HR>
2221
2222<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
2223equals</H3>
2224<PRE>
2225public abstract boolean <B>equals</B>(<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>&nbsp;o)</PRE>
2226<DL>
2227<DD>Equality for node objects is defined as full (deep) value
2228 equality. This means that it is possible to compare complete
2229 JSON trees for equality by comparing equality of root nodes.
2230<p>
2231 Note: marked as abstract to ensure all implementation
2232 classes define it properly and not rely on definition
2233 from <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><CODE>Object</CODE></A>.
2234<P>
2235<DD><DL>
2236<DT><B>Overrides:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><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></CODE></DL>
2237</DD>
2238<DD><DL>
2239</DL>
2240</DD>
2241</DL>
2242<!-- ========= END OF CLASS DATA ========= -->
2243<HR>
2244
2245
2246<!-- ======= START OF BOTTOM NAVBAR ====== -->
2247<A NAME="navbar_bottom"><!-- --></A>
2248<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
2249<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
2250<TR>
2251<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
2252<A NAME="navbar_bottom_firstrow"><!-- --></A>
2253<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
2254  <TR ALIGN="center" VALIGN="top">
2255  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
2256  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
2257  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
2258  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/JsonNode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
2259  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
2260  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
2261  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
2262  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
2263  </TR>
2264</TABLE>
2265</TD>
2266<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
2267</EM>
2268</TD>
2269</TR>
2270
2271<TR>
2272<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
2273&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.Reference.html" title="class in com.fasterxml.jackson.databind"><B>PREV CLASS</B></A>&nbsp;
2274&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind"><B>NEXT CLASS</B></A></FONT></TD>
2275<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
2276  <A HREF="../../../../index.html?com/fasterxml/jackson/databind/JsonNode.html" target="_top"><B>FRAMES</B></A>  &nbsp;
2277&nbsp;<A HREF="JsonNode.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
2278&nbsp;<SCRIPT type="text/javascript">
2279  <!--
2280  if(window==top) {
2281    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
2282  }
2283  //-->
2284</SCRIPT>
2285<NOSCRIPT>
2286  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
2287</NOSCRIPT>
2288
2289
2290</FONT></TD>
2291</TR>
2292<TR>
2293<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
2294  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
2295<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
2296DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
2297</TR>
2298</TABLE>
2299<A NAME="skip-navbar_bottom"></A>
2300<!-- ======== END OF BOTTOM NAVBAR ======= -->
2301
2302<HR>
2303Copyright &#169; 2012 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.
2304</BODY>
2305</HTML>
2306