• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (version 1.7.0_10-ea) on Sun Jul 14 20:03:32 PDT 2013 -->
6<title>BaseJsonNode (Jackson JSON Processor)</title>
7<meta name="date" content="2013-07-14">
8<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
9</head>
10<body>
11<script type="text/javascript"><!--
12    if (location.href.indexOf('is-external=true') == -1) {
13        parent.document.title="BaseJsonNode (Jackson JSON Processor)";
14    }
15//-->
16</script>
17<noscript>
18<div>JavaScript is disabled on your browser.</div>
19</noscript>
20<!-- ========= START OF TOP NAVBAR ======= -->
21<div class="topNav"><a name="navbar_top">
22<!--   -->
23</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
24<!--   -->
25</a>
26<ul class="navList" title="Navigation">
27<li><a href="../../../../overview-summary.html">Overview</a></li>
28<li><a href="package-summary.html">Package</a></li>
29<li class="navBarCell1Rev">Class</li>
30<li><a href="class-use/BaseJsonNode.html">Use</a></li>
31<li><a href="package-tree.html">Tree</a></li>
32<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
33<li><a href="../../../../index-all.html">Index</a></li>
34<li><a href="../../../../help-doc.html">Help</a></li>
35</ul>
36</div>
37<div class="subNav">
38<ul class="navList">
39<li><a href="../../../../org/codehaus/jackson/node/ArrayNode.html" title="class in org.codehaus.jackson.node"><span class="strong">Prev Class</span></a></li>
40<li><a href="../../../../org/codehaus/jackson/node/BigIntegerNode.html" title="class in org.codehaus.jackson.node"><span class="strong">Next Class</span></a></li>
41</ul>
42<ul class="navList">
43<li><a href="../../../../index.html?org/codehaus/jackson/node/BaseJsonNode.html" target="_top">Frames</a></li>
44<li><a href="BaseJsonNode.html" target="_top">No Frames</a></li>
45</ul>
46<ul class="navList" id="allclasses_navbar_top">
47<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
48</ul>
49<div>
50<script type="text/javascript"><!--
51  allClassesLink = document.getElementById("allclasses_navbar_top");
52  if(window==top) {
53    allClassesLink.style.display = "block";
54  }
55  else {
56    allClassesLink.style.display = "none";
57  }
58  //-->
59</script>
60</div>
61<div>
62<ul class="subNavList">
63<li>Summary:&nbsp;</li>
64<li>Nested&nbsp;|&nbsp;</li>
65<li><a href="#fields_inherited_from_class_org.codehaus.jackson.JsonNode">Field</a>&nbsp;|&nbsp;</li>
66<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
67<li><a href="#method_summary">Method</a></li>
68</ul>
69<ul class="subNavList">
70<li>Detail:&nbsp;</li>
71<li>Field&nbsp;|&nbsp;</li>
72<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
73<li><a href="#method_detail">Method</a></li>
74</ul>
75</div>
76<a name="skip-navbar_top">
77<!--   -->
78</a></div>
79<!-- ========= END OF TOP NAVBAR ========= -->
80<!-- ======== START OF CLASS DATA ======== -->
81<div class="header">
82<div class="subTitle">org.codehaus.jackson.node</div>
83<h2 title="Class BaseJsonNode" class="title">Class BaseJsonNode</h2>
84</div>
85<div class="contentContainer">
86<ul class="inheritance">
87<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
88<li>
89<ul class="inheritance">
90<li><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">org.codehaus.jackson.JsonNode</a></li>
91<li>
92<ul class="inheritance">
93<li>org.codehaus.jackson.node.BaseJsonNode</li>
94</ul>
95</li>
96</ul>
97</li>
98</ul>
99<div class="description">
100<ul class="blockList">
101<li class="blockList">
102<dl>
103<dt>All Implemented Interfaces:</dt>
104<dd><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="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a>&gt;, <a href="../../../../org/codehaus/jackson/map/JsonSerializable.html" title="interface in org.codehaus.jackson.map">JsonSerializable</a>, <a href="../../../../org/codehaus/jackson/map/JsonSerializableWithType.html" title="interface in org.codehaus.jackson.map">JsonSerializableWithType</a></dd>
105</dl>
106<dl>
107<dt>Direct Known Subclasses:</dt>
108<dd><a href="../../../../org/codehaus/jackson/node/ContainerNode.html" title="class in org.codehaus.jackson.node">ContainerNode</a>, <a href="../../../../org/codehaus/jackson/node/MissingNode.html" title="class in org.codehaus.jackson.node">MissingNode</a>, <a href="../../../../org/codehaus/jackson/node/ValueNode.html" title="class in org.codehaus.jackson.node">ValueNode</a></dd>
109</dl>
110<hr>
111<br>
112<pre>public abstract class <span class="strong">BaseJsonNode</span>
113extends <a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a>
114implements <a href="../../../../org/codehaus/jackson/map/JsonSerializableWithType.html" title="interface in org.codehaus.jackson.map">JsonSerializableWithType</a></pre>
115<div class="block">Abstract base class common to all standard <a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson"><code>JsonNode</code></a>
116 implementations.
117 The main addition here is that we declare that sub-classes must
118 implement <a href="../../../../org/codehaus/jackson/map/JsonSerializableWithType.html" title="interface in org.codehaus.jackson.map"><code>JsonSerializableWithType</code></a>.
119 This simplifies object mapping
120 aspects a bit, as no external serializers are needed.</div>
121</li>
122</ul>
123</div>
124<div class="summary">
125<ul class="blockList">
126<li class="blockList">
127<!-- =========== FIELD SUMMARY =========== -->
128<ul class="blockList">
129<li class="blockList"><a name="field_summary">
130<!--   -->
131</a>
132<h3>Field Summary</h3>
133<ul class="blockList">
134<li class="blockList"><a name="fields_inherited_from_class_org.codehaus.jackson.JsonNode">
135<!--   -->
136</a>
137<h3>Fields inherited from class&nbsp;org.codehaus.jackson.<a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></h3>
138<code><a href="../../../../org/codehaus/jackson/JsonNode.html#NO_NODES">NO_NODES</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#NO_STRINGS">NO_STRINGS</a></code></li>
139</ul>
140</li>
141</ul>
142<!-- ======== CONSTRUCTOR SUMMARY ======== -->
143<ul class="blockList">
144<li class="blockList"><a name="constructor_summary">
145<!--   -->
146</a>
147<h3>Constructor Summary</h3>
148<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
149<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
150<tr>
151<th class="colFirst" scope="col">Modifier</th>
152<th class="colLast" scope="col">Constructor and Description</th>
153</tr>
154<tr class="altColor">
155<td class="colFirst"><code>protected </code></td>
156<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#BaseJsonNode()">BaseJsonNode</a></strong>()</code>&nbsp;</td>
157</tr>
158</table>
159</li>
160</ul>
161<!-- ========== METHOD SUMMARY =========== -->
162<ul class="blockList">
163<li class="blockList"><a name="method_summary">
164<!--   -->
165</a>
166<h3>Method Summary</h3>
167<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
168<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
169<tr>
170<th class="colFirst" scope="col">Modifier and Type</th>
171<th class="colLast" scope="col">Method and Description</th>
172</tr>
173<tr class="altColor">
174<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/JsonToken.html" title="enum in org.codehaus.jackson">JsonToken</a></code></td>
175<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#asToken()">asToken</a></strong>()</code>
176<div class="block">Method that can be used for efficient type detection
177 when using stream abstraction for traversing nodes.</div>
178</td>
179</tr>
180<tr class="rowColor">
181<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/node/ObjectNode.html" title="class in org.codehaus.jackson.node">ObjectNode</a></code></td>
182<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#findParent(java.lang.String)">findParent</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</code>
183<div class="block">Method for finding a JSON Object that contains specified field,
184 within this node or its descendants.</div>
185</td>
186</tr>
187<tr class="altColor">
188<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a>&gt;</code></td>
189<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#findParents(java.lang.String, java.util.List)">findParents</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName,
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="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a>&gt;&nbsp;foundSoFar)</code>&nbsp;</td>
191</tr>
192<tr class="rowColor">
193<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></td>
194<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#findPath(java.lang.String)">findPath</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</code>
195<div class="block">Method similar to <a href="../../../../org/codehaus/jackson/JsonNode.html#findValue(java.lang.String)"><code>JsonNode.findValue(java.lang.String)</code></a>, but that will return a
196 "missing node" instead of null if no field is found.</div>
197</td>
198</tr>
199<tr class="altColor">
200<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></td>
201<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#findValue(java.lang.String)">findValue</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</code>
202<div class="block">Method for finding a JSON Object field with specified name in this
203 node or its child nodes, and returning value it has.</div>
204</td>
205</tr>
206<tr class="rowColor">
207<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a>&gt;</code></td>
208<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#findValues(java.lang.String, java.util.List)">findValues</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName,
209          <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="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a>&gt;&nbsp;foundSoFar)</code>&nbsp;</td>
210</tr>
211<tr class="altColor">
212<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
213<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName,
214                <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;foundSoFar)</code>&nbsp;</td>
215</tr>
216<tr class="rowColor">
217<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonParser.NumberType.html" title="enum in org.codehaus.jackson">JsonParser.NumberType</a></code></td>
218<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#getNumberType()">getNumberType</a></strong>()</code>
219<div class="block">If this node is a numeric type (as per <a href="../../../../org/codehaus/jackson/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a>),
220 returns native type that node uses to store the numeric
221 value.</div>
222</td>
223</tr>
224<tr class="altColor">
225<td class="colFirst"><code>abstract void</code></td>
226<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#serialize(org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider)">serialize</a></strong>(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen,
227         <a href="../../../../org/codehaus/jackson/map/SerializerProvider.html" title="class in org.codehaus.jackson.map">SerializerProvider</a>&nbsp;provider)</code>
228<div class="block">Method called to serialize node instances using given generator.</div>
229</td>
230</tr>
231<tr class="rowColor">
232<td class="colFirst"><code>abstract void</code></td>
233<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#serializeWithType(org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider, org.codehaus.jackson.map.TypeSerializer)">serializeWithType</a></strong>(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen,
234                 <a href="../../../../org/codehaus/jackson/map/SerializerProvider.html" title="class in org.codehaus.jackson.map">SerializerProvider</a>&nbsp;provider,
235                 <a href="../../../../org/codehaus/jackson/map/TypeSerializer.html" title="class in org.codehaus.jackson.map">TypeSerializer</a>&nbsp;typeSer)</code>
236<div class="block">Type information is needed, even if JsonNode instances are "plain" JSON,
237 since they may be mixed with other types.</div>
238</td>
239</tr>
240<tr class="altColor">
241<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></td>
242<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#traverse()">traverse</a></strong>()</code>
243<div class="block">Method for constructing a <a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson"><code>JsonParser</code></a> instance for
244 iterating over contents of the tree that this
245 node is root of.</div>
246</td>
247</tr>
248</table>
249<ul class="blockList">
250<li class="blockList"><a name="methods_inherited_from_class_org.codehaus.jackson.JsonNode">
251<!--   -->
252</a>
253<h3>Methods inherited from class&nbsp;org.codehaus.jackson.<a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></h3>
254<code><a href="../../../../org/codehaus/jackson/JsonNode.html#asBoolean()">asBoolean</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#asBoolean(boolean)">asBoolean</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#asDouble()">asDouble</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#asDouble(double)">asDouble</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#asInt()">asInt</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#asInt(int)">asInt</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#asLong()">asLong</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#asLong(long)">asLong</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#asText()">asText</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#equals(java.lang.Object)">equals</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#findParents(java.lang.String)">findParents</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#findValues(java.lang.String)">findValues</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#findValuesAsText(java.lang.String)">findValuesAsText</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#get(int)">get</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#get(java.lang.String)">get</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getBigIntegerValue()">getBigIntegerValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getBinaryValue()">getBinaryValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getBooleanValue()">getBooleanValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getDecimalValue()">getDecimalValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getDoubleValue()">getDoubleValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getElements()">getElements</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getFieldNames()">getFieldNames</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getFields()">getFields</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getIntValue()">getIntValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getLongValue()">getLongValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getNumberValue()">getNumberValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getPath(int)">getPath</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getPath(java.lang.String)">getPath</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getTextValue()">getTextValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsBoolean()">getValueAsBoolean</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsBoolean(boolean)">getValueAsBoolean</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsDouble()">getValueAsDouble</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsDouble(double)">getValueAsDouble</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsInt()">getValueAsInt</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsInt(int)">getValueAsInt</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsLong()">getValueAsLong</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsLong(long)">getValueAsLong</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsText()">getValueAsText</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#has(int)">has</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#has(java.lang.String)">has</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isArray()">isArray</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isBigDecimal()">isBigDecimal</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isBigInteger()">isBigInteger</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isBinary()">isBinary</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isBoolean()">isBoolean</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isContainerNode()">isContainerNode</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isDouble()">isDouble</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isFloatingPointNumber()">isFloatingPointNumber</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isInt()">isInt</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isIntegralNumber()">isIntegralNumber</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isLong()">isLong</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isMissingNode()">isMissingNode</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isNull()">isNull</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isNumber()">isNumber</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isObject()">isObject</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isPojo()">isPojo</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isTextual()">isTextual</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isValueNode()">isValueNode</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#iterator()">iterator</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#path(int)">path</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#path(java.lang.String)">path</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#size()">size</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#toString()">toString</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#with(java.lang.String)">with</a></code></li>
255</ul>
256<ul class="blockList">
257<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
258<!--   -->
259</a>
260<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
261<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
262</ul>
263</li>
264</ul>
265</li>
266</ul>
267</div>
268<div class="details">
269<ul class="blockList">
270<li class="blockList">
271<!-- ========= CONSTRUCTOR DETAIL ======== -->
272<ul class="blockList">
273<li class="blockList"><a name="constructor_detail">
274<!--   -->
275</a>
276<h3>Constructor Detail</h3>
277<a name="BaseJsonNode()">
278<!--   -->
279</a>
280<ul class="blockListLast">
281<li class="blockList">
282<h4>BaseJsonNode</h4>
283<pre>protected&nbsp;BaseJsonNode()</pre>
284</li>
285</ul>
286</li>
287</ul>
288<!-- ============ METHOD DETAIL ========== -->
289<ul class="blockList">
290<li class="blockList"><a name="method_detail">
291<!--   -->
292</a>
293<h3>Method Detail</h3>
294<a name="findValue(java.lang.String)">
295<!--   -->
296</a>
297<ul class="blockList">
298<li class="blockList">
299<h4>findValue</h4>
300<pre>public&nbsp;<a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a>&nbsp;findValue(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</pre>
301<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html#findValue(java.lang.String)">JsonNode</a></code></strong></div>
302<div class="block">Method for finding a JSON Object field with specified name in this
303 node or its child nodes, and returning value it has.
304 If no matching field is found in this node or its descendants, returns null.</div>
305<dl>
306<dt><strong>Specified by:</strong></dt>
307<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#findValue(java.lang.String)">findValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd>
308<dt><span class="strong">Parameters:</span></dt><dd><code>fieldName</code> - Name of field to look for</dd>
309<dt><span class="strong">Returns:</span></dt><dd>Value of first matching node found, if any; null if none</dd></dl>
310</li>
311</ul>
312<a name="findPath(java.lang.String)">
313<!--   -->
314</a>
315<ul class="blockList">
316<li class="blockList">
317<h4>findPath</h4>
318<pre>public final&nbsp;<a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a>&nbsp;findPath(<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>
319<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html#findPath(java.lang.String)">JsonNode</a></code></strong></div>
320<div class="block">Method similar to <a href="../../../../org/codehaus/jackson/JsonNode.html#findValue(java.lang.String)"><code>JsonNode.findValue(java.lang.String)</code></a>, but that will return a
321 "missing node" instead of null if no field is found. Missing node
322 is a specific kind of node for which <a href="../../../../org/codehaus/jackson/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>
323 returns true; and all value access methods return empty or
324 missing value.</div>
325<dl>
326<dt><strong>Specified by:</strong></dt>
327<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#findPath(java.lang.String)">findPath</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd>
328<dt><span class="strong">Parameters:</span></dt><dd><code>fieldName</code> - Name of field to look for</dd>
329<dt><span class="strong">Returns:</span></dt><dd>Value of first matching node found; or if not found, a
330    "missing node" (non-null instance that has no value)</dd></dl>
331</li>
332</ul>
333<a name="findParent(java.lang.String)">
334<!--   -->
335</a>
336<ul class="blockList">
337<li class="blockList">
338<h4>findParent</h4>
339<pre>public&nbsp;<a href="../../../../org/codehaus/jackson/node/ObjectNode.html" title="class in org.codehaus.jackson.node">ObjectNode</a>&nbsp;findParent(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</pre>
340<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html#findParent(java.lang.String)">JsonNode</a></code></strong></div>
341<div class="block">Method for finding a JSON Object that contains specified field,
342 within this node or its descendants.
343 If no matching field is found in this node or its descendants, returns null.</div>
344<dl>
345<dt><strong>Specified by:</strong></dt>
346<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#findParent(java.lang.String)">findParent</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd>
347<dt><span class="strong">Parameters:</span></dt><dd><code>fieldName</code> - Name of field to look for</dd>
348<dt><span class="strong">Returns:</span></dt><dd>Value of first matching node found, if any; null if none</dd></dl>
349</li>
350</ul>
351<a name="findValues(java.lang.String, java.util.List)">
352<!--   -->
353</a>
354<ul class="blockList">
355<li class="blockList">
356<h4>findValues</h4>
357<pre>public&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="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a>&gt;&nbsp;findValues(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName,
358                        <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="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a>&gt;&nbsp;foundSoFar)</pre>
359<dl>
360<dt><strong>Specified by:</strong></dt>
361<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#findValues(java.lang.String, java.util.List)">findValues</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd>
362</dl>
363</li>
364</ul>
365<a name="findValuesAsText(java.lang.String, java.util.List)">
366<!--   -->
367</a>
368<ul class="blockList">
369<li class="blockList">
370<h4>findValuesAsText</h4>
371<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;findValuesAsText(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName,
372                            <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>
373<dl>
374<dt><strong>Specified by:</strong></dt>
375<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd>
376</dl>
377</li>
378</ul>
379<a name="findParents(java.lang.String, java.util.List)">
380<!--   -->
381</a>
382<ul class="blockList">
383<li class="blockList">
384<h4>findParents</h4>
385<pre>public&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="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a>&gt;&nbsp;findParents(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName,
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="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a>&gt;&nbsp;foundSoFar)</pre>
387<dl>
388<dt><strong>Specified by:</strong></dt>
389<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#findParents(java.lang.String, java.util.List)">findParents</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd>
390</dl>
391</li>
392</ul>
393<a name="traverse()">
394<!--   -->
395</a>
396<ul class="blockList">
397<li class="blockList">
398<h4>traverse</h4>
399<pre>public&nbsp;<a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a>&nbsp;traverse()</pre>
400<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html#traverse()">JsonNode</a></code></strong></div>
401<div class="block">Method for constructing a <a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson"><code>JsonParser</code></a> instance for
402 iterating over contents of the tree that this
403 node is root of.
404 Functionally equivalent to first serializing tree using
405 <a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson"><code>ObjectCodec</code></a> and then re-parsing but
406 more efficient.</div>
407<dl>
408<dt><strong>Specified by:</strong></dt>
409<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#traverse()">traverse</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd>
410</dl>
411</li>
412</ul>
413<a name="asToken()">
414<!--   -->
415</a>
416<ul class="blockList">
417<li class="blockList">
418<h4>asToken</h4>
419<pre>public abstract&nbsp;<a href="../../../../org/codehaus/jackson/JsonToken.html" title="enum in org.codehaus.jackson">JsonToken</a>&nbsp;asToken()</pre>
420<div class="block">Method that can be used for efficient type detection
421 when using stream abstraction for traversing nodes.
422 Will return the first <a href="../../../../org/codehaus/jackson/JsonToken.html" title="enum in org.codehaus.jackson"><code>JsonToken</code></a> that equivalent
423 stream event would produce (for most nodes there is just
424 one token but for structured/container types multiple)</div>
425<dl>
426<dt><strong>Specified by:</strong></dt>
427<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#asToken()">asToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd>
428<dt><span class="strong">Since:</span></dt>
429  <dd>1.3</dd></dl>
430</li>
431</ul>
432<a name="getNumberType()">
433<!--   -->
434</a>
435<ul class="blockList">
436<li class="blockList">
437<h4>getNumberType</h4>
438<pre>public&nbsp;<a href="../../../../org/codehaus/jackson/JsonParser.NumberType.html" title="enum in org.codehaus.jackson">JsonParser.NumberType</a>&nbsp;getNumberType()</pre>
439<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html#getNumberType()">JsonNode</a></code></strong></div>
440<div class="block">If this node is a numeric type (as per <a href="../../../../org/codehaus/jackson/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a>),
441 returns native type that node uses to store the numeric
442 value.</div>
443<dl>
444<dt><strong>Specified by:</strong></dt>
445<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#getNumberType()">getNumberType</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd>
446<dt><span class="strong">Since:</span></dt>
447  <dd>1.3</dd></dl>
448</li>
449</ul>
450<a name="serialize(org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider)">
451<!--   -->
452</a>
453<ul class="blockList">
454<li class="blockList">
455<h4>serialize</h4>
456<pre>public abstract&nbsp;void&nbsp;serialize(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen,
457             <a href="../../../../org/codehaus/jackson/map/SerializerProvider.html" title="class in org.codehaus.jackson.map">SerializerProvider</a>&nbsp;provider)
458                        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>,
459                               <a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></pre>
460<div class="block">Method called to serialize node instances using given generator.</div>
461<dl>
462<dt><strong>Specified by:</strong></dt>
463<dd><code><a href="../../../../org/codehaus/jackson/map/JsonSerializable.html#serialize(org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider)">serialize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/codehaus/jackson/map/JsonSerializable.html" title="interface in org.codehaus.jackson.map">JsonSerializable</a></code></dd>
464<dt><span class="strong">Throws:</span></dt>
465<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
466<dd><code><a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></code></dd></dl>
467</li>
468</ul>
469<a name="serializeWithType(org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider, org.codehaus.jackson.map.TypeSerializer)">
470<!--   -->
471</a>
472<ul class="blockListLast">
473<li class="blockList">
474<h4>serializeWithType</h4>
475<pre>public abstract&nbsp;void&nbsp;serializeWithType(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen,
476                     <a href="../../../../org/codehaus/jackson/map/SerializerProvider.html" title="class in org.codehaus.jackson.map">SerializerProvider</a>&nbsp;provider,
477                     <a href="../../../../org/codehaus/jackson/map/TypeSerializer.html" title="class in org.codehaus.jackson.map">TypeSerializer</a>&nbsp;typeSer)
478                                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>,
479                                       <a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></pre>
480<div class="block">Type information is needed, even if JsonNode instances are "plain" JSON,
481 since they may be mixed with other types.</div>
482<dl>
483<dt><strong>Specified by:</strong></dt>
484<dd><code><a href="../../../../org/codehaus/jackson/map/JsonSerializableWithType.html#serializeWithType(org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider, org.codehaus.jackson.map.TypeSerializer)">serializeWithType</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/codehaus/jackson/map/JsonSerializableWithType.html" title="interface in org.codehaus.jackson.map">JsonSerializableWithType</a></code></dd>
485<dt><span class="strong">Throws:</span></dt>
486<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
487<dd><code><a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></code></dd></dl>
488</li>
489</ul>
490</li>
491</ul>
492</li>
493</ul>
494</div>
495</div>
496<!-- ========= END OF CLASS DATA ========= -->
497<!-- ======= START OF BOTTOM NAVBAR ====== -->
498<div class="bottomNav"><a name="navbar_bottom">
499<!--   -->
500</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
501<!--   -->
502</a>
503<ul class="navList" title="Navigation">
504<li><a href="../../../../overview-summary.html">Overview</a></li>
505<li><a href="package-summary.html">Package</a></li>
506<li class="navBarCell1Rev">Class</li>
507<li><a href="class-use/BaseJsonNode.html">Use</a></li>
508<li><a href="package-tree.html">Tree</a></li>
509<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
510<li><a href="../../../../index-all.html">Index</a></li>
511<li><a href="../../../../help-doc.html">Help</a></li>
512</ul>
513</div>
514<div class="subNav">
515<ul class="navList">
516<li><a href="../../../../org/codehaus/jackson/node/ArrayNode.html" title="class in org.codehaus.jackson.node"><span class="strong">Prev Class</span></a></li>
517<li><a href="../../../../org/codehaus/jackson/node/BigIntegerNode.html" title="class in org.codehaus.jackson.node"><span class="strong">Next Class</span></a></li>
518</ul>
519<ul class="navList">
520<li><a href="../../../../index.html?org/codehaus/jackson/node/BaseJsonNode.html" target="_top">Frames</a></li>
521<li><a href="BaseJsonNode.html" target="_top">No Frames</a></li>
522</ul>
523<ul class="navList" id="allclasses_navbar_bottom">
524<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
525</ul>
526<div>
527<script type="text/javascript"><!--
528  allClassesLink = document.getElementById("allclasses_navbar_bottom");
529  if(window==top) {
530    allClassesLink.style.display = "block";
531  }
532  else {
533    allClassesLink.style.display = "none";
534  }
535  //-->
536</script>
537</div>
538<div>
539<ul class="subNavList">
540<li>Summary:&nbsp;</li>
541<li>Nested&nbsp;|&nbsp;</li>
542<li><a href="#fields_inherited_from_class_org.codehaus.jackson.JsonNode">Field</a>&nbsp;|&nbsp;</li>
543<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
544<li><a href="#method_summary">Method</a></li>
545</ul>
546<ul class="subNavList">
547<li>Detail:&nbsp;</li>
548<li>Field&nbsp;|&nbsp;</li>
549<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
550<li><a href="#method_detail">Method</a></li>
551</ul>
552</div>
553<a name="skip-navbar_bottom">
554<!--   -->
555</a></div>
556<!-- ======== END OF BOTTOM NAVBAR ======= -->
557</body>
558</html>
559