• 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_29) on Mon Mar 26 19:07:17 PDT 2012 -->
6<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<TITLE>
8ValueNode (jackson-databind 2.0.0 API)
9</TITLE>
10
11<META NAME="date" CONTENT="2012-03-26">
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="ValueNode (jackson-databind 2.0.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/ValueNode.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/node/TreeTraversingParser.html" title="class in com.fasterxml.jackson.databind.node"><B>PREV CLASS</B></A>&nbsp;
60&nbsp;NEXT CLASS</FONT></TD>
61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
62  <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/node/ValueNode.html" target="_top"><B>FRAMES</B></A>  &nbsp;
63&nbsp;<A HREF="ValueNode.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="#fields_inherited_from_class_com.fasterxml.jackson.databind.JsonNode">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;FIELD&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.node</FONT>
93<BR>
94Class ValueNode</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 "><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonNode</A>
98      <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.BaseJsonNode</A>
99          <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.databind.node.ValueNode</B>
100</PRE>
101<DL>
102<DT><B>All Implemented Interfaces:</B> <DD>com.fasterxml.jackson.core.TreeNode, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>&gt;</DD>
103</DL>
104<DL>
105<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node">BinaryNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node">BooleanNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node">NullNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/POJONode.html" title="class in com.fasterxml.jackson.databind.node">POJONode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/TextNode.html" title="class in com.fasterxml.jackson.databind.node">TextNode</A></DD>
106</DL>
107<HR>
108<DL>
109<DT><PRE>public abstract class <B>ValueNode</B><DT>extends <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</A></DL>
110</PRE>
111
112<P>
113This intermediate base class is used for all leaf nodes, that is,
114 all non-container (array or object) nodes, except for the
115 "missing node".
116<P>
117
118<P>
119<HR>
120
121<P>
122<!-- =========== FIELD SUMMARY =========== -->
123
124<A NAME="field_summary"><!-- --></A>
125<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
126<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
127<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
128<B>Field Summary</B></FONT></TH>
129</TR>
130</TABLE>
131&nbsp;<A NAME="fields_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"><!-- --></A>
132<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
133<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
134<TH ALIGN="left"><B>Fields inherited from class com.fasterxml.jackson.databind.<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></B></TH>
135</TR>
136<TR BGCOLOR="white" CLASS="TableRowColor">
137<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#NO_NODES">NO_NODES</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#NO_STRINGS">NO_STRINGS</A></CODE></TD>
138</TR>
139</TABLE>
140&nbsp;
141<!-- ======== CONSTRUCTOR SUMMARY ======== -->
142
143<A NAME="constructor_summary"><!-- --></A>
144<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
145<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
146<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
147<B>Constructor Summary</B></FONT></TH>
148</TR>
149<TR BGCOLOR="white" CLASS="TableRowColor">
150<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
151<CODE>protected </CODE></FONT></TD>
152<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#ValueNode()">ValueNode</A></B>()</CODE>
153
154<BR>
155&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
156</TR>
157</TABLE>
158&nbsp;
159<!-- ========== METHOD SUMMARY =========== -->
160
161<A NAME="method_summary"><!-- --></A>
162<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
163<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
164<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
165<B>Method Summary</B></FONT></TH>
166</TR>
167<TR BGCOLOR="white" CLASS="TableRowColor">
168<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
169<CODE>abstract &nbsp;com.fasterxml.jackson.core.JsonToken</CODE></FONT></TD>
170<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#asToken()">asToken</A></B>()</CODE>
171
172<BR>
173&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be used for efficient type detection
174 when using stream abstraction for traversing nodes.</TD>
175</TR>
176<TR BGCOLOR="white" CLASS="TableRowColor">
177<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
178<CODE>
179<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
180<TR ALIGN="right" VALIGN="">
181<TD NOWRAP><FONT SIZE="-1">
182<CODE>&lt;T extends <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>&gt;
183<BR>
184T</CODE></FONT></TD>
185</TR>
186</TABLE>
187</CODE></FONT></TD>
188<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#deepCopy()">deepCopy</A></B>()</CODE>
189
190<BR>
191&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;All current value nodes are immutable, so we can just return
192 them as is.</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/node/ValueNode.html#isValueNode()">isValueNode</A></B>()</CODE>
198
199<BR>
200&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that returns true for all value nodes: ones that
201 are not containers, and that do not represent "missing" nodes
202 in the path.</TD>
203</TR>
204<TR BGCOLOR="white" CLASS="TableRowColor">
205<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
206<CODE>&nbsp;<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD>
207<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#path(int)">path</A></B>(int&nbsp;index)</CODE>
208
209<BR>
210&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>JsonNode.get(int)</CODE></A>, except
211 that instead of returning null if no such element exists (due
212 to index being out of range, or this node not being an array),
213 a "missing node" (node that returns true for
214 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>JsonNode.isMissingNode()</CODE></A>) will be returned.</TD>
215</TR>
216<TR BGCOLOR="white" CLASS="TableRowColor">
217<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
218<CODE>&nbsp;<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD>
219<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.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>
220
221<BR>
222&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>JsonNode.get(String)</CODE></A>, except
223 that instead of returning null if no such value exists (due
224 to this node not being an object, or object not having value
225 for the specified field),
226 a "missing node" (node that returns true for
227 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>JsonNode.isMissingNode()</CODE></A>) will be returned.</TD>
228</TR>
229<TR BGCOLOR="white" CLASS="TableRowColor">
230<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
231<CODE>&nbsp;void</CODE></FONT></TD>
232<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">serializeWithType</A></B>(com.fasterxml.jackson.core.JsonGenerator&nbsp;jg,
233                  <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A>&nbsp;provider,
234                  <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A>&nbsp;typeSer)</CODE>
235
236<BR>
237&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Type information is needed, even if JsonNode instances are "plain" JSON,
238 since they may be mixed with other types.</TD>
239</TR>
240<TR BGCOLOR="white" CLASS="TableRowColor">
241<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
242<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>
243<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#toString()">toString</A></B>()</CODE>
244
245<BR>
246&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
247 Note: marked as abstract to ensure all implementation
248 classes define it properly.</TD>
249</TR>
250</TABLE>
251&nbsp;<A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.node.BaseJsonNode"><!-- --></A>
252<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
253<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
254<TH ALIGN="left"><B>Methods inherited from class com.fasterxml.jackson.databind.node.<A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</A></B></TH>
255</TR>
256<TR BGCOLOR="white" CLASS="TableRowColor">
257<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findParent(java.lang.String)">findParent</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findParents(java.lang.String, java.util.List)">findParents</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findPath(java.lang.String)">findPath</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findValue(java.lang.String)">findValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findValues(java.lang.String, java.util.List)">findValues</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#numberType()">numberType</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse()">traverse</A></CODE></TD>
258</TR>
259</TABLE>
260&nbsp;<A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"><!-- --></A>
261<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
262<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
263<TH ALIGN="left"><B>Methods inherited from class com.fasterxml.jackson.databind.<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></B></TH>
264</TR>
265<TR BGCOLOR="white" CLASS="TableRowColor">
266<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean()">asBoolean</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean(boolean)">asBoolean</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble()">asDouble</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble(double)">asDouble</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt()">asInt</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt(int)">asInt</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong()">asLong</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong(long)">asLong</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText()">asText</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#bigIntegerValue()">bigIntegerValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#binaryValue()">binaryValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#booleanValue()">booleanValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt()">canConvertToInt</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToLong()">canConvertToLong</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#decimalValue()">decimalValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#doubleValue()">doubleValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#elements()">elements</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fieldNames()">fieldNames</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fields()">fields</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParents(java.lang.String)">findParents</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues(java.lang.String)">findValues</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValuesAsText(java.lang.String)">findValuesAsText</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)">get</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)">get</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(int)">has</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(java.lang.String)">has</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#intValue()">intValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isArray()">isArray</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigDecimal()">isBigDecimal</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigInteger()">isBigInteger</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBinary()">isBinary</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBoolean()">isBoolean</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isContainerNode()">isContainerNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isDouble()">isDouble</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isFloatingPointNumber()">isFloatingPointNumber</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isInt()">isInt</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isIntegralNumber()">isIntegralNumber</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isLong()">isLong</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()">isMissingNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNull()">isNull</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()">isNumber</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isObject()">isObject</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isPojo()">isPojo</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isTextual()">isTextual</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#iterator()">iterator</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#longValue()">longValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#numberValue()">numberValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#size()">size</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#textValue()">textValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#with(java.lang.String)">with</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#withArray(java.lang.String)">withArray</A></CODE></TD>
267</TR>
268</TABLE>
269&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
270<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
271<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
272<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>
273</TR>
274<TR BGCOLOR="white" CLASS="TableRowColor">
275<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>
276</TR>
277</TABLE>
278&nbsp;
279<P>
280
281<!-- ========= CONSTRUCTOR DETAIL ======== -->
282
283<A NAME="constructor_detail"><!-- --></A>
284<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
285<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
286<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
287<B>Constructor Detail</B></FONT></TH>
288</TR>
289</TABLE>
290
291<A NAME="ValueNode()"><!-- --></A><H3>
292ValueNode</H3>
293<PRE>
294protected <B>ValueNode</B>()</PRE>
295<DL>
296</DL>
297
298<!-- ============ METHOD DETAIL ========== -->
299
300<A NAME="method_detail"><!-- --></A>
301<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
302<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
303<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
304<B>Method Detail</B></FONT></TH>
305</TR>
306</TABLE>
307
308<A NAME="deepCopy()"><!-- --></A><H3>
309deepCopy</H3>
310<PRE>
311public &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>
312<DL>
313<DD>All current value nodes are immutable, so we can just return
314 them as is.
315<P>
316<DD><DL>
317<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#deepCopy()">deepCopy</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL>
318</DD>
319<DD><DL>
320
321<DT><B>Returns:</B><DD>Node that is either a copy of this node (and all non-leaf
322    children); or, for immutable leaf nodes, node itself.</DL>
323</DD>
324</DL>
325<HR>
326
327<A NAME="isValueNode()"><!-- --></A><H3>
328isValueNode</H3>
329<PRE>
330public boolean <B>isValueNode</B>()</PRE>
331<DL>
332<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()">JsonNode</A></CODE></B></DD>
333<DD>Method that returns true for all value nodes: ones that
334 are not containers, and that do not represent "missing" nodes
335 in the path. Such value nodes represent String, Number, Boolean
336 and null values from JSON.
337<p>
338 Note: one and only one of methods <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><CODE>JsonNode.isValueNode()</CODE></A>,
339 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isContainerNode()"><CODE>JsonNode.isContainerNode()</CODE></A> and <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>JsonNode.isMissingNode()</CODE></A> ever
340 returns true for any given node.
341<P>
342<DD><DL>
343<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()">isValueNode</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL>
344</DD>
345<DD><DL>
346</DL>
347</DD>
348</DL>
349<HR>
350
351<A NAME="asToken()"><!-- --></A><H3>
352asToken</H3>
353<PRE>
354public abstract com.fasterxml.jackson.core.JsonToken <B>asToken</B>()</PRE>
355<DL>
356<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">BaseJsonNode</A></CODE></B></DD>
357<DD>Method that can be used for efficient type detection
358 when using stream abstraction for traversing nodes.
359 Will return the first <CODE>JsonToken</CODE> that equivalent
360 stream event would produce (for most nodes there is just
361 one token but for structured/container types multiple)
362<P>
363<DD><DL>
364<DT><B>Specified by:</B><DD><CODE>asToken</CODE> in interface <CODE>com.fasterxml.jackson.core.TreeNode</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">asToken</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</A></CODE></DL>
365</DD>
366<DD><DL>
367</DL>
368</DD>
369</DL>
370<HR>
371
372<A NAME="serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)"><!-- --></A><H3>
373serializeWithType</H3>
374<PRE>
375public void <B>serializeWithType</B>(com.fasterxml.jackson.core.JsonGenerator&nbsp;jg,
376                              <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A>&nbsp;provider,
377                              <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A>&nbsp;typeSer)
378                       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>,
379                              com.fasterxml.jackson.core.JsonProcessingException</PRE>
380<DL>
381<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">BaseJsonNode</A></CODE></B></DD>
382<DD>Type information is needed, even if JsonNode instances are "plain" JSON,
383 since they may be mixed with other types.
384<P>
385<DD><DL>
386<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">serializeWithType</A></CODE> in interface <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">serializeWithType</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</A></CODE></DL>
387</DD>
388<DD><DL>
389
390<DT><B>Throws:</B>
391<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>
392<DD><CODE>com.fasterxml.jackson.core.JsonProcessingException</CODE></DL>
393</DD>
394</DL>
395<HR>
396
397<A NAME="path(java.lang.String)"><!-- --></A><H3>
398path</H3>
399<PRE>
400public <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>
401<DL>
402<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(java.lang.String)">JsonNode</A></CODE></B></DD>
403<DD>This method is similar to <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)"><CODE>JsonNode.get(String)</CODE></A>, except
404 that instead of returning null if no such value exists (due
405 to this node not being an object, or object not having value
406 for the specified field),
407 a "missing node" (node that returns true for
408 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>JsonNode.isMissingNode()</CODE></A>) will be returned. This allows for
409 convenient and safe chained access via path calls.
410<P>
411<DD><DL>
412<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(java.lang.String)">path</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL>
413</DD>
414<DD><DL>
415</DL>
416</DD>
417</DL>
418<HR>
419
420<A NAME="path(int)"><!-- --></A><H3>
421path</H3>
422<PRE>
423public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>path</B>(int&nbsp;index)</PRE>
424<DL>
425<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(int)">JsonNode</A></CODE></B></DD>
426<DD>This method is similar to <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)"><CODE>JsonNode.get(int)</CODE></A>, except
427 that instead of returning null if no such element exists (due
428 to index being out of range, or this node not being an array),
429 a "missing node" (node that returns true for
430 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>JsonNode.isMissingNode()</CODE></A>) will be returned. This allows for
431 convenient and safe chained access via path calls.
432<P>
433<DD><DL>
434<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(int)">path</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL>
435</DD>
436<DD><DL>
437</DL>
438</DD>
439</DL>
440<HR>
441
442<A NAME="toString()"><!-- --></A><H3>
443toString</H3>
444<PRE>
445public <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>
446<DL>
447<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toString()">JsonNode</A></CODE></B></DD>
448<DD><p>
449 Note: marked as abstract to ensure all implementation
450 classes define it properly.
451<P>
452<DD><DL>
453<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL>
454</DD>
455<DD><DL>
456</DL>
457</DD>
458</DL>
459<!-- ========= END OF CLASS DATA ========= -->
460<HR>
461
462
463<!-- ======= START OF BOTTOM NAVBAR ====== -->
464<A NAME="navbar_bottom"><!-- --></A>
465<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
466<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
467<TR>
468<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
469<A NAME="navbar_bottom_firstrow"><!-- --></A>
470<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
471  <TR ALIGN="center" VALIGN="top">
472  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
473  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
474  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
475  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ValueNode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
476  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
477  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
478  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
479  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
480  </TR>
481</TABLE>
482</TD>
483<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
484</EM>
485</TD>
486</TR>
487
488<TR>
489<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
490&nbsp;<A HREF="../../../../../com/fasterxml/jackson/databind/node/TreeTraversingParser.html" title="class in com.fasterxml.jackson.databind.node"><B>PREV CLASS</B></A>&nbsp;
491&nbsp;NEXT CLASS</FONT></TD>
492<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
493  <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/node/ValueNode.html" target="_top"><B>FRAMES</B></A>  &nbsp;
494&nbsp;<A HREF="ValueNode.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
495&nbsp;<SCRIPT type="text/javascript">
496  <!--
497  if(window==top) {
498    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
499  }
500  //-->
501</SCRIPT>
502<NOSCRIPT>
503  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
504</NOSCRIPT>
505
506
507</FONT></TD>
508</TR>
509<TR>
510<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
511  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_com.fasterxml.jackson.databind.JsonNode">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
512<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
513DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
514</TR>
515</TABLE>
516<A NAME="skip-navbar_bottom"></A>
517<!-- ======== END OF BOTTOM NAVBAR ======= -->
518
519<HR>
520Copyright &#169; 2012 <a href="http://fasterxml.com">fasterxml.com</a>. All Rights Reserved.
521</BODY>
522</HTML>
523