1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_10-ea) on Mon Apr 22 19:50:40 PDT 2013 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>BinaryNode (jackson-databind 2.2.0 API)</title> 8<meta name="date" content="2013-04-22"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10</head> 11<body> 12<script type="text/javascript"><!-- 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="BinaryNode (jackson-databind 2.2.0 API)"; 15 } 16//--> 17</script> 18<noscript> 19<div>JavaScript is disabled on your browser.</div> 20</noscript> 21<!-- ========= START OF TOP NAVBAR ======= --> 22<div class="topNav"><a name="navbar_top"> 23<!-- --> 24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 25<!-- --> 26</a> 27<ul class="navList" title="Navigation"> 28<li><a href="../../../../../overview-summary.html">Overview</a></li> 29<li><a href="package-summary.html">Package</a></li> 30<li class="navBarCell1Rev">Class</li> 31<li><a href="class-use/BinaryNode.html">Use</a></li> 32<li><a href="package-tree.html">Tree</a></li> 33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 34<li><a href="../../../../../index-all.html">Index</a></li> 35<li><a href="../../../../../help-doc.html">Help</a></li> 36</ul> 37</div> 38<div class="subNav"> 39<ul class="navList"> 40<li><a href="../../../../../com/fasterxml/jackson/databind/node/BigIntegerNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/BinaryNode.html" target="_top">Frames</a></li> 45<li><a href="BinaryNode.html" target="_top">No Frames</a></li> 46</ul> 47<ul class="navList" id="allclasses_navbar_top"> 48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 49</ul> 50<div> 51<script type="text/javascript"><!-- 52 allClassesLink = document.getElementById("allclasses_navbar_top"); 53 if(window==top) { 54 allClassesLink.style.display = "block"; 55 } 56 else { 57 allClassesLink.style.display = "none"; 58 } 59 //--> 60</script> 61</div> 62<div> 63<ul class="subNavList"> 64<li>Summary: </li> 65<li>Nested | </li> 66<li>Field | </li> 67<li><a href="#constructor_summary">Constr</a> | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li>Field | </li> 73<li><a href="#constructor_detail">Constr</a> | </li> 74<li><a href="#method_detail">Method</a></li> 75</ul> 76</div> 77<a name="skip-navbar_top"> 78<!-- --> 79</a></div> 80<!-- ========= END OF TOP NAVBAR ========= --> 81<!-- ======== START OF CLASS DATA ======== --> 82<div class="header"> 83<div class="subTitle">com.fasterxml.jackson.databind.node</div> 84<h2 title="Class BinaryNode" class="title">Class BinaryNode</h2> 85</div> 86<div class="contentContainer"> 87<ul class="inheritance"> 88<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 89<li> 90<ul class="inheritance"> 91<li><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonNode</a></li> 92<li> 93<ul class="inheritance"> 94<li><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.BaseJsonNode</a></li> 95<li> 96<ul class="inheritance"> 97<li><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.ValueNode</a></li> 98<li> 99<ul class="inheritance"> 100<li>com.fasterxml.jackson.databind.node.BinaryNode</li> 101</ul> 102</li> 103</ul> 104</li> 105</ul> 106</li> 107</ul> 108</li> 109</ul> 110<div class="description"> 111<ul class="blockList"> 112<li class="blockList"> 113<dl> 114<dt>All Implemented Interfaces:</dt> 115<dd><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>></dd> 116</dl> 117<hr> 118<br> 119<pre>public final class <span class="strong">BinaryNode</span> 120extends <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></pre> 121<div class="block">Value node that contains Base64 encoded binary value, which will be 122 output and stored as Json String value.</div> 123</li> 124</ul> 125</div> 126<div class="summary"> 127<ul class="blockList"> 128<li class="blockList"> 129<!-- ======== CONSTRUCTOR SUMMARY ======== --> 130<ul class="blockList"> 131<li class="blockList"><a name="constructor_summary"> 132<!-- --> 133</a> 134<h3>Constructor Summary</h3> 135<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 136<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 137<tr> 138<th class="colOne" scope="col">Constructor and Description</th> 139</tr> 140<tr class="altColor"> 141<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#BinaryNode(byte[])">BinaryNode</a></strong>(byte[] data)</code> </td> 142</tr> 143<tr class="rowColor"> 144<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#BinaryNode(byte[], int, int)">BinaryNode</a></strong>(byte[] data, 145 int offset, 146 int length)</code> </td> 147</tr> 148</table> 149</li> 150</ul> 151<!-- ========== METHOD SUMMARY =========== --> 152<ul class="blockList"> 153<li class="blockList"><a name="method_summary"> 154<!-- --> 155</a> 156<h3>Method Summary</h3> 157<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 158<caption><span>Methods</span><span class="tabEnd"> </span></caption> 159<tr> 160<th class="colFirst" scope="col">Modifier and Type</th> 161<th class="colLast" scope="col">Method and Description</th> 162</tr> 163<tr class="altColor"> 164<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 165<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#asText()">asText</a></strong>()</code> 166<div class="block">Hmmh.</div> 167</td> 168</tr> 169<tr class="rowColor"> 170<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a></code></td> 171<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#asToken()">asToken</a></strong>()</code> 172<div class="block">Method that can be used for efficient type detection 173 when using stream abstraction for traversing nodes.</div> 174</td> 175</tr> 176<tr class="altColor"> 177<td class="colFirst"><code>byte[]</code></td> 178<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#binaryValue()">binaryValue</a></strong>()</code> 179<div class="block"> 180 Note: caller is not to modify returned array in any way, since 181 it is not a copy but reference to the underlying byte array.</div> 182</td> 183</tr> 184<tr class="rowColor"> 185<td class="colFirst"><code>boolean</code></td> 186<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> 187<div class="block">Equality for node objects is defined as full (deep) value 188 equality.</div> 189</td> 190</tr> 191<tr class="altColor"> 192<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> 193<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#getNodeType()">getNodeType</a></strong>()</code> 194<div class="block">Return the type of this node</div> 195</td> 196</tr> 197<tr class="rowColor"> 198<td class="colFirst"><code>int</code></td> 199<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#hashCode()">hashCode</a></strong>()</code> </td> 200</tr> 201<tr class="altColor"> 202<td class="colFirst"><code>void</code></td> 203<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jg, 204 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider)</code> 205<div class="block">Method called to serialize node instances using given generator.</div> 206</td> 207</tr> 208<tr class="rowColor"> 209<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 210<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#toString()">toString</a></strong>()</code> 211<div class="block">Different from other values, since contents need to be surrounded 212 by (double) quotes.</div> 213</td> 214</tr> 215<tr class="altColor"> 216<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> 217<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#valueOf(byte[])">valueOf</a></strong>(byte[] data)</code> </td> 218</tr> 219<tr class="rowColor"> 220<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> 221<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#valueOf(byte[], int, int)">valueOf</a></strong>(byte[] data, 222 int offset, 223 int length)</code> </td> 224</tr> 225</table> 226<ul class="blockList"> 227<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.ValueNode"> 228<!-- --> 229</a> 230<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> 231<code><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> 232</ul> 233<ul class="blockList"> 234<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.BaseJsonNode"> 235<!-- --> 236</a> 237<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> 238<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> 239</ul> 240<ul class="blockList"> 241<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"> 242<!-- --> 243</a> 244<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> 245<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#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#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> 246</ul> 247<ul class="blockList"> 248<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 249<!-- --> 250</a> 251<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 252<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> 253</ul> 254</li> 255</ul> 256</li> 257</ul> 258</div> 259<div class="details"> 260<ul class="blockList"> 261<li class="blockList"> 262<!-- ========= CONSTRUCTOR DETAIL ======== --> 263<ul class="blockList"> 264<li class="blockList"><a name="constructor_detail"> 265<!-- --> 266</a> 267<h3>Constructor Detail</h3> 268<a name="BinaryNode(byte[])"> 269<!-- --> 270</a> 271<ul class="blockList"> 272<li class="blockList"> 273<h4>BinaryNode</h4> 274<pre>public BinaryNode(byte[] data)</pre> 275</li> 276</ul> 277<a name="BinaryNode(byte[], int, int)"> 278<!-- --> 279</a> 280<ul class="blockListLast"> 281<li class="blockList"> 282<h4>BinaryNode</h4> 283<pre>public BinaryNode(byte[] data, 284 int offset, 285 int length)</pre> 286</li> 287</ul> 288</li> 289</ul> 290<!-- ============ METHOD DETAIL ========== --> 291<ul class="blockList"> 292<li class="blockList"><a name="method_detail"> 293<!-- --> 294</a> 295<h3>Method Detail</h3> 296<a name="valueOf(byte[])"> 297<!-- --> 298</a> 299<ul class="blockList"> 300<li class="blockList"> 301<h4>valueOf</h4> 302<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> 303</li> 304</ul> 305<a name="valueOf(byte[], int, int)"> 306<!-- --> 307</a> 308<ul class="blockList"> 309<li class="blockList"> 310<h4>valueOf</h4> 311<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, 312 int offset, 313 int length)</pre> 314</li> 315</ul> 316<a name="getNodeType()"> 317<!-- --> 318</a> 319<ul class="blockList"> 320<li class="blockList"> 321<h4>getNodeType</h4> 322<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node">JsonNodeType</a> getNodeType()</pre> 323<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType()">JsonNode</a></code></strong></div> 324<div class="block">Return the type of this node</div> 325<dl> 326<dt><strong>Specified by:</strong></dt> 327<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> 328<dt><span class="strong">Returns:</span></dt><dd>the node type as a <a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node"><code>JsonNodeType</code></a> enum value</dd></dl> 329</li> 330</ul> 331<a name="asToken()"> 332<!-- --> 333</a> 334<ul class="blockList"> 335<li class="blockList"> 336<h4>asToken</h4> 337<pre>public <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a> asToken()</pre> 338<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">BaseJsonNode</a></code></strong></div> 339<div class="block">Method that can be used for efficient type detection 340 when using stream abstraction for traversing nodes. 341 Will return the first <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonToken</code></a> that equivalent 342 stream event would produce (for most nodes there is just 343 one token but for structured/container types multiple)</div> 344<dl> 345<dt><strong>Specified by:</strong></dt> 346<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/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.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> 347<dt><strong>Specified by:</strong></dt> 348<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> 349</dl> 350</li> 351</ul> 352<a name="binaryValue()"> 353<!-- --> 354</a> 355<ul class="blockList"> 356<li class="blockList"> 357<h4>binaryValue</h4> 358<pre>public byte[] binaryValue()</pre> 359<div class="block"><p> 360 Note: caller is not to modify returned array in any way, since 361 it is not a copy but reference to the underlying byte array.</div> 362<dl> 363<dt><strong>Overrides:</strong></dt> 364<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> 365<dt><span class="strong">Returns:</span></dt><dd>Binary data this node contains, iff it is a binary 366 node; null otherwise</dd></dl> 367</li> 368</ul> 369<a name="asText()"> 370<!-- --> 371</a> 372<ul class="blockList"> 373<li class="blockList"> 374<h4>asText</h4> 375<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> asText()</pre> 376<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>, 377 but will work correctly.</div> 378<dl> 379<dt><strong>Specified by:</strong></dt> 380<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> 381</dl> 382</li> 383</ul> 384<a name="serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)"> 385<!-- --> 386</a> 387<ul class="blockList"> 388<li class="blockList"> 389<h4>serialize</h4> 390<pre>public final void serialize(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jg, 391 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider) 392 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, 393 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre> 394<div class="block"><strong>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></strong></div> 395<div class="block">Method called to serialize node instances using given generator.</div> 396<dl> 397<dt><strong>Specified by:</strong></dt> 398<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> 399<dt><strong>Specified by:</strong></dt> 400<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> 401<dt><span class="strong">Throws:</span></dt> 402<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 403<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd></dl> 404</li> 405</ul> 406<a name="equals(java.lang.Object)"> 407<!-- --> 408</a> 409<ul class="blockList"> 410<li class="blockList"> 411<h4>equals</h4> 412<pre>public boolean equals(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> 413<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">JsonNode</a></code></strong></div> 414<div class="block">Equality for node objects is defined as full (deep) value 415 equality. This means that it is possible to compare complete 416 JSON trees for equality by comparing equality of root nodes. 417<p> 418 Note: marked as abstract to ensure all implementation 419 classes define it properly and not rely on definition 420 from <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div> 421<dl> 422<dt><strong>Specified by:</strong></dt> 423<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> 424</dl> 425</li> 426</ul> 427<a name="hashCode()"> 428<!-- --> 429</a> 430<ul class="blockList"> 431<li class="blockList"> 432<h4>hashCode</h4> 433<pre>public int hashCode()</pre> 434<dl> 435<dt><strong>Overrides:</strong></dt> 436<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> 437</dl> 438</li> 439</ul> 440<a name="toString()"> 441<!-- --> 442</a> 443<ul class="blockListLast"> 444<li class="blockList"> 445<h4>toString</h4> 446<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> 447<div class="block">Different from other values, since contents need to be surrounded 448 by (double) quotes.</div> 449<dl> 450<dt><strong>Overrides:</strong></dt> 451<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> 452</dl> 453</li> 454</ul> 455</li> 456</ul> 457</li> 458</ul> 459</div> 460</div> 461<!-- ========= END OF CLASS DATA ========= --> 462<!-- ======= START OF BOTTOM NAVBAR ====== --> 463<div class="bottomNav"><a name="navbar_bottom"> 464<!-- --> 465</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 466<!-- --> 467</a> 468<ul class="navList" title="Navigation"> 469<li><a href="../../../../../overview-summary.html">Overview</a></li> 470<li><a href="package-summary.html">Package</a></li> 471<li class="navBarCell1Rev">Class</li> 472<li><a href="class-use/BinaryNode.html">Use</a></li> 473<li><a href="package-tree.html">Tree</a></li> 474<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 475<li><a href="../../../../../index-all.html">Index</a></li> 476<li><a href="../../../../../help-doc.html">Help</a></li> 477</ul> 478</div> 479<div class="subNav"> 480<ul class="navList"> 481<li><a href="../../../../../com/fasterxml/jackson/databind/node/BigIntegerNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Prev Class</span></a></li> 482<li><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Next Class</span></a></li> 483</ul> 484<ul class="navList"> 485<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/BinaryNode.html" target="_top">Frames</a></li> 486<li><a href="BinaryNode.html" target="_top">No Frames</a></li> 487</ul> 488<ul class="navList" id="allclasses_navbar_bottom"> 489<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 490</ul> 491<div> 492<script type="text/javascript"><!-- 493 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 494 if(window==top) { 495 allClassesLink.style.display = "block"; 496 } 497 else { 498 allClassesLink.style.display = "none"; 499 } 500 //--> 501</script> 502</div> 503<div> 504<ul class="subNavList"> 505<li>Summary: </li> 506<li>Nested | </li> 507<li>Field | </li> 508<li><a href="#constructor_summary">Constr</a> | </li> 509<li><a href="#method_summary">Method</a></li> 510</ul> 511<ul class="subNavList"> 512<li>Detail: </li> 513<li>Field | </li> 514<li><a href="#constructor_detail">Constr</a> | </li> 515<li><a href="#method_detail">Method</a></li> 516</ul> 517</div> 518<a name="skip-navbar_bottom"> 519<!-- --> 520</a></div> 521<!-- ======== END OF BOTTOM NAVBAR ======= --> 522<p class="legalCopy"><small>Copyright © 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 523</body> 524</html> 525