• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (version 1.7.0_25) on Sat Nov 16 21:43:19 PST 2013 -->
6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
7<title>BinaryNode (jackson-databind 2.3.0 API)</title>
8<meta name="date" content="2013-11-16">
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.3.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:&nbsp;</li>
65<li>Nested&nbsp;|&nbsp;</li>
66<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
67<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
68<li><a href="#method_summary">Method</a></li>
69</ul>
70<ul class="subNavList">
71<li>Detail:&nbsp;</li>
72<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
73<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</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.3.0/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>&lt;<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;</dd>
116</dl>
117<hr>
118<br>
119<pre>public 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<!-- =========== FIELD SUMMARY =========== -->
130<ul class="blockList">
131<li class="blockList"><a name="field_summary">
132<!--   -->
133</a>
134<h3>Field Summary</h3>
135<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
136<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
137<tr>
138<th class="colFirst" scope="col">Modifier and Type</th>
139<th class="colLast" scope="col">Field and Description</th>
140</tr>
141<tr class="altColor">
142<td class="colFirst"><code>protected byte[]</code></td>
143<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#_data">_data</a></strong></code>&nbsp;</td>
144</tr>
145</table>
146</li>
147</ul>
148<!-- ======== CONSTRUCTOR SUMMARY ======== -->
149<ul class="blockList">
150<li class="blockList"><a name="constructor_summary">
151<!--   -->
152</a>
153<h3>Constructor Summary</h3>
154<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
155<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
156<tr>
157<th class="colOne" scope="col">Constructor and Description</th>
158</tr>
159<tr class="altColor">
160<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#BinaryNode(byte[])">BinaryNode</a></strong>(byte[]&nbsp;data)</code>&nbsp;</td>
161</tr>
162<tr class="rowColor">
163<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#BinaryNode(byte[], int, int)">BinaryNode</a></strong>(byte[]&nbsp;data,
164          int&nbsp;offset,
165          int&nbsp;length)</code>&nbsp;</td>
166</tr>
167</table>
168</li>
169</ul>
170<!-- ========== METHOD SUMMARY =========== -->
171<ul class="blockList">
172<li class="blockList"><a name="method_summary">
173<!--   -->
174</a>
175<h3>Method Summary</h3>
176<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
177<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
178<tr>
179<th class="colFirst" scope="col">Modifier and Type</th>
180<th class="colLast" scope="col">Method and Description</th>
181</tr>
182<tr class="altColor">
183<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>
184<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#asText()">asText</a></strong>()</code>
185<div class="block">Hmmh.</div>
186</td>
187</tr>
188<tr class="rowColor">
189<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a></code></td>
190<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#asToken()">asToken</a></strong>()</code>
191<div class="block">Method that can be used for efficient type detection
192 when using stream abstraction for traversing nodes.</div>
193</td>
194</tr>
195<tr class="altColor">
196<td class="colFirst"><code>byte[]</code></td>
197<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#binaryValue()">binaryValue</a></strong>()</code>
198<div class="block">
199 Note: caller is not to modify returned array in any way, since
200 it is not a copy but reference to the underlying byte array.</div>
201</td>
202</tr>
203<tr class="rowColor">
204<td class="colFirst"><code>boolean</code></td>
205<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>&nbsp;o)</code>
206<div class="block">Equality for node objects is defined as full (deep) value
207 equality.</div>
208</td>
209</tr>
210<tr class="altColor">
211<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>
212<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#getNodeType()">getNodeType</a></strong>()</code>
213<div class="block">Return the type of this node</div>
214</td>
215</tr>
216<tr class="rowColor">
217<td class="colFirst"><code>int</code></td>
218<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#hashCode()">hashCode</a></strong>()</code>&nbsp;</td>
219</tr>
220<tr class="altColor">
221<td class="colFirst"><code>void</code></td>
222<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.3.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jg,
223         <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)</code>
224<div class="block">Method called to serialize node instances using given generator.</div>
225</td>
226</tr>
227<tr class="rowColor">
228<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>
229<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#toString()">toString</a></strong>()</code>
230<div class="block">Different from other values, since contents need to be surrounded
231 by (double) quotes.</div>
232</td>
233</tr>
234<tr class="altColor">
235<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>
236<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#valueOf(byte[])">valueOf</a></strong>(byte[]&nbsp;data)</code>&nbsp;</td>
237</tr>
238<tr class="rowColor">
239<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>
240<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#valueOf(byte[], int, int)">valueOf</a></strong>(byte[]&nbsp;data,
241       int&nbsp;offset,
242       int&nbsp;length)</code>&nbsp;</td>
243</tr>
244</table>
245<ul class="blockList">
246<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.ValueNode">
247<!--   -->
248</a>
249<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.node.<a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></h3>
250<code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#_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>
251</ul>
252<ul class="blockList">
253<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.BaseJsonNode">
254<!--   -->
255</a>
256<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.node.<a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></h3>
257<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>
258</ul>
259<ul class="blockList">
260<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode">
261<!--   -->
262</a>
263<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></h3>
264<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean()">asBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean(boolean)">asBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble()">asDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble(double)">asDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt()">asInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt(int)">asInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong()">asLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong(long)">asLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#at(com.fasterxml.jackson.core.JsonPointer)">at</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#at(java.lang.String)">at</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#bigIntegerValue()">bigIntegerValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#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>
265</ul>
266<ul class="blockList">
267<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
268<!--   -->
269</a>
270<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
271<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>
272</ul>
273</li>
274</ul>
275</li>
276</ul>
277</div>
278<div class="details">
279<ul class="blockList">
280<li class="blockList">
281<!-- ============ FIELD DETAIL =========== -->
282<ul class="blockList">
283<li class="blockList"><a name="field_detail">
284<!--   -->
285</a>
286<h3>Field Detail</h3>
287<a name="_data">
288<!--   -->
289</a>
290<ul class="blockListLast">
291<li class="blockList">
292<h4>_data</h4>
293<pre>protected final&nbsp;byte[] _data</pre>
294</li>
295</ul>
296</li>
297</ul>
298<!-- ========= CONSTRUCTOR DETAIL ======== -->
299<ul class="blockList">
300<li class="blockList"><a name="constructor_detail">
301<!--   -->
302</a>
303<h3>Constructor Detail</h3>
304<a name="BinaryNode(byte[])">
305<!--   -->
306</a>
307<ul class="blockList">
308<li class="blockList">
309<h4>BinaryNode</h4>
310<pre>public&nbsp;BinaryNode(byte[]&nbsp;data)</pre>
311</li>
312</ul>
313<a name="BinaryNode(byte[], int, int)">
314<!--   -->
315</a>
316<ul class="blockListLast">
317<li class="blockList">
318<h4>BinaryNode</h4>
319<pre>public&nbsp;BinaryNode(byte[]&nbsp;data,
320          int&nbsp;offset,
321          int&nbsp;length)</pre>
322</li>
323</ul>
324</li>
325</ul>
326<!-- ============ METHOD DETAIL ========== -->
327<ul class="blockList">
328<li class="blockList"><a name="method_detail">
329<!--   -->
330</a>
331<h3>Method Detail</h3>
332<a name="valueOf(byte[])">
333<!--   -->
334</a>
335<ul class="blockList">
336<li class="blockList">
337<h4>valueOf</h4>
338<pre>public static&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node">BinaryNode</a>&nbsp;valueOf(byte[]&nbsp;data)</pre>
339</li>
340</ul>
341<a name="valueOf(byte[], int, int)">
342<!--   -->
343</a>
344<ul class="blockList">
345<li class="blockList">
346<h4>valueOf</h4>
347<pre>public static&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node">BinaryNode</a>&nbsp;valueOf(byte[]&nbsp;data,
348                 int&nbsp;offset,
349                 int&nbsp;length)</pre>
350</li>
351</ul>
352<a name="getNodeType()">
353<!--   -->
354</a>
355<ul class="blockList">
356<li class="blockList">
357<h4>getNodeType</h4>
358<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node">JsonNodeType</a>&nbsp;getNodeType()</pre>
359<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType()">JsonNode</a></code></strong></div>
360<div class="block">Return the type of this node</div>
361<dl>
362<dt><strong>Specified by:</strong></dt>
363<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType()">getNodeType</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
364<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>
365</li>
366</ul>
367<a name="asToken()">
368<!--   -->
369</a>
370<ul class="blockList">
371<li class="blockList">
372<h4>asToken</h4>
373<pre>public&nbsp;<a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a>&nbsp;asToken()</pre>
374<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">BaseJsonNode</a></code></strong></div>
375<div class="block">Method that can be used for efficient type detection
376 when using stream abstraction for traversing nodes.
377 Will return the first <a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonToken</code></a> that equivalent
378 stream event would produce (for most nodes there is just
379 one token but for structured/container types multiple)</div>
380<dl>
381<dt><strong>Specified by:</strong></dt>
382<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true#asToken()" title="class or interface in com.fasterxml.jackson.core">asToken</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
383<dt><strong>Specified by:</strong></dt>
384<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#asToken()">asToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></code></dd>
385</dl>
386</li>
387</ul>
388<a name="binaryValue()">
389<!--   -->
390</a>
391<ul class="blockList">
392<li class="blockList">
393<h4>binaryValue</h4>
394<pre>public&nbsp;byte[]&nbsp;binaryValue()</pre>
395<div class="block"><p>
396 Note: caller is not to modify returned array in any way, since
397 it is not a copy but reference to the underlying byte array.</div>
398<dl>
399<dt><strong>Overrides:</strong></dt>
400<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#binaryValue()">binaryValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
401<dt><span class="strong">Returns:</span></dt><dd>Binary data this node contains, iff it is a binary
402   node; null otherwise</dd></dl>
403</li>
404</ul>
405<a name="asText()">
406<!--   -->
407</a>
408<ul class="blockList">
409<li class="blockList">
410<h4>asText</h4>
411<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;asText()</pre>
412<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>,
413 but will work correctly.</div>
414<dl>
415<dt><strong>Specified by:</strong></dt>
416<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText()">asText</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
417</dl>
418</li>
419</ul>
420<a name="serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">
421<!--   -->
422</a>
423<ul class="blockList">
424<li class="blockList">
425<h4>serialize</h4>
426<pre>public final&nbsp;void&nbsp;serialize(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jg,
427             <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)
428                     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>,
429                            <a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre>
430<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">BaseJsonNode</a></code></strong></div>
431<div class="block">Method called to serialize node instances using given generator.</div>
432<dl>
433<dt><strong>Specified by:</strong></dt>
434<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></code></dd>
435<dt><strong>Specified by:</strong></dt>
436<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></code></dd>
437<dt><span class="strong">Throws:</span></dt>
438<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>
439<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd></dl>
440</li>
441</ul>
442<a name="equals(java.lang.Object)">
443<!--   -->
444</a>
445<ul class="blockList">
446<li class="blockList">
447<h4>equals</h4>
448<pre>public&nbsp;boolean&nbsp;equals(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
449<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">JsonNode</a></code></strong></div>
450<div class="block">Equality for node objects is defined as full (deep) value
451 equality. This means that it is possible to compare complete
452 JSON trees for equality by comparing equality of root nodes.
453<p>
454 Note: marked as abstract to ensure all implementation
455 classes define it properly and not rely on definition
456 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>
457<dl>
458<dt><strong>Specified by:</strong></dt>
459<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">equals</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
460</dl>
461</li>
462</ul>
463<a name="hashCode()">
464<!--   -->
465</a>
466<ul class="blockList">
467<li class="blockList">
468<h4>hashCode</h4>
469<pre>public&nbsp;int&nbsp;hashCode()</pre>
470<dl>
471<dt><strong>Overrides:</strong></dt>
472<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
473</dl>
474</li>
475</ul>
476<a name="toString()">
477<!--   -->
478</a>
479<ul class="blockListLast">
480<li class="blockList">
481<h4>toString</h4>
482<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
483<div class="block">Different from other values, since contents need to be surrounded
484 by (double) quotes.</div>
485<dl>
486<dt><strong>Overrides:</strong></dt>
487<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#toString()">toString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></code></dd>
488</dl>
489</li>
490</ul>
491</li>
492</ul>
493</li>
494</ul>
495</div>
496</div>
497<!-- ========= END OF CLASS DATA ========= -->
498<!-- ======= START OF BOTTOM NAVBAR ====== -->
499<div class="bottomNav"><a name="navbar_bottom">
500<!--   -->
501</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
502<!--   -->
503</a>
504<ul class="navList" title="Navigation">
505<li><a href="../../../../../overview-summary.html">Overview</a></li>
506<li><a href="package-summary.html">Package</a></li>
507<li class="navBarCell1Rev">Class</li>
508<li><a href="class-use/BinaryNode.html">Use</a></li>
509<li><a href="package-tree.html">Tree</a></li>
510<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
511<li><a href="../../../../../index-all.html">Index</a></li>
512<li><a href="../../../../../help-doc.html">Help</a></li>
513</ul>
514</div>
515<div class="subNav">
516<ul class="navList">
517<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>
518<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>
519</ul>
520<ul class="navList">
521<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/BinaryNode.html" target="_top">Frames</a></li>
522<li><a href="BinaryNode.html" target="_top">No Frames</a></li>
523</ul>
524<ul class="navList" id="allclasses_navbar_bottom">
525<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
526</ul>
527<div>
528<script type="text/javascript"><!--
529  allClassesLink = document.getElementById("allclasses_navbar_bottom");
530  if(window==top) {
531    allClassesLink.style.display = "block";
532  }
533  else {
534    allClassesLink.style.display = "none";
535  }
536  //-->
537</script>
538</div>
539<div>
540<ul class="subNavList">
541<li>Summary:&nbsp;</li>
542<li>Nested&nbsp;|&nbsp;</li>
543<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
544<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
545<li><a href="#method_summary">Method</a></li>
546</ul>
547<ul class="subNavList">
548<li>Detail:&nbsp;</li>
549<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
550<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
551<li><a href="#method_detail">Method</a></li>
552</ul>
553</div>
554<a name="skip-navbar_bottom">
555<!--   -->
556</a></div>
557<!-- ======== END OF BOTTOM NAVBAR ======= -->
558<p class="legalCopy"><small>Copyright &#169; 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p>
559</body>
560</html>
561