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