• 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 (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>TextNode (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="TextNode (jackson-databind 2.6.0 API)";
17        }
18    }
19    catch(err) {
20    }
21//-->
22var methods = {"i0":10,"i1":10,"i2":10,"i3":9,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":9};
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/TextNode.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/ShortNode.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/TreeTraversingParser.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/TextNode.html" target="_top">Frames</a></li>
58<li><a href="TextNode.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><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&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 TextNode" class="title">Class TextNode</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.TextNode</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 class <span class="typeNameLabel">TextNode</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">Value node that contains a text value.</div>
140</li>
141</ul>
142</div>
143<div class="summary">
144<ul class="blockList">
145<li class="blockList">
146<!-- ======== NESTED CLASS SUMMARY ======== -->
147<ul class="blockList">
148<li class="blockList"><a name="nested.class.summary">
149<!--   -->
150</a>
151<h3>Nested Class Summary</h3>
152<ul class="blockList">
153<li class="blockList"><a name="nested.classes.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable">
154<!--   -->
155</a>
156<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>
157<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">JsonSerializable.Base</a></code></li>
158</ul>
159</li>
160</ul>
161<!-- =========== FIELD SUMMARY =========== -->
162<ul class="blockList">
163<li class="blockList"><a name="field.summary">
164<!--   -->
165</a>
166<h3>Field Summary</h3>
167<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
168<caption><span>Fields</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">Field and Description</th>
172</tr>
173<tr class="altColor">
174<td class="colFirst"><code>protected <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>
175<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#Z:Z_value">_value</a></span></code>&nbsp;</td>
176</tr>
177</table>
178</li>
179</ul>
180<!-- ======== CONSTRUCTOR SUMMARY ======== -->
181<ul class="blockList">
182<li class="blockList"><a name="constructor.summary">
183<!--   -->
184</a>
185<h3>Constructor Summary</h3>
186<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
187<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
188<tr>
189<th class="colOne" scope="col">Constructor and Description</th>
190</tr>
191<tr class="altColor">
192<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#TextNode-java.lang.String-">TextNode</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;v)</code>&nbsp;</td>
193</tr>
194</table>
195</li>
196</ul>
197<!-- ========== METHOD SUMMARY =========== -->
198<ul class="blockList">
199<li class="blockList"><a name="method.summary">
200<!--   -->
201</a>
202<h3>Method Summary</h3>
203<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
204<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>
205<tr>
206<th class="colFirst" scope="col">Modifier and Type</th>
207<th class="colLast" scope="col">Method and Description</th>
208</tr>
209<tr id="i0" class="altColor">
210<td class="colFirst"><code>protected void</code></td>
211<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#Z:Z_reportBase64EOF--">_reportBase64EOF</a></span>()</code>&nbsp;</td>
212</tr>
213<tr id="i1" class="rowColor">
214<td class="colFirst"><code>protected void</code></td>
215<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#Z:Z_reportInvalidBase64-com.fasterxml.jackson.core.Base64Variant-char-int-">_reportInvalidBase64</a></span>(com.fasterxml.jackson.core.Base64Variant&nbsp;b64variant,
216                    char&nbsp;ch,
217                    int&nbsp;bindex)</code>&nbsp;</td>
218</tr>
219<tr id="i2" class="altColor">
220<td class="colFirst"><code>protected void</code></td>
221<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#Z:Z_reportInvalidBase64-com.fasterxml.jackson.core.Base64Variant-char-int-java.lang.String-">_reportInvalidBase64</a></span>(com.fasterxml.jackson.core.Base64Variant&nbsp;b64variant,
222                    char&nbsp;ch,
223                    int&nbsp;bindex,
224                    <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;msg)</code>&nbsp;</td>
225</tr>
226<tr id="i3" class="rowColor">
227<td class="colFirst"><code>protected static void</code></td>
228<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#appendQuoted-java.lang.StringBuilder-java.lang.String-">appendQuoted</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb,
229            <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;content)</code>&nbsp;</td>
230</tr>
231<tr id="i4" class="altColor">
232<td class="colFirst"><code>boolean</code></td>
233<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#asBoolean-boolean-">asBoolean</a></span>(boolean&nbsp;defaultValue)</code>
234<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.</div>
235</td>
236</tr>
237<tr id="i5" class="rowColor">
238<td class="colFirst"><code>double</code></td>
239<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#asDouble-double-">asDouble</a></span>(double&nbsp;defaultValue)</code>
240<div class="block">Method that will try to convert value of this node to a Java <b>double</b>.</div>
241</td>
242</tr>
243<tr id="i6" class="altColor">
244<td class="colFirst"><code>int</code></td>
245<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#asInt-int-">asInt</a></span>(int&nbsp;defaultValue)</code>
246<div class="block">Method that will try to convert value of this node to a Java <b>int</b>.</div>
247</td>
248</tr>
249<tr id="i7" class="rowColor">
250<td class="colFirst"><code>long</code></td>
251<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#asLong-long-">asLong</a></span>(long&nbsp;defaultValue)</code>
252<div class="block">Method that will try to convert value of this node to a Java <b>long</b>.</div>
253</td>
254</tr>
255<tr id="i8" class="altColor">
256<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>
257<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#asText--">asText</a></span>()</code>
258<div class="block">Method that will return a valid String representation of
259 the container value, if the node is a value node
260 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode--"><code>JsonNode.isValueNode()</code></a> returns true),
261 otherwise empty String.</div>
262</td>
263</tr>
264<tr id="i9" class="rowColor">
265<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>
266<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.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>
267<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
268 <code>defaultValue</code> in cases where null value would be returned;
269 either for missing nodes (trying to access missing property, or element
270 at invalid item for array) or explicit nulls.</div>
271</td>
272</tr>
273<tr id="i10" class="altColor">
274<td class="colFirst"><code>com.fasterxml.jackson.core.JsonToken</code></td>
275<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#asToken--">asToken</a></span>()</code>
276<div class="block">Method that can be used for efficient type detection
277 when using stream abstraction for traversing nodes.</div>
278</td>
279</tr>
280<tr id="i11" class="rowColor">
281<td class="colFirst"><code>byte[]</code></td>
282<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#binaryValue--">binaryValue</a></span>()</code>
283<div class="block">Method to use for accessing binary content of binary nodes (nodes
284 for which <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBinary--"><code>JsonNode.isBinary()</code></a> returns true); or for Text Nodes
285 (ones for which <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#textValue--"><code>JsonNode.textValue()</code></a> returns non-null value),
286 to read decoded base64 data.</div>
287</td>
288</tr>
289<tr id="i12" class="altColor">
290<td class="colFirst"><code>boolean</code></td>
291<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.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>
292<div class="block">Equality for node objects is defined as full (deep) value
293 equality.</div>
294</td>
295</tr>
296<tr id="i13" class="rowColor">
297<td class="colFirst"><code>byte[]</code></td>
298<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#getBinaryValue-com.fasterxml.jackson.core.Base64Variant-">getBinaryValue</a></span>(com.fasterxml.jackson.core.Base64Variant&nbsp;b64variant)</code>
299<div class="block">Method for accessing textual contents assuming they were
300 base64 encoded; if so, they are decoded and resulting binary
301 data is returned.</div>
302</td>
303</tr>
304<tr id="i14" class="altColor">
305<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>
306<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#getNodeType--">getNodeType</a></span>()</code>
307<div class="block">Return the type of this node</div>
308</td>
309</tr>
310<tr id="i15" class="rowColor">
311<td class="colFirst"><code>int</code></td>
312<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
313</tr>
314<tr id="i16" class="altColor">
315<td class="colFirst"><code>void</code></td>
316<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</a></span>(com.fasterxml.jackson.core.JsonGenerator&nbsp;jg,
317         <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)</code>
318<div class="block">Method called to serialize node instances using given generator.</div>
319</td>
320</tr>
321<tr id="i17" class="rowColor">
322<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>
323<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#textValue--">textValue</a></span>()</code>
324<div class="block">Method to use for accessing String values.</div>
325</td>
326</tr>
327<tr id="i18" class="altColor">
328<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>
329<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#toString--">toString</a></span>()</code>
330<div class="block">Different from other values, Strings need quoting</div>
331</td>
332</tr>
333<tr id="i19" class="rowColor">
334<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html" title="class in com.fasterxml.jackson.databind.node">TextNode</a></code></td>
335<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html#valueOf-java.lang.String-">valueOf</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;v)</code>
336<div class="block">Factory method that should be used to construct instances.</div>
337</td>
338</tr>
339</table>
340<ul class="blockList">
341<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.node.ValueNode">
342<!--   -->
343</a>
344<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>
345<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></code></li>
346</ul>
347<ul class="blockList">
348<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.node.BaseJsonNode">
349<!--   -->
350</a>
351<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>
352<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>
353</ul>
354<ul class="blockList">
355<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonNode">
356<!--   -->
357</a>
358<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>
359<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean--">asBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble--">asDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt--">asInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong--">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#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#with-java.lang.String-">with</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#withArray-java.lang.String-">withArray</a></code></li>
360</ul>
361<ul class="blockList">
362<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable.Base">
363<!--   -->
364</a>
365<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>
366<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html#isEmpty-com.fasterxml.jackson.databind.SerializerProvider-">isEmpty</a></code></li>
367</ul>
368<ul class="blockList">
369<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
370<!--   -->
371</a>
372<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>
373<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#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>
374</ul>
375<ul class="blockList">
376<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable">
377<!--   -->
378</a>
379<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>
380<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>
381</ul>
382</li>
383</ul>
384</li>
385</ul>
386</div>
387<div class="details">
388<ul class="blockList">
389<li class="blockList">
390<!-- ============ FIELD DETAIL =========== -->
391<ul class="blockList">
392<li class="blockList"><a name="field.detail">
393<!--   -->
394</a>
395<h3>Field Detail</h3>
396<a name="Z:Z_value">
397<!--   -->
398</a>
399<ul class="blockListLast">
400<li class="blockList">
401<h4>_value</h4>
402<pre>protected final&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> _value</pre>
403</li>
404</ul>
405</li>
406</ul>
407<!-- ========= CONSTRUCTOR DETAIL ======== -->
408<ul class="blockList">
409<li class="blockList"><a name="constructor.detail">
410<!--   -->
411</a>
412<h3>Constructor Detail</h3>
413<a name="TextNode-java.lang.String-">
414<!--   -->
415</a>
416<ul class="blockListLast">
417<li class="blockList">
418<h4>TextNode</h4>
419<pre>public&nbsp;TextNode(<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;v)</pre>
420</li>
421</ul>
422</li>
423</ul>
424<!-- ============ METHOD DETAIL ========== -->
425<ul class="blockList">
426<li class="blockList"><a name="method.detail">
427<!--   -->
428</a>
429<h3>Method Detail</h3>
430<a name="valueOf-java.lang.String-">
431<!--   -->
432</a>
433<ul class="blockList">
434<li class="blockList">
435<h4>valueOf</h4>
436<pre>public static&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html" title="class in com.fasterxml.jackson.databind.node">TextNode</a>&nbsp;valueOf(<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;v)</pre>
437<div class="block">Factory method that should be used to construct instances.
438 For some common cases, can reuse canonical instances: currently
439 this is the case for empty Strings, in future possible for
440 others as well. If null is passed, will return null.</div>
441<dl>
442<dt><span class="returnLabel">Returns:</span></dt>
443<dd>Resulting <a href="../../../../../com/fasterxml/jackson/databind/node/TextNode.html" title="class in com.fasterxml.jackson.databind.node"><code>TextNode</code></a> object, if <b>v</b>
444   is NOT null; null if it is.</dd>
445</dl>
446</li>
447</ul>
448<a name="getNodeType--">
449<!--   -->
450</a>
451<ul class="blockList">
452<li class="blockList">
453<h4>getNodeType</h4>
454<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>
455<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>
456<div class="block">Return the type of this node</div>
457<dl>
458<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
459<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>
460<dt><span class="returnLabel">Returns:</span></dt>
461<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>
462</dl>
463</li>
464</ul>
465<a name="asToken--">
466<!--   -->
467</a>
468<ul class="blockList">
469<li class="blockList">
470<h4>asToken</h4>
471<pre>public&nbsp;com.fasterxml.jackson.core.JsonToken&nbsp;asToken()</pre>
472<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>
473<div class="block">Method that can be used for efficient type detection
474 when using stream abstraction for traversing nodes.
475 Will return the first <code>JsonToken</code> that equivalent
476 stream event would produce (for most nodes there is just
477 one token but for structured/container types multiple)</div>
478<dl>
479<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
480<dd><code>asToken</code>&nbsp;in interface&nbsp;<code>com.fasterxml.jackson.core.TreeNode</code></dd>
481<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
482<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>
483</dl>
484</li>
485</ul>
486<a name="textValue--">
487<!--   -->
488</a>
489<ul class="blockList">
490<li class="blockList">
491<h4>textValue</h4>
492<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;textValue()</pre>
493<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#textValue--">JsonNode</a></code></span></div>
494<div class="block">Method to use for accessing String values.
495 Does <b>NOT</b> do any conversions for non-String value nodes;
496 for non-String values (ones for which <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isTextual--"><code>JsonNode.isTextual()</code></a> returns
497 false) null will be returned.
498 For String values, null is never returned (but empty Strings may be)</div>
499<dl>
500<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
501<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#textValue--">textValue</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>
502<dt><span class="returnLabel">Returns:</span></dt>
503<dd>Textual value this node contains, iff it is a textual
504   JSON node (comes from JSON String value entry)</dd>
505</dl>
506</li>
507</ul>
508<a name="getBinaryValue-com.fasterxml.jackson.core.Base64Variant-">
509<!--   -->
510</a>
511<ul class="blockList">
512<li class="blockList">
513<h4>getBinaryValue</h4>
514<pre>public&nbsp;byte[]&nbsp;getBinaryValue(com.fasterxml.jackson.core.Base64Variant&nbsp;b64variant)
515                      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></pre>
516<div class="block">Method for accessing textual contents assuming they were
517 base64 encoded; if so, they are decoded and resulting binary
518 data is returned.</div>
519<dl>
520<dt><span class="throwsLabel">Throws:</span></dt>
521<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>
522</dl>
523</li>
524</ul>
525<a name="binaryValue--">
526<!--   -->
527</a>
528<ul class="blockList">
529<li class="blockList">
530<h4>binaryValue</h4>
531<pre>public&nbsp;byte[]&nbsp;binaryValue()
532                   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></pre>
533<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#binaryValue--">JsonNode</a></code></span></div>
534<div class="block">Method to use for accessing binary content of binary nodes (nodes
535 for which <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBinary--"><code>JsonNode.isBinary()</code></a> returns true); or for Text Nodes
536 (ones for which <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#textValue--"><code>JsonNode.textValue()</code></a> returns non-null value),
537 to read decoded base64 data.
538 For other types of nodes, returns null.</div>
539<dl>
540<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
541<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#binaryValue--">binaryValue</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>
542<dt><span class="returnLabel">Returns:</span></dt>
543<dd>Binary data this node contains, iff it is a binary
544   node; null otherwise</dd>
545<dt><span class="throwsLabel">Throws:</span></dt>
546<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>
547</dl>
548</li>
549</ul>
550<a name="asText--">
551<!--   -->
552</a>
553<ul class="blockList">
554<li class="blockList">
555<h4>asText</h4>
556<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>
557<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>
558<div class="block">Method that will return a valid String representation of
559 the container value, if the node is a value node
560 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode--"><code>JsonNode.isValueNode()</code></a> returns true),
561 otherwise empty String.</div>
562<dl>
563<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
564<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>
565</dl>
566</li>
567</ul>
568<a name="asText-java.lang.String-">
569<!--   -->
570</a>
571<ul class="blockList">
572<li class="blockList">
573<h4>asText</h4>
574<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>
575<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>
576<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
577 <code>defaultValue</code> in cases where null value would be returned;
578 either for missing nodes (trying to access missing property, or element
579 at invalid item for array) or explicit nulls.</div>
580<dl>
581<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
582<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>
583</dl>
584</li>
585</ul>
586<a name="asBoolean-boolean-">
587<!--   -->
588</a>
589<ul class="blockList">
590<li class="blockList">
591<h4>asBoolean</h4>
592<pre>public&nbsp;boolean&nbsp;asBoolean(boolean&nbsp;defaultValue)</pre>
593<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean-boolean-">JsonNode</a></code></span></div>
594<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.
595 JSON booleans map naturally; integer numbers other than 0 map to true, and
596 0 maps to false
597 and Strings 'true' and 'false' map to corresponding values.
598<p>
599 If representation can not be converted to a boolean value (including structured types
600 like Objects and Arrays),
601 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
602<dl>
603<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
604<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean-boolean-">asBoolean</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>
605</dl>
606</li>
607</ul>
608<a name="asInt-int-">
609<!--   -->
610</a>
611<ul class="blockList">
612<li class="blockList">
613<h4>asInt</h4>
614<pre>public&nbsp;int&nbsp;asInt(int&nbsp;defaultValue)</pre>
615<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt-int-">JsonNode</a></code></span></div>
616<div class="block">Method that will try to convert value of this node to a Java <b>int</b>.
617 Numbers are coerced using default Java rules; booleans convert to 0 (false)
618 and 1 (true), and Strings are parsed using default Java language integer
619 parsing rules.
620<p>
621 If representation can not be converted to an int (including structured types
622 like Objects and Arrays),
623 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
624<dl>
625<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
626<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt-int-">asInt</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>
627</dl>
628</li>
629</ul>
630<a name="asLong-long-">
631<!--   -->
632</a>
633<ul class="blockList">
634<li class="blockList">
635<h4>asLong</h4>
636<pre>public&nbsp;long&nbsp;asLong(long&nbsp;defaultValue)</pre>
637<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong-long-">JsonNode</a></code></span></div>
638<div class="block">Method that will try to convert value of this node to a Java <b>long</b>.
639 Numbers are coerced using default Java rules; booleans convert to 0 (false)
640 and 1 (true), and Strings are parsed using default Java language integer
641 parsing rules.
642<p>
643 If representation can not be converted to an long (including structured types
644 like Objects and Arrays),
645 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
646<dl>
647<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
648<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong-long-">asLong</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>
649</dl>
650</li>
651</ul>
652<a name="asDouble-double-">
653<!--   -->
654</a>
655<ul class="blockList">
656<li class="blockList">
657<h4>asDouble</h4>
658<pre>public&nbsp;double&nbsp;asDouble(double&nbsp;defaultValue)</pre>
659<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble-double-">JsonNode</a></code></span></div>
660<div class="block">Method that will try to convert value of this node to a Java <b>double</b>.
661 Numbers are coerced using default Java rules; booleans convert to 0.0 (false)
662 and 1.0 (true), and Strings are parsed using default Java language integer
663 parsing rules.
664<p>
665 If representation can not be converted to an int (including structured types
666 like Objects and Arrays),
667 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
668<dl>
669<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
670<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble-double-">asDouble</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>
671</dl>
672</li>
673</ul>
674<a name="serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">
675<!--   -->
676</a>
677<ul class="blockList">
678<li class="blockList">
679<h4>serialize</h4>
680<pre>public final&nbsp;void&nbsp;serialize(com.fasterxml.jackson.core.JsonGenerator&nbsp;jg,
681                            <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)
682                     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></pre>
683<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>
684<div class="block">Method called to serialize node instances using given generator.</div>
685<dl>
686<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
687<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>
688<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
689<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>
690<dt><span class="throwsLabel">Throws:</span></dt>
691<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>
692</dl>
693</li>
694</ul>
695<a name="equals-java.lang.Object-">
696<!--   -->
697</a>
698<ul class="blockList">
699<li class="blockList">
700<h4>equals</h4>
701<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>
702<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>
703<div class="block">Equality for node objects is defined as full (deep) value
704 equality. This means that it is possible to compare complete
705 JSON trees for equality by comparing equality of root nodes.
706<p>
707 Note: marked as abstract to ensure all implementation
708 classes define it properly and not rely on definition
709 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>
710<dl>
711<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
712<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>
713</dl>
714</li>
715</ul>
716<a name="hashCode--">
717<!--   -->
718</a>
719<ul class="blockList">
720<li class="blockList">
721<h4>hashCode</h4>
722<pre>public&nbsp;int&nbsp;hashCode()</pre>
723<dl>
724<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
725<dd><code><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></code>&nbsp;in class&nbsp;<code><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></code></dd>
726</dl>
727</li>
728</ul>
729<a name="toString--">
730<!--   -->
731</a>
732<ul class="blockList">
733<li class="blockList">
734<h4>toString</h4>
735<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>
736<div class="block">Different from other values, Strings need quoting</div>
737<dl>
738<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
739<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>
740</dl>
741</li>
742</ul>
743<a name="appendQuoted-java.lang.StringBuilder-java.lang.String-">
744<!--   -->
745</a>
746<ul class="blockList">
747<li class="blockList">
748<h4>appendQuoted</h4>
749<pre>protected static&nbsp;void&nbsp;appendQuoted(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb,
750                                   <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;content)</pre>
751</li>
752</ul>
753<a name="Z:Z_reportInvalidBase64-com.fasterxml.jackson.core.Base64Variant-char-int-">
754<!--   -->
755</a>
756<ul class="blockList">
757<li class="blockList">
758<h4>_reportInvalidBase64</h4>
759<pre>protected&nbsp;void&nbsp;_reportInvalidBase64(com.fasterxml.jackson.core.Base64Variant&nbsp;b64variant,
760                                    char&nbsp;ch,
761                                    int&nbsp;bindex)
762                             throws com.fasterxml.jackson.core.JsonParseException</pre>
763<dl>
764<dt><span class="throwsLabel">Throws:</span></dt>
765<dd><code>com.fasterxml.jackson.core.JsonParseException</code></dd>
766</dl>
767</li>
768</ul>
769<a name="Z:Z_reportInvalidBase64-com.fasterxml.jackson.core.Base64Variant-char-int-java.lang.String-">
770<!--   -->
771</a>
772<ul class="blockList">
773<li class="blockList">
774<h4>_reportInvalidBase64</h4>
775<pre>protected&nbsp;void&nbsp;_reportInvalidBase64(com.fasterxml.jackson.core.Base64Variant&nbsp;b64variant,
776                                    char&nbsp;ch,
777                                    int&nbsp;bindex,
778                                    <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;msg)
779                             throws com.fasterxml.jackson.core.JsonParseException</pre>
780<dl>
781<dt><span class="paramLabel">Parameters:</span></dt>
782<dd><code>bindex</code> - Relative index within base64 character unit; between 0
783   and 3 (as unit has exactly 4 characters)</dd>
784<dt><span class="throwsLabel">Throws:</span></dt>
785<dd><code>com.fasterxml.jackson.core.JsonParseException</code></dd>
786</dl>
787</li>
788</ul>
789<a name="Z:Z_reportBase64EOF--">
790<!--   -->
791</a>
792<ul class="blockListLast">
793<li class="blockList">
794<h4>_reportBase64EOF</h4>
795<pre>protected&nbsp;void&nbsp;_reportBase64EOF()
796                         throws com.fasterxml.jackson.core.JsonParseException</pre>
797<dl>
798<dt><span class="throwsLabel">Throws:</span></dt>
799<dd><code>com.fasterxml.jackson.core.JsonParseException</code></dd>
800</dl>
801</li>
802</ul>
803</li>
804</ul>
805</li>
806</ul>
807</div>
808</div>
809<!-- ========= END OF CLASS DATA ========= -->
810<!-- ======= START OF BOTTOM NAVBAR ====== -->
811<div class="bottomNav"><a name="navbar.bottom">
812<!--   -->
813</a>
814<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
815<a name="navbar.bottom.firstrow">
816<!--   -->
817</a>
818<ul class="navList" title="Navigation">
819<li><a href="../../../../../overview-summary.html">Overview</a></li>
820<li><a href="package-summary.html">Package</a></li>
821<li class="navBarCell1Rev">Class</li>
822<li><a href="class-use/TextNode.html">Use</a></li>
823<li><a href="package-tree.html">Tree</a></li>
824<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
825<li><a href="../../../../../index-all.html">Index</a></li>
826<li><a href="../../../../../help-doc.html">Help</a></li>
827</ul>
828</div>
829<div class="subNav">
830<ul class="navList">
831<li><a href="../../../../../com/fasterxml/jackson/databind/node/ShortNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
832<li><a href="../../../../../com/fasterxml/jackson/databind/node/TreeTraversingParser.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
833</ul>
834<ul class="navList">
835<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/TextNode.html" target="_top">Frames</a></li>
836<li><a href="TextNode.html" target="_top">No&nbsp;Frames</a></li>
837</ul>
838<ul class="navList" id="allclasses_navbar_bottom">
839<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
840</ul>
841<div>
842<script type="text/javascript"><!--
843  allClassesLink = document.getElementById("allclasses_navbar_bottom");
844  if(window==top) {
845    allClassesLink.style.display = "block";
846  }
847  else {
848    allClassesLink.style.display = "none";
849  }
850  //-->
851</script>
852</div>
853<div>
854<ul class="subNavList">
855<li>Summary:&nbsp;</li>
856<li>Nested&nbsp;|&nbsp;</li>
857<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
858<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
859<li><a href="#method.summary">Method</a></li>
860</ul>
861<ul class="subNavList">
862<li>Detail:&nbsp;</li>
863<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
864<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
865<li><a href="#method.detail">Method</a></li>
866</ul>
867</div>
868<a name="skip.navbar.bottom">
869<!--   -->
870</a></div>
871<!-- ======== END OF BOTTOM NAVBAR ======= -->
872<p class="legalCopy"><small>Copyright &#169; 2014&#x2013;2015 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
873</body>
874</html>
875