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 Jan 23 20:22:16 PST 2018 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>BinaryNode (jackson-databind 2.9.0 API)</title> 8<meta name="date" content="2018-01-23"> 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="BinaryNode (jackson-databind 2.9.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":9,"i9":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/BinaryNode.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/BigIntegerNode.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/BooleanNode.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/BinaryNode.html" target="_top">Frames</a></li> 58<li><a href="BinaryNode.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 BinaryNode" class="title">Class BinaryNode</h2> 98</div> 99<div class="contentContainer"> 100<ul class="inheritance"> 101<li><a href="http://docs.oracle.com/javase/7/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.BinaryNode</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.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a>, <a href="http://docs.oracle.com/javase/7/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">BinaryNode</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 Base64 encoded binary value, which will be 140 output and stored as Json String value.</div> 141</li> 142</ul> 143</div> 144<div class="summary"> 145<ul class="blockList"> 146<li class="blockList"> 147<!-- ======== NESTED CLASS SUMMARY ======== --> 148<ul class="blockList"> 149<li class="blockList"><a name="nested.class.summary"> 150<!-- --> 151</a> 152<h3>Nested Class Summary</h3> 153<ul class="blockList"> 154<li class="blockList"><a name="nested.classes.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable"> 155<!-- --> 156</a> 157<h3>Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></h3> 158<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">JsonSerializable.Base</a></code></li> 159</ul> 160</li> 161</ul> 162<!-- =========== FIELD SUMMARY =========== --> 163<ul class="blockList"> 164<li class="blockList"><a name="field.summary"> 165<!-- --> 166</a> 167<h3>Field Summary</h3> 168<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 169<caption><span>Fields</span><span class="tabEnd"> </span></caption> 170<tr> 171<th class="colFirst" scope="col">Modifier and Type</th> 172<th class="colLast" scope="col">Field and Description</th> 173</tr> 174<tr class="altColor"> 175<td class="colFirst"><code>protected byte[]</code></td> 176<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#Z:Z_data">_data</a></span></code> </td> 177</tr> 178</table> 179</li> 180</ul> 181<!-- ======== CONSTRUCTOR SUMMARY ======== --> 182<ul class="blockList"> 183<li class="blockList"><a name="constructor.summary"> 184<!-- --> 185</a> 186<h3>Constructor Summary</h3> 187<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 188<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 189<tr> 190<th class="colOne" scope="col">Constructor and Description</th> 191</tr> 192<tr class="altColor"> 193<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#BinaryNode-byte:A-">BinaryNode</a></span>(byte[] data)</code> </td> 194</tr> 195<tr class="rowColor"> 196<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#BinaryNode-byte:A-int-int-">BinaryNode</a></span>(byte[] data, 197 int offset, 198 int length)</code> </td> 199</tr> 200</table> 201</li> 202</ul> 203<!-- ========== METHOD SUMMARY =========== --> 204<ul class="blockList"> 205<li class="blockList"><a name="method.summary"> 206<!-- --> 207</a> 208<h3>Method Summary</h3> 209<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 210<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></caption> 211<tr> 212<th class="colFirst" scope="col">Modifier and Type</th> 213<th class="colLast" scope="col">Method and Description</th> 214</tr> 215<tr id="i0" class="altColor"> 216<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 217<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#asText--">asText</a></span>()</code> 218<div class="block">Hmmh.</div> 219</td> 220</tr> 221<tr id="i1" class="rowColor"> 222<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a></code></td> 223<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#asToken--">asToken</a></span>()</code> 224<div class="block">Method that can be used for efficient type detection 225 when using stream abstraction for traversing nodes.</div> 226</td> 227</tr> 228<tr id="i2" class="altColor"> 229<td class="colFirst"><code>byte[]</code></td> 230<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#binaryValue--">binaryValue</a></span>()</code> 231<div class="block"> 232 Note: caller is not to modify returned array in any way, since 233 it is not a copy but reference to the underlying byte array.</div> 234</td> 235</tr> 236<tr id="i3" class="rowColor"> 237<td class="colFirst"><code>boolean</code></td> 238<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> 239<div class="block">Equality for node objects is defined as full (deep) value 240 equality.</div> 241</td> 242</tr> 243<tr id="i4" class="altColor"> 244<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> 245<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#getNodeType--">getNodeType</a></span>()</code> 246<div class="block">Return the type of this node</div> 247</td> 248</tr> 249<tr id="i5" class="rowColor"> 250<td class="colFirst"><code>int</code></td> 251<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#hashCode--">hashCode</a></span>()</code> </td> 252</tr> 253<tr id="i6" class="altColor"> 254<td class="colFirst"><code>void</code></td> 255<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jg, 256 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider)</code> 257<div class="block">Method called to serialize node instances using given generator.</div> 258</td> 259</tr> 260<tr id="i7" class="rowColor"> 261<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 262<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#toString--">toString</a></span>()</code> 263<div class="block">Different from other values, since contents need to be surrounded 264 by (double) quotes.</div> 265</td> 266</tr> 267<tr id="i8" class="altColor"> 268<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node">BinaryNode</a></code></td> 269<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#valueOf-byte:A-">valueOf</a></span>(byte[] data)</code> </td> 270</tr> 271<tr id="i9" class="rowColor"> 272<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node">BinaryNode</a></code></td> 273<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#valueOf-byte:A-int-int-">valueOf</a></span>(byte[] data, 274 int offset, 275 int length)</code> </td> 276</tr> 277</table> 278<ul class="blockList"> 279<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.node.ValueNode"> 280<!-- --> 281</a> 282<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> 283<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> 284</ul> 285<ul class="blockList"> 286<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.node.BaseJsonNode"> 287<!-- --> 288</a> 289<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> 290<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> 291</ul> 292<ul class="blockList"> 293<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonNode"> 294<!-- --> 295</a> 296<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> 297<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean--">asBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean-boolean-">asBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble--">asDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble-double-">asDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt--">asInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt-int-">asInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong--">asLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong-long-">asLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText-java.lang.String-">asText</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#textValue--">textValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#with-java.lang.String-">with</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#withArray-java.lang.String-">withArray</a></code></li> 298</ul> 299<ul class="blockList"> 300<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable.Base"> 301<!-- --> 302</a> 303<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> 304<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html#isEmpty-com.fasterxml.jackson.databind.SerializerProvider-">isEmpty</a></code></li> 305</ul> 306<ul class="blockList"> 307<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 308<!-- --> 309</a> 310<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 311<code><a href="http://docs.oracle.com/javase/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> 312</ul> 313<ul class="blockList"> 314<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable"> 315<!-- --> 316</a> 317<h3>Methods inherited from interface java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a></h3> 318<code><a href="http://docs.oracle.com/javase/7/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/7/docs/api/java/lang/Iterable.html?is-external=true#spliterator--" title="class or interface in java.lang">spliterator</a></code></li> 319</ul> 320</li> 321</ul> 322</li> 323</ul> 324</div> 325<div class="details"> 326<ul class="blockList"> 327<li class="blockList"> 328<!-- ============ FIELD DETAIL =========== --> 329<ul class="blockList"> 330<li class="blockList"><a name="field.detail"> 331<!-- --> 332</a> 333<h3>Field Detail</h3> 334<a name="Z:Z_data"> 335<!-- --> 336</a> 337<ul class="blockListLast"> 338<li class="blockList"> 339<h4>_data</h4> 340<pre>protected final byte[] _data</pre> 341</li> 342</ul> 343</li> 344</ul> 345<!-- ========= CONSTRUCTOR DETAIL ======== --> 346<ul class="blockList"> 347<li class="blockList"><a name="constructor.detail"> 348<!-- --> 349</a> 350<h3>Constructor Detail</h3> 351<a name="BinaryNode-byte:A-"> 352<!-- --> 353</a> 354<ul class="blockList"> 355<li class="blockList"> 356<h4>BinaryNode</h4> 357<pre>public BinaryNode(byte[] data)</pre> 358</li> 359</ul> 360<a name="BinaryNode-byte:A-int-int-"> 361<!-- --> 362</a> 363<ul class="blockListLast"> 364<li class="blockList"> 365<h4>BinaryNode</h4> 366<pre>public BinaryNode(byte[] data, 367 int offset, 368 int length)</pre> 369</li> 370</ul> 371</li> 372</ul> 373<!-- ============ METHOD DETAIL ========== --> 374<ul class="blockList"> 375<li class="blockList"><a name="method.detail"> 376<!-- --> 377</a> 378<h3>Method Detail</h3> 379<a name="valueOf-byte:A-"> 380<!-- --> 381</a> 382<ul class="blockList"> 383<li class="blockList"> 384<h4>valueOf</h4> 385<pre>public static <a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node">BinaryNode</a> valueOf(byte[] data)</pre> 386</li> 387</ul> 388<a name="valueOf-byte:A-int-int-"> 389<!-- --> 390</a> 391<ul class="blockList"> 392<li class="blockList"> 393<h4>valueOf</h4> 394<pre>public static <a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node">BinaryNode</a> valueOf(byte[] data, 395 int offset, 396 int length)</pre> 397</li> 398</ul> 399<a name="getNodeType--"> 400<!-- --> 401</a> 402<ul class="blockList"> 403<li class="blockList"> 404<h4>getNodeType</h4> 405<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node">JsonNodeType</a> getNodeType()</pre> 406<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> 407<div class="block">Return the type of this node</div> 408<dl> 409<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 410<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> 411<dt><span class="returnLabel">Returns:</span></dt> 412<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> 413</dl> 414</li> 415</ul> 416<a name="asToken--"> 417<!-- --> 418</a> 419<ul class="blockList"> 420<li class="blockList"> 421<h4>asToken</h4> 422<pre>public <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a> asToken()</pre> 423<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> 424<div class="block">Method that can be used for efficient type detection 425 when using stream abstraction for traversing nodes. 426 Will return the first <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonToken</code></a> that equivalent 427 stream event would produce (for most nodes there is just 428 one token but for structured/container types multiple)</div> 429<dl> 430<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 431<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/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.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> 432<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 433<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> 434</dl> 435</li> 436</ul> 437<a name="binaryValue--"> 438<!-- --> 439</a> 440<ul class="blockList"> 441<li class="blockList"> 442<h4>binaryValue</h4> 443<pre>public byte[] binaryValue()</pre> 444<div class="block"><p> 445 Note: caller is not to modify returned array in any way, since 446 it is not a copy but reference to the underlying byte array.</div> 447<dl> 448<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 449<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> 450<dt><span class="returnLabel">Returns:</span></dt> 451<dd>Binary data this node contains, iff it is a binary 452 node; null otherwise</dd> 453</dl> 454</li> 455</ul> 456<a name="asText--"> 457<!-- --> 458</a> 459<ul class="blockList"> 460<li class="blockList"> 461<h4>asText</h4> 462<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> asText()</pre> 463<div class="block">Hmmh. This is not quite as efficient as using <a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-"><code>serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)</code></a>, 464 but will work correctly.</div> 465<dl> 466<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 467<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> 468</dl> 469</li> 470</ul> 471<a name="serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-"> 472<!-- --> 473</a> 474<ul class="blockList"> 475<li class="blockList"> 476<h4>serialize</h4> 477<pre>public final void serialize(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jg, 478 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider) 479 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, 480 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre> 481<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> 482<div class="block">Method called to serialize node instances using given generator.</div> 483<dl> 484<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 485<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> 486<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 487<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> 488<dt><span class="throwsLabel">Throws:</span></dt> 489<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 490<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd> 491</dl> 492</li> 493</ul> 494<a name="equals-java.lang.Object-"> 495<!-- --> 496</a> 497<ul class="blockList"> 498<li class="blockList"> 499<h4>equals</h4> 500<pre>public boolean equals(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> 501<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> 502<div class="block">Equality for node objects is defined as full (deep) value 503 equality. This means that it is possible to compare complete 504 JSON trees for equality by comparing equality of root nodes. 505<p> 506 Note: marked as abstract to ensure all implementation 507 classes define it properly and not rely on definition 508 from <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div> 509<dl> 510<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 511<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> 512</dl> 513</li> 514</ul> 515<a name="hashCode--"> 516<!-- --> 517</a> 518<ul class="blockList"> 519<li class="blockList"> 520<h4>hashCode</h4> 521<pre>public int hashCode()</pre> 522<dl> 523<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 524<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> 525</dl> 526</li> 527</ul> 528<a name="toString--"> 529<!-- --> 530</a> 531<ul class="blockListLast"> 532<li class="blockList"> 533<h4>toString</h4> 534<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> 535<div class="block">Different from other values, since contents need to be surrounded 536 by (double) quotes.</div> 537<dl> 538<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 539<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#toString--">toString</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> 540</dl> 541</li> 542</ul> 543</li> 544</ul> 545</li> 546</ul> 547</div> 548</div> 549<!-- ========= END OF CLASS DATA ========= --> 550<!-- ======= START OF BOTTOM NAVBAR ====== --> 551<div class="bottomNav"><a name="navbar.bottom"> 552<!-- --> 553</a> 554<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 555<a name="navbar.bottom.firstrow"> 556<!-- --> 557</a> 558<ul class="navList" title="Navigation"> 559<li><a href="../../../../../overview-summary.html">Overview</a></li> 560<li><a href="package-summary.html">Package</a></li> 561<li class="navBarCell1Rev">Class</li> 562<li><a href="class-use/BinaryNode.html">Use</a></li> 563<li><a href="package-tree.html">Tree</a></li> 564<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 565<li><a href="../../../../../index-all.html">Index</a></li> 566<li><a href="../../../../../help-doc.html">Help</a></li> 567</ul> 568</div> 569<div class="subNav"> 570<ul class="navList"> 571<li><a href="../../../../../com/fasterxml/jackson/databind/node/BigIntegerNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Prev Class</span></a></li> 572<li><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Next Class</span></a></li> 573</ul> 574<ul class="navList"> 575<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/BinaryNode.html" target="_top">Frames</a></li> 576<li><a href="BinaryNode.html" target="_top">No Frames</a></li> 577</ul> 578<ul class="navList" id="allclasses_navbar_bottom"> 579<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 580</ul> 581<div> 582<script type="text/javascript"><!-- 583 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 584 if(window==top) { 585 allClassesLink.style.display = "block"; 586 } 587 else { 588 allClassesLink.style.display = "none"; 589 } 590 //--> 591</script> 592</div> 593<div> 594<ul class="subNavList"> 595<li>Summary: </li> 596<li>Nested | </li> 597<li><a href="#field.summary">Field</a> | </li> 598<li><a href="#constructor.summary">Constr</a> | </li> 599<li><a href="#method.summary">Method</a></li> 600</ul> 601<ul class="subNavList"> 602<li>Detail: </li> 603<li><a href="#field.detail">Field</a> | </li> 604<li><a href="#constructor.detail">Constr</a> | </li> 605<li><a href="#method.detail">Method</a></li> 606</ul> 607</div> 608<a name="skip.navbar.bottom"> 609<!-- --> 610</a></div> 611<!-- ======== END OF BOTTOM NAVBAR ======= --> 612<p class="legalCopy"><small>Copyright © 2008–2018 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 613</body> 614</html> 615