• 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_25) on Mon Jun 02 17:48:57 PDT 2014 -->
6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
7<title>MissingNode (jackson-databind 2.4.0 API)</title>
8<meta name="date" content="2014-06-02">
9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
10</head>
11<body>
12<script type="text/javascript"><!--
13    if (location.href.indexOf('is-external=true') == -1) {
14        parent.document.title="MissingNode (jackson-databind 2.4.0 API)";
15    }
16//-->
17</script>
18<noscript>
19<div>JavaScript is disabled on your browser.</div>
20</noscript>
21<!-- ========= START OF TOP NAVBAR ======= -->
22<div class="topNav"><a name="navbar_top">
23<!--   -->
24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
25<!--   -->
26</a>
27<ul class="navList" title="Navigation">
28<li><a href="../../../../../overview-summary.html">Overview</a></li>
29<li><a href="package-summary.html">Package</a></li>
30<li class="navBarCell1Rev">Class</li>
31<li><a href="class-use/MissingNode.html">Use</a></li>
32<li><a href="package-tree.html">Tree</a></li>
33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
34<li><a href="../../../../../index-all.html">Index</a></li>
35<li><a href="../../../../../help-doc.html">Help</a></li>
36</ul>
37</div>
38<div class="subNav">
39<ul class="navList">
40<li><a href="../../../../../com/fasterxml/jackson/databind/node/LongNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Prev Class</span></a></li>
41<li><a href="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Next Class</span></a></li>
42</ul>
43<ul class="navList">
44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/MissingNode.html" target="_top">Frames</a></li>
45<li><a href="MissingNode.html" target="_top">No Frames</a></li>
46</ul>
47<ul class="navList" id="allclasses_navbar_top">
48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
49</ul>
50<div>
51<script type="text/javascript"><!--
52  allClassesLink = document.getElementById("allclasses_navbar_top");
53  if(window==top) {
54    allClassesLink.style.display = "block";
55  }
56  else {
57    allClassesLink.style.display = "none";
58  }
59  //-->
60</script>
61</div>
62<div>
63<ul class="subNavList">
64<li>Summary:&nbsp;</li>
65<li>Nested&nbsp;|&nbsp;</li>
66<li>Field&nbsp;|&nbsp;</li>
67<li>Constr&nbsp;|&nbsp;</li>
68<li><a href="#method_summary">Method</a></li>
69</ul>
70<ul class="subNavList">
71<li>Detail:&nbsp;</li>
72<li>Field&nbsp;|&nbsp;</li>
73<li>Constr&nbsp;|&nbsp;</li>
74<li><a href="#method_detail">Method</a></li>
75</ul>
76</div>
77<a name="skip-navbar_top">
78<!--   -->
79</a></div>
80<!-- ========= END OF TOP NAVBAR ========= -->
81<!-- ======== START OF CLASS DATA ======== -->
82<div class="header">
83<div class="subTitle">com.fasterxml.jackson.databind.node</div>
84<h2 title="Class MissingNode" class="title">Class MissingNode</h2>
85</div>
86<div class="contentContainer">
87<ul class="inheritance">
88<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>
89<li>
90<ul class="inheritance">
91<li><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonNode</a></li>
92<li>
93<ul class="inheritance">
94<li><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.BaseJsonNode</a></li>
95<li>
96<ul class="inheritance">
97<li><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.ValueNode</a></li>
98<li>
99<ul class="inheritance">
100<li>com.fasterxml.jackson.databind.node.MissingNode</li>
101</ul>
102</li>
103</ul>
104</li>
105</ul>
106</li>
107</ul>
108</li>
109</ul>
110<div class="description">
111<ul class="blockList">
112<li class="blockList">
113<dl>
114<dt>All Implemented Interfaces:</dt>
115<dd><a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/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>
116</dl>
117<hr>
118<br>
119<pre>public final class <span class="strong">MissingNode</span>
120extends <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></pre>
121<div class="block">This singleton node class is generated to denote "missing nodes"
122 along paths that do not exist. For example, if a path via
123 element of an array is requested for an element outside range
124 of elements in the array; or for a non-array value, result
125 will be reference to this node.
126<p>
127 In most respects this placeholder node will act as <a href="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node"><code>NullNode</code></a>;
128 for example, for purposes of value conversions, value is considered
129 to be null and represented as value zero when used for numeric
130 conversions.</div>
131</li>
132</ul>
133</div>
134<div class="summary">
135<ul class="blockList">
136<li class="blockList">
137<!-- ========== METHOD SUMMARY =========== -->
138<ul class="blockList">
139<li class="blockList"><a name="method_summary">
140<!--   -->
141</a>
142<h3>Method Summary</h3>
143<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
144<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
145<tr>
146<th class="colFirst" scope="col">Modifier and Type</th>
147<th class="colLast" scope="col">Method and Description</th>
148</tr>
149<tr class="altColor">
150<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
151<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#asText()">asText</a></strong>()</code>
152<div class="block">Method that will return a valid String representation of
153 the container value, if the node is a value node
154 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><code>JsonNode.isValueNode()</code></a> returns true),
155 otherwise empty String.</div>
156</td>
157</tr>
158<tr class="rowColor">
159<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
160<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#asText(java.lang.String)">asText</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;defaultValue)</code>
161<div class="block">Method similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText()"><code>JsonNode.asText()</code></a>, except that it will return
162 <code>defaultValue</code> in cases where null value would be returned;
163 either for missing nodes (trying to access missing property, or element
164 at invalid item for array) or explicit nulls.</div>
165</td>
166</tr>
167<tr class="altColor">
168<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a></code></td>
169<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#asToken()">asToken</a></strong>()</code>
170<div class="block">Method that can be used for efficient type detection
171 when using stream abstraction for traversing nodes.</div>
172</td>
173</tr>
174<tr class="rowColor">
175<td class="colFirst"><code>&lt;T extends <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;<br>T</code></td>
176<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#deepCopy()">deepCopy</a></strong>()</code>
177<div class="block">All current value nodes are immutable, so we can just return
178 them as is.</div>
179</td>
180</tr>
181<tr class="altColor">
182<td class="colFirst"><code>boolean</code></td>
183<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</code>
184<div class="block">Equality for node objects is defined as full (deep) value
185 equality.</div>
186</td>
187</tr>
188<tr class="rowColor">
189<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html" title="class in com.fasterxml.jackson.databind.node">MissingNode</a></code></td>
190<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#getInstance()">getInstance</a></strong>()</code>&nbsp;</td>
191</tr>
192<tr class="altColor">
193<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node">JsonNodeType</a></code></td>
194<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#getNodeType()">getNodeType</a></strong>()</code>
195<div class="block">Return the type of this node</div>
196</td>
197</tr>
198<tr class="rowColor">
199<td class="colFirst"><code>void</code></td>
200<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jg,
201         <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)</code>
202<div class="block">Method called to serialize node instances using given generator.</div>
203</td>
204</tr>
205<tr class="altColor">
206<td class="colFirst"><code>void</code></td>
207<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">serializeWithType</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jg,
208                 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider,
209                 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;typeSer)</code>
210<div class="block">Type information is needed, even if JsonNode instances are "plain" JSON,
211 since they may be mixed with other types.</div>
212</td>
213</tr>
214<tr class="rowColor">
215<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
216<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#toString()">toString</a></strong>()</code>
217<div class="block">
218 Note: marked as abstract to ensure all implementation
219 classes define it properly.</div>
220</td>
221</tr>
222</table>
223<ul class="blockList">
224<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.ValueNode">
225<!--   -->
226</a>
227<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.node.<a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></h3>
228<code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#_at(com.fasterxml.jackson.core.JsonPointer)">_at</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findParent(java.lang.String)">findParent</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findParents(java.lang.String, java.util.List)">findParents</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findValue(java.lang.String)">findValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findValues(java.lang.String, java.util.List)">findValues</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#get(int)">get</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#get(java.lang.String)">get</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#has(int)">has</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#has(java.lang.String)">has</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#hasNonNull(int)">hasNonNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#hasNonNull(java.lang.String)">hasNonNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#path(int)">path</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#path(java.lang.String)">path</a></code></li>
229</ul>
230<ul class="blockList">
231<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.BaseJsonNode">
232<!--   -->
233</a>
234<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.node.<a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></h3>
235<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findPath(java.lang.String)">findPath</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#numberType()">numberType</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse()">traverse</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse(com.fasterxml.jackson.core.ObjectCodec)">traverse</a></code></li>
236</ul>
237<ul class="blockList">
238<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode">
239<!--   -->
240</a>
241<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></h3>
242<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#at(com.fasterxml.jackson.core.JsonPointer)">at</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#at(java.lang.String)">at</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#bigIntegerValue()">bigIntegerValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#binaryValue()">binaryValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#booleanValue()">booleanValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt()">canConvertToInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToLong()">canConvertToLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#decimalValue()">decimalValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#doubleValue()">doubleValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#elements()">elements</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fieldNames()">fieldNames</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fields()">fields</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParents(java.lang.String)">findParents</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues(java.lang.String)">findValues</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValuesAsText(java.lang.String)">findValuesAsText</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#floatValue()">floatValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#intValue()">intValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isArray()">isArray</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigDecimal()">isBigDecimal</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigInteger()">isBigInteger</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBinary()">isBinary</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBoolean()">isBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isContainerNode()">isContainerNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isDouble()">isDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isFloat()">isFloat</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isFloatingPointNumber()">isFloatingPointNumber</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isInt()">isInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isIntegralNumber()">isIntegralNumber</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isLong()">isLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()">isMissingNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNull()">isNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()">isNumber</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isObject()">isObject</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isPojo()">isPojo</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isShort()">isShort</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isTextual()">isTextual</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()">isValueNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#iterator()">iterator</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#longValue()">longValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#numberValue()">numberValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#shortValue()">shortValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#size()">size</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#textValue()">textValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#with(java.lang.String)">with</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#withArray(java.lang.String)">withArray</a></code></li>
243</ul>
244<ul class="blockList">
245<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
246<!--   -->
247</a>
248<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>
249<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>
250</ul>
251</li>
252</ul>
253</li>
254</ul>
255</div>
256<div class="details">
257<ul class="blockList">
258<li class="blockList">
259<!-- ============ METHOD DETAIL ========== -->
260<ul class="blockList">
261<li class="blockList"><a name="method_detail">
262<!--   -->
263</a>
264<h3>Method Detail</h3>
265<a name="deepCopy()">
266<!--   -->
267</a>
268<ul class="blockList">
269<li class="blockList">
270<h4>deepCopy</h4>
271<pre>public&nbsp;&lt;T extends <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;T&nbsp;deepCopy()</pre>
272<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#deepCopy()">ValueNode</a></code></strong></div>
273<div class="block">All current value nodes are immutable, so we can just return
274 them as is.</div>
275<dl>
276<dt><strong>Overrides:</strong></dt>
277<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#deepCopy()">deepCopy</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></code></dd>
278<dt><span class="strong">Returns:</span></dt><dd>Node that is either a copy of this node (and all non-leaf
279    children); or, for immutable leaf nodes, node itself.</dd></dl>
280</li>
281</ul>
282<a name="getInstance()">
283<!--   -->
284</a>
285<ul class="blockList">
286<li class="blockList">
287<h4>getInstance</h4>
288<pre>public static&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html" title="class in com.fasterxml.jackson.databind.node">MissingNode</a>&nbsp;getInstance()</pre>
289</li>
290</ul>
291<a name="getNodeType()">
292<!--   -->
293</a>
294<ul class="blockList">
295<li class="blockList">
296<h4>getNodeType</h4>
297<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node">JsonNodeType</a>&nbsp;getNodeType()</pre>
298<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType()">JsonNode</a></code></strong></div>
299<div class="block">Return the type of this node</div>
300<dl>
301<dt><strong>Specified by:</strong></dt>
302<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType()">getNodeType</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
303<dt><span class="strong">Returns:</span></dt><dd>the node type as a <a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node"><code>JsonNodeType</code></a> enum value</dd></dl>
304</li>
305</ul>
306<a name="asToken()">
307<!--   -->
308</a>
309<ul class="blockList">
310<li class="blockList">
311<h4>asToken</h4>
312<pre>public&nbsp;<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a>&nbsp;asToken()</pre>
313<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">BaseJsonNode</a></code></strong></div>
314<div class="block">Method that can be used for efficient type detection
315 when using stream abstraction for traversing nodes.
316 Will return the first <a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonToken</code></a> that equivalent
317 stream event would produce (for most nodes there is just
318 one token but for structured/container types multiple)</div>
319<dl>
320<dt><strong>Specified by:</strong></dt>
321<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/TreeNode.html?is-external=true#asToken()" title="class or interface in com.fasterxml.jackson.core">asToken</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
322<dt><strong>Specified by:</strong></dt>
323<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#asToken()">asToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></code></dd>
324</dl>
325</li>
326</ul>
327<a name="asText()">
328<!--   -->
329</a>
330<ul class="blockList">
331<li class="blockList">
332<h4>asText</h4>
333<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;asText()</pre>
334<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText()">JsonNode</a></code></strong></div>
335<div class="block">Method that will return a valid String representation of
336 the container value, if the node is a value node
337 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><code>JsonNode.isValueNode()</code></a> returns true),
338 otherwise empty String.</div>
339<dl>
340<dt><strong>Specified by:</strong></dt>
341<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText()">asText</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
342</dl>
343</li>
344</ul>
345<a name="asText(java.lang.String)">
346<!--   -->
347</a>
348<ul class="blockList">
349<li class="blockList">
350<h4>asText</h4>
351<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;asText(<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;defaultValue)</pre>
352<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText(java.lang.String)">JsonNode</a></code></strong></div>
353<div class="block">Method similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText()"><code>JsonNode.asText()</code></a>, except that it will return
354 <code>defaultValue</code> in cases where null value would be returned;
355 either for missing nodes (trying to access missing property, or element
356 at invalid item for array) or explicit nulls.</div>
357<dl>
358<dt><strong>Overrides:</strong></dt>
359<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText(java.lang.String)">asText</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
360</dl>
361</li>
362</ul>
363<a name="serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">
364<!--   -->
365</a>
366<ul class="blockList">
367<li class="blockList">
368<h4>serialize</h4>
369<pre>public final&nbsp;void&nbsp;serialize(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jg,
370             <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)
371                     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>,
372                            <a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre>
373<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">BaseJsonNode</a></code></strong></div>
374<div class="block">Method called to serialize node instances using given generator.</div>
375<dl>
376<dt><strong>Specified by:</strong></dt>
377<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></code></dd>
378<dt><strong>Specified by:</strong></dt>
379<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></code></dd>
380<dt><span class="strong">Throws:</span></dt>
381<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>
382<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd></dl>
383</li>
384</ul>
385<a name="serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">
386<!--   -->
387</a>
388<ul class="blockList">
389<li class="blockList">
390<h4>serializeWithType</h4>
391<pre>public&nbsp;void&nbsp;serializeWithType(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jg,
392                     <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider,
393                     <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;typeSer)
394                       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>,
395                              <a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre>
396<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">BaseJsonNode</a></code></strong></div>
397<div class="block">Type information is needed, even if JsonNode instances are "plain" JSON,
398 since they may be mixed with other types.</div>
399<dl>
400<dt><strong>Specified by:</strong></dt>
401<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>&nbsp;in interface&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></code></dd>
402<dt><strong>Overrides:</strong></dt>
403<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">serializeWithType</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></code></dd>
404<dt><span class="strong">Throws:</span></dt>
405<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>
406<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd></dl>
407</li>
408</ul>
409<a name="equals(java.lang.Object)">
410<!--   -->
411</a>
412<ul class="blockList">
413<li class="blockList">
414<h4>equals</h4>
415<pre>public&nbsp;boolean&nbsp;equals(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
416<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">JsonNode</a></code></strong></div>
417<div class="block">Equality for node objects is defined as full (deep) value
418 equality. This means that it is possible to compare complete
419 JSON trees for equality by comparing equality of root nodes.
420<p>
421 Note: marked as abstract to ensure all implementation
422 classes define it properly and not rely on definition
423 from <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div>
424<dl>
425<dt><strong>Specified by:</strong></dt>
426<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">equals</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
427</dl>
428</li>
429</ul>
430<a name="toString()">
431<!--   -->
432</a>
433<ul class="blockListLast">
434<li class="blockList">
435<h4>toString</h4>
436<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
437<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toString()">JsonNode</a></code></strong></div>
438<div class="block"><p>
439 Note: marked as abstract to ensure all implementation
440 classes define it properly.</div>
441<dl>
442<dt><strong>Overrides:</strong></dt>
443<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#toString()">toString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></code></dd>
444</dl>
445</li>
446</ul>
447</li>
448</ul>
449</li>
450</ul>
451</div>
452</div>
453<!-- ========= END OF CLASS DATA ========= -->
454<!-- ======= START OF BOTTOM NAVBAR ====== -->
455<div class="bottomNav"><a name="navbar_bottom">
456<!--   -->
457</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
458<!--   -->
459</a>
460<ul class="navList" title="Navigation">
461<li><a href="../../../../../overview-summary.html">Overview</a></li>
462<li><a href="package-summary.html">Package</a></li>
463<li class="navBarCell1Rev">Class</li>
464<li><a href="class-use/MissingNode.html">Use</a></li>
465<li><a href="package-tree.html">Tree</a></li>
466<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
467<li><a href="../../../../../index-all.html">Index</a></li>
468<li><a href="../../../../../help-doc.html">Help</a></li>
469</ul>
470</div>
471<div class="subNav">
472<ul class="navList">
473<li><a href="../../../../../com/fasterxml/jackson/databind/node/LongNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Prev Class</span></a></li>
474<li><a href="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Next Class</span></a></li>
475</ul>
476<ul class="navList">
477<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/MissingNode.html" target="_top">Frames</a></li>
478<li><a href="MissingNode.html" target="_top">No Frames</a></li>
479</ul>
480<ul class="navList" id="allclasses_navbar_bottom">
481<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
482</ul>
483<div>
484<script type="text/javascript"><!--
485  allClassesLink = document.getElementById("allclasses_navbar_bottom");
486  if(window==top) {
487    allClassesLink.style.display = "block";
488  }
489  else {
490    allClassesLink.style.display = "none";
491  }
492  //-->
493</script>
494</div>
495<div>
496<ul class="subNavList">
497<li>Summary:&nbsp;</li>
498<li>Nested&nbsp;|&nbsp;</li>
499<li>Field&nbsp;|&nbsp;</li>
500<li>Constr&nbsp;|&nbsp;</li>
501<li><a href="#method_summary">Method</a></li>
502</ul>
503<ul class="subNavList">
504<li>Detail:&nbsp;</li>
505<li>Field&nbsp;|&nbsp;</li>
506<li>Constr&nbsp;|&nbsp;</li>
507<li><a href="#method_detail">Method</a></li>
508</ul>
509</div>
510<a name="skip-navbar_bottom">
511<!--   -->
512</a></div>
513<!-- ======== END OF BOTTOM NAVBAR ======= -->
514<p class="legalCopy"><small>Copyright &#169; 2014 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p>
515</body>
516</html>
517