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