• 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:18 PDT 2012 -->
6<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<TITLE>
8BaseJsonNode (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="BaseJsonNode (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/BaseJsonNode.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/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node"><B>PREV CLASS</B></A>&nbsp;
60&nbsp;<A HREF="../../../../../com/fasterxml/jackson/databind/node/BigIntegerNode.html" title="class in com.fasterxml.jackson.databind.node"><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/node/BaseJsonNode.html" target="_top"><B>FRAMES</B></A>  &nbsp;
63&nbsp;<A HREF="BaseJsonNode.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 BaseJsonNode</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 "><B>com.fasterxml.jackson.databind.node.BaseJsonNode</B>
99</PRE>
100<DL>
101<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="../../../../../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>
102</DL>
103<DL>
104<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html" title="class in com.fasterxml.jackson.databind.node">MissingNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</A></DD>
105</DL>
106<HR>
107<DL>
108<DT><PRE>public abstract class <B>BaseJsonNode</B><DT>extends <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A><DT>implements <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</A></DL>
109</PRE>
110
111<P>
112Abstract base class common to all standard <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind"><CODE>JsonNode</CODE></A>
113 implementations.
114 The main addition here is that we declare that sub-classes must
115 implement <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind"><CODE>JsonSerializable</CODE></A>.
116 This simplifies object mapping aspects a bit, as no external serializers are needed.
117<P>
118
119<P>
120<HR>
121
122<P>
123<!-- =========== FIELD SUMMARY =========== -->
124
125<A NAME="field_summary"><!-- --></A>
126<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
127<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
128<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
129<B>Field Summary</B></FONT></TH>
130</TR>
131</TABLE>
132&nbsp;<A NAME="fields_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"><!-- --></A>
133<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
134<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
135<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>
136</TR>
137<TR BGCOLOR="white" CLASS="TableRowColor">
138<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>
139</TR>
140</TABLE>
141&nbsp;
142<!-- ======== CONSTRUCTOR SUMMARY ======== -->
143
144<A NAME="constructor_summary"><!-- --></A>
145<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
146<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
147<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
148<B>Constructor Summary</B></FONT></TH>
149</TR>
150<TR BGCOLOR="white" CLASS="TableRowColor">
151<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
152<CODE>protected </CODE></FONT></TD>
153<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#BaseJsonNode()">BaseJsonNode</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<!-- ========== METHOD SUMMARY =========== -->
161
162<A NAME="method_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>Method 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>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>
171<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">asToken</A></B>()</CODE>
172
173<BR>
174&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be used for efficient type detection
175 when using stream abstraction for traversing nodes.</TD>
176</TR>
177<TR BGCOLOR="white" CLASS="TableRowColor">
178<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
179<CODE>&nbsp;<A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD>
180<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.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>
181
182<BR>
183&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method for finding a JSON Object that contains specified field,
184 within this node or its descendants.</TD>
185</TR>
186<TR BGCOLOR="white" CLASS="TableRowColor">
187<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188<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>
189<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.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,
190            <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>
191
192<BR>
193&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
194</TR>
195<TR BGCOLOR="white" CLASS="TableRowColor">
196<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
197<CODE>&nbsp;<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD>
198<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.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>
199
200<BR>
201&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>JsonNode.findValue(java.lang.String)</CODE></A>, but that will return a
202 "missing node" instead of null if no field is found.</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/BaseJsonNode.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>
208
209<BR>
210&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method for finding a JSON Object field with specified name in this
211 node or its child nodes, and returning value it has.</TD>
212</TR>
213<TR BGCOLOR="white" CLASS="TableRowColor">
214<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
215<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>
216<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.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,
217           <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>
218
219<BR>
220&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
221</TR>
222<TR BGCOLOR="white" CLASS="TableRowColor">
223<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
224<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>
225<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.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,
226                 <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>
227
228<BR>
229&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
230</TR>
231<TR BGCOLOR="white" CLASS="TableRowColor">
232<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
233<CODE>&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>
234<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#numberType()">numberType</A></B>()</CODE>
235
236<BR>
237&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns code that identifies type of underlying numeric
238 value, if (and only if) node is a number node.</TD>
239</TR>
240<TR BGCOLOR="white" CLASS="TableRowColor">
241<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
242<CODE>abstract &nbsp;void</CODE></FONT></TD>
243<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</A></B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A>&nbsp;jgen,
244          <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A>&nbsp;provider)</CODE>
245
246<BR>
247&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method called to serialize node instances using given generator.</TD>
248</TR>
249<TR BGCOLOR="white" CLASS="TableRowColor">
250<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
251<CODE>abstract &nbsp;void</CODE></FONT></TD>
252<TD><CODE><B><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></B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A>&nbsp;jgen,
253                  <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A>&nbsp;provider,
254                  <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A>&nbsp;typeSer)</CODE>
255
256<BR>
257&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Type information is needed, even if JsonNode instances are "plain" JSON,
258 since they may be mixed with other types.</TD>
259</TR>
260<TR BGCOLOR="white" CLASS="TableRowColor">
261<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
262<CODE>&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>
263<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse()">traverse</A></B>()</CODE>
264
265<BR>
266&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
267 iterating over contents of the tree that this
268 node is root of.</TD>
269</TR>
270</TABLE>
271&nbsp;<A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"><!-- --></A>
272<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
273<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
274<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>
275</TR>
276<TR BGCOLOR="white" CLASS="TableRowColor">
277<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#deepCopy()">deepCopy</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#hasNonNull(int)">hasNonNull</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull(java.lang.String)">hasNonNull</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#isValueNode()">isValueNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#iterator()">iterator</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#longValue()">longValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#numberValue()">numberValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(int)">path</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(java.lang.String)">path</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#toString()">toString</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>
278</TR>
279</TABLE>
280&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
281<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
282<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
283<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>
284</TR>
285<TR BGCOLOR="white" CLASS="TableRowColor">
286<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>
287</TR>
288</TABLE>
289&nbsp;
290<P>
291
292<!-- ========= CONSTRUCTOR DETAIL ======== -->
293
294<A NAME="constructor_detail"><!-- --></A>
295<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
296<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
297<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
298<B>Constructor Detail</B></FONT></TH>
299</TR>
300</TABLE>
301
302<A NAME="BaseJsonNode()"><!-- --></A><H3>
303BaseJsonNode</H3>
304<PRE>
305protected <B>BaseJsonNode</B>()</PRE>
306<DL>
307</DL>
308
309<!-- ============ METHOD DETAIL ========== -->
310
311<A NAME="method_detail"><!-- --></A>
312<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
313<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
314<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
315<B>Method Detail</B></FONT></TH>
316</TR>
317</TABLE>
318
319<A NAME="findValue(java.lang.String)"><!-- --></A><H3>
320findValue</H3>
321<PRE>
322public <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>
323<DL>
324<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue(java.lang.String)">JsonNode</A></CODE></B></DD>
325<DD>Method for finding a JSON Object field with specified name in this
326 node or its child nodes, and returning value it has.
327 If no matching field is found in this node or its descendants, returns null.
328<P>
329<DD><DL>
330<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue(java.lang.String)">findValue</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL>
331</DD>
332<DD><DL>
333<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - Name of field to look for
334<DT><B>Returns:</B><DD>Value of first matching node found, if any; null if none</DL>
335</DD>
336</DL>
337<HR>
338
339<A NAME="findPath(java.lang.String)"><!-- --></A><H3>
340findPath</H3>
341<PRE>
342public final <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>
343<DL>
344<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findPath(java.lang.String)">JsonNode</A></CODE></B></DD>
345<DD>Method similar to <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue(java.lang.String)"><CODE>JsonNode.findValue(java.lang.String)</CODE></A>, but that will return a
346 "missing node" instead of null if no field is found. Missing node
347 is a specific kind of node for which <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>JsonNode.isMissingNode()</CODE></A>
348 returns true; and all value access methods return empty or
349 missing value.
350<P>
351<DD><DL>
352<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findPath(java.lang.String)">findPath</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL>
353</DD>
354<DD><DL>
355<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - Name of field to look for
356<DT><B>Returns:</B><DD>Value of first matching node found; or if not found, a
357    "missing node" (non-null instance that has no value)</DL>
358</DD>
359</DL>
360<HR>
361
362<A NAME="findParent(java.lang.String)"><!-- --></A><H3>
363findParent</H3>
364<PRE>
365public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</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>
366<DL>
367<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParent(java.lang.String)">JsonNode</A></CODE></B></DD>
368<DD>Method for finding a JSON Object that contains specified field,
369 within this node or its descendants.
370 If no matching field is found in this node or its descendants, returns null.
371<P>
372<DD><DL>
373<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParent(java.lang.String)">findParent</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL>
374</DD>
375<DD><DL>
376<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - Name of field to look for
377<DT><B>Returns:</B><DD>Value of first matching node found, if any; null if none</DL>
378</DD>
379</DL>
380<HR>
381
382<A NAME="findValues(java.lang.String, java.util.List)"><!-- --></A><H3>
383findValues</H3>
384<PRE>
385public <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,
386                                 <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>
387<DL>
388<DD><DL>
389<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues(java.lang.String, java.util.List)">findValues</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL>
390</DD>
391<DD><DL>
392</DL>
393</DD>
394</DL>
395<HR>
396
397<A NAME="findValuesAsText(java.lang.String, java.util.List)"><!-- --></A><H3>
398findValuesAsText</H3>
399<PRE>
400public <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,
401                                     <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>
402<DL>
403<DD><DL>
404<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL>
405</DD>
406<DD><DL>
407</DL>
408</DD>
409</DL>
410<HR>
411
412<A NAME="findParents(java.lang.String, java.util.List)"><!-- --></A><H3>
413findParents</H3>
414<PRE>
415public <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,
416                                  <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>
417<DL>
418<DD><DL>
419<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParents(java.lang.String, java.util.List)">findParents</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL>
420</DD>
421<DD><DL>
422</DL>
423</DD>
424</DL>
425<HR>
426
427<A NAME="traverse()"><!-- --></A><H3>
428traverse</H3>
429<PRE>
430public <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>
431<DL>
432<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#traverse()">JsonNode</A></CODE></B></DD>
433<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
434 iterating over contents of the tree that this
435 node is root of.
436 Functionally equivalent to first serializing tree using
437 <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
438 more efficient.
439<P>
440<DD><DL>
441<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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#traverse()">traverse</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL>
442</DD>
443<DD><DL>
444</DL>
445</DD>
446</DL>
447<HR>
448
449<A NAME="asToken()"><!-- --></A><H3>
450asToken</H3>
451<PRE>
452public 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>
453<DL>
454<DD>Method that can be used for efficient type detection
455 when using stream abstraction for traversing nodes.
456 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
457 stream event would produce (for most nodes there is just
458 one token but for structured/container types multiple)
459<P>
460<DD><DL>
461<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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asToken()">asToken</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL>
462</DD>
463<DD><DL>
464</DL>
465</DD>
466</DL>
467<HR>
468
469<A NAME="numberType()"><!-- --></A><H3>
470numberType</H3>
471<PRE>
472public <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>
473<DL>
474<DD>Returns code that identifies type of underlying numeric
475 value, if (and only if) node is a number node.
476<P>
477<DD><DL>
478<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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#numberType()">numberType</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL>
479</DD>
480<DD><DL>
481
482<DT><B>Returns:</B><DD>Type of number contained, if any; or null if node does not
483  contain numeric value.</DL>
484</DD>
485</DL>
486<HR>
487
488<A NAME="serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)"><!-- --></A><H3>
489serialize</H3>
490<PRE>
491public abstract void <B>serialize</B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A>&nbsp;jgen,
492                               <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A>&nbsp;provider)
493                        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>,
494                               <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></PRE>
495<DL>
496<DD>Method called to serialize node instances using given generator.
497<P>
498<DD><DL>
499<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</A></CODE> in interface <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</A></CODE></DL>
500</DD>
501<DD><DL>
502
503<DT><B>Throws:</B>
504<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>
505<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></CODE></DL>
506</DD>
507</DL>
508<HR>
509
510<A NAME="serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)"><!-- --></A><H3>
511serializeWithType</H3>
512<PRE>
513public abstract void <B>serializeWithType</B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A>&nbsp;jgen,
514                                       <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A>&nbsp;provider,
515                                       <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A>&nbsp;typeSer)
516                                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>,
517                                       <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></PRE>
518<DL>
519<DD>Type information is needed, even if JsonNode instances are "plain" JSON,
520 since they may be mixed with other types.
521<P>
522<DD><DL>
523<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></DL>
524</DD>
525<DD><DL>
526
527<DT><B>Throws:</B>
528<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>
529<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></CODE></DL>
530</DD>
531</DL>
532<!-- ========= END OF CLASS DATA ========= -->
533<HR>
534
535
536<!-- ======= START OF BOTTOM NAVBAR ====== -->
537<A NAME="navbar_bottom"><!-- --></A>
538<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
539<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
540<TR>
541<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
542<A NAME="navbar_bottom_firstrow"><!-- --></A>
543<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
544  <TR ALIGN="center" VALIGN="top">
545  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
546  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
547  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
548  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/BaseJsonNode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
549  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
550  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
551  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
552  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
553  </TR>
554</TABLE>
555</TD>
556<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
557</EM>
558</TD>
559</TR>
560
561<TR>
562<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
563&nbsp;<A HREF="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node"><B>PREV CLASS</B></A>&nbsp;
564&nbsp;<A HREF="../../../../../com/fasterxml/jackson/databind/node/BigIntegerNode.html" title="class in com.fasterxml.jackson.databind.node"><B>NEXT CLASS</B></A></FONT></TD>
565<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
566  <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/node/BaseJsonNode.html" target="_top"><B>FRAMES</B></A>  &nbsp;
567&nbsp;<A HREF="BaseJsonNode.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
568&nbsp;<SCRIPT type="text/javascript">
569  <!--
570  if(window==top) {
571    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
572  }
573  //-->
574</SCRIPT>
575<NOSCRIPT>
576  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
577</NOSCRIPT>
578
579
580</FONT></TD>
581</TR>
582<TR>
583<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
584  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>
585<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
586DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
587</TR>
588</TABLE>
589<A NAME="skip-navbar_bottom"></A>
590<!-- ======== END OF BOTTOM NAVBAR ======= -->
591
592<HR>
593Copyright &#169; 2012 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.
594</BODY>
595</HTML>
596