1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!--NewPage--> 3<HTML> 4<HEAD> 5<!-- Generated by javadoc (build 1.6.0_29) on Mon Mar 26 19:07:16 PDT 2012 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8BinaryNode (jackson-databind 2.0.0 API) 9</TITLE> 10 11<META NAME="date" CONTENT="2012-03-26"> 12 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> 14 15<SCRIPT type="text/javascript"> 16function windowTitle() 17{ 18 if (location.href.indexOf('is-external=true') == -1) { 19 parent.document.title="BinaryNode (jackson-databind 2.0.0 API)"; 20 } 21} 22</SCRIPT> 23<NOSCRIPT> 24</NOSCRIPT> 25 26</HEAD> 27 28<BODY BGCOLOR="white" onload="windowTitle();"> 29<HR> 30 31 32<!-- ========= START OF TOP NAVBAR ======= --> 33<A NAME="navbar_top"><!-- --></A> 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 36<TR> 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 38<A NAME="navbar_top_firstrow"><!-- --></A> 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 40 <TR ALIGN="center" VALIGN="top"> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BinaryNode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 49 </TR> 50</TABLE> 51</TD> 52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 53</EM> 54</TD> 55</TR> 56 57<TR> 58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 59 <A HREF="../../../../../com/fasterxml/jackson/databind/node/BigIntegerNode.html" title="class in com.fasterxml.jackson.databind.node"><B>PREV CLASS</B></A> 60 <A HREF="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node"><B>NEXT CLASS</B></A></FONT></TD> 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 62 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/node/BinaryNode.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="BinaryNode.html" target="_top"><B>NO FRAMES</B></A> 64 <SCRIPT type="text/javascript"> 65 <!-- 66 if(window==top) { 67 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 68 } 69 //--> 70</SCRIPT> 71<NOSCRIPT> 72 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 73</NOSCRIPT> 74 75 76</FONT></TD> 77</TR> 78<TR> 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 80 SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_com.fasterxml.jackson.databind.JsonNode">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 82DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 83</TR> 84</TABLE> 85<A NAME="skip-navbar_top"></A> 86<!-- ========= END OF TOP NAVBAR ========= --> 87 88<HR> 89<!-- ======== START OF CLASS DATA ======== --> 90<H2> 91<FONT SIZE="-1"> 92com.fasterxml.jackson.databind.node</FONT> 93<BR> 94Class BinaryNode</H2> 95<PRE> 96<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> 97 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonNode</A> 98 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.BaseJsonNode</A> 99 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.ValueNode</A> 100 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.databind.node.BinaryNode</B> 101</PRE> 102<DL> 103<DT><B>All Implemented Interfaces:</B> <DD>com.fasterxml.jackson.core.TreeNode, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>></DD> 104</DL> 105<HR> 106<DL> 107<DT><PRE>public final class <B>BinaryNode</B><DT>extends <A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</A></DL> 108</PRE> 109 110<P> 111Value node that contains Base64 encoded binary value, which will be 112 output and stored as Json String value. 113<P> 114 115<P> 116<HR> 117 118<P> 119<!-- =========== FIELD SUMMARY =========== --> 120 121<A NAME="field_summary"><!-- --></A> 122<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 123<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 124<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 125<B>Field Summary</B></FONT></TH> 126</TR> 127</TABLE> 128 <A NAME="fields_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"><!-- --></A> 129<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 130<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 131<TH ALIGN="left"><B>Fields inherited from class com.fasterxml.jackson.databind.<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></B></TH> 132</TR> 133<TR BGCOLOR="white" CLASS="TableRowColor"> 134<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#NO_NODES">NO_NODES</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#NO_STRINGS">NO_STRINGS</A></CODE></TD> 135</TR> 136</TABLE> 137 138<!-- ======== CONSTRUCTOR SUMMARY ======== --> 139 140<A NAME="constructor_summary"><!-- --></A> 141<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 142<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 143<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 144<B>Constructor Summary</B></FONT></TH> 145</TR> 146<TR BGCOLOR="white" CLASS="TableRowColor"> 147<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#BinaryNode(byte[])">BinaryNode</A></B>(byte[] data)</CODE> 148 149<BR> 150 </TD> 151</TR> 152<TR BGCOLOR="white" CLASS="TableRowColor"> 153<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#BinaryNode(byte[], int, int)">BinaryNode</A></B>(byte[] data, 154 int offset, 155 int length)</CODE> 156 157<BR> 158 </TD> 159</TR> 160</TABLE> 161 162<!-- ========== METHOD SUMMARY =========== --> 163 164<A NAME="method_summary"><!-- --></A> 165<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 166<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 167<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 168<B>Method Summary</B></FONT></TH> 169</TR> 170<TR BGCOLOR="white" CLASS="TableRowColor"> 171<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 172<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></FONT></TD> 173<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#asText()">asText</A></B>()</CODE> 174 175<BR> 176 Hmmh.</TD> 177</TR> 178<TR BGCOLOR="white" CLASS="TableRowColor"> 179<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 180<CODE> com.fasterxml.jackson.core.JsonToken</CODE></FONT></TD> 181<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#asToken()">asToken</A></B>()</CODE> 182 183<BR> 184 Method that can be used for efficient type detection 185 when using stream abstraction for traversing nodes.</TD> 186</TR> 187<TR BGCOLOR="white" CLASS="TableRowColor"> 188<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 189<CODE> byte[]</CODE></FONT></TD> 190<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#binaryValue()">binaryValue</A></B>()</CODE> 191 192<BR> 193 194 Note: caller is not to modify returned array in any way, since 195 it is not a copy but reference to the underlying byte array.</TD> 196</TR> 197<TR BGCOLOR="white" CLASS="TableRowColor"> 198<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 199<CODE> boolean</CODE></FONT></TD> 200<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#equals(java.lang.Object)">equals</A></B>(<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> 201 202<BR> 203 Equality for node objects is defined as full (deep) value 204 equality.</TD> 205</TR> 206<TR BGCOLOR="white" CLASS="TableRowColor"> 207<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 208<CODE> int</CODE></FONT></TD> 209<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#hashCode()">hashCode</A></B>()</CODE> 210 211<BR> 212 </TD> 213</TR> 214<TR BGCOLOR="white" CLASS="TableRowColor"> 215<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 216<CODE> boolean</CODE></FONT></TD> 217<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#isBinary()">isBinary</A></B>()</CODE> 218 219<BR> 220 Method that can be used to check if this node represents 221 binary data (Base64 encoded).</TD> 222</TR> 223<TR BGCOLOR="white" CLASS="TableRowColor"> 224<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 225<CODE> void</CODE></FONT></TD> 226<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</A></B>(com.fasterxml.jackson.core.JsonGenerator jg, 227 <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A> provider)</CODE> 228 229<BR> 230 Method called to serialize node instances using given generator.</TD> 231</TR> 232<TR BGCOLOR="white" CLASS="TableRowColor"> 233<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 234<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></FONT></TD> 235<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#toString()">toString</A></B>()</CODE> 236 237<BR> 238 Different from other values, since contents need to be surrounded 239 by (double) quotes.</TD> 240</TR> 241<TR BGCOLOR="white" CLASS="TableRowColor"> 242<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 243<CODE>static <A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node">BinaryNode</A></CODE></FONT></TD> 244<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#valueOf(byte[])">valueOf</A></B>(byte[] data)</CODE> 245 246<BR> 247 </TD> 248</TR> 249<TR BGCOLOR="white" CLASS="TableRowColor"> 250<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 251<CODE>static <A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node">BinaryNode</A></CODE></FONT></TD> 252<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html#valueOf(byte[], int, int)">valueOf</A></B>(byte[] data, 253 int offset, 254 int length)</CODE> 255 256<BR> 257 </TD> 258</TR> 259</TABLE> 260 <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.node.ValueNode"><!-- --></A> 261<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 262<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 263<TH ALIGN="left"><B>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></B></TH> 264</TR> 265<TR BGCOLOR="white" CLASS="TableRowColor"> 266<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#deepCopy()">deepCopy</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#isValueNode()">isValueNode</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></TD> 267</TR> 268</TABLE> 269 <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.node.BaseJsonNode"><!-- --></A> 270<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 271<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 272<TH ALIGN="left"><B>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></B></TH> 273</TR> 274<TR BGCOLOR="white" CLASS="TableRowColor"> 275<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findParent(java.lang.String)">findParent</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findParents(java.lang.String, java.util.List)">findParents</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findPath(java.lang.String)">findPath</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findValue(java.lang.String)">findValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findValues(java.lang.String, java.util.List)">findValues</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</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></CODE></TD> 276</TR> 277</TABLE> 278 <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"><!-- --></A> 279<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 280<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 281<TH ALIGN="left"><B>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></B></TH> 282</TR> 283<TR BGCOLOR="white" CLASS="TableRowColor"> 284<TD><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#get(int)">get</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)">get</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(int)">has</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(java.lang.String)">has</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#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#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#isTextual()">isTextual</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#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></TD> 285</TR> 286</TABLE> 287 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 288<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 289<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 290<TH ALIGN="left"><B>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></B></TH> 291</TR> 292<TR BGCOLOR="white" CLASS="TableRowColor"> 293<TD><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></TD> 294</TR> 295</TABLE> 296 297<P> 298 299<!-- ========= CONSTRUCTOR DETAIL ======== --> 300 301<A NAME="constructor_detail"><!-- --></A> 302<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 303<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 304<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 305<B>Constructor Detail</B></FONT></TH> 306</TR> 307</TABLE> 308 309<A NAME="BinaryNode(byte[])"><!-- --></A><H3> 310BinaryNode</H3> 311<PRE> 312public <B>BinaryNode</B>(byte[] data)</PRE> 313<DL> 314</DL> 315<HR> 316 317<A NAME="BinaryNode(byte[], int, int)"><!-- --></A><H3> 318BinaryNode</H3> 319<PRE> 320public <B>BinaryNode</B>(byte[] data, 321 int offset, 322 int length)</PRE> 323<DL> 324</DL> 325 326<!-- ============ METHOD DETAIL ========== --> 327 328<A NAME="method_detail"><!-- --></A> 329<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 330<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 331<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 332<B>Method Detail</B></FONT></TH> 333</TR> 334</TABLE> 335 336<A NAME="valueOf(byte[])"><!-- --></A><H3> 337valueOf</H3> 338<PRE> 339public static <A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node">BinaryNode</A> <B>valueOf</B>(byte[] data)</PRE> 340<DL> 341<DD><DL> 342</DL> 343</DD> 344</DL> 345<HR> 346 347<A NAME="valueOf(byte[], int, int)"><!-- --></A><H3> 348valueOf</H3> 349<PRE> 350public static <A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node">BinaryNode</A> <B>valueOf</B>(byte[] data, 351 int offset, 352 int length)</PRE> 353<DL> 354<DD><DL> 355</DL> 356</DD> 357</DL> 358<HR> 359 360<A NAME="asToken()"><!-- --></A><H3> 361asToken</H3> 362<PRE> 363public com.fasterxml.jackson.core.JsonToken <B>asToken</B>()</PRE> 364<DL> 365<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">BaseJsonNode</A></CODE></B></DD> 366<DD>Method that can be used for efficient type detection 367 when using stream abstraction for traversing nodes. 368 Will return the first <CODE>JsonToken</CODE> that equivalent 369 stream event would produce (for most nodes there is just 370 one token but for structured/container types multiple) 371<P> 372<DD><DL> 373<DT><B>Specified by:</B><DD><CODE>asToken</CODE> in interface <CODE>com.fasterxml.jackson.core.TreeNode</CODE><DT><B>Specified by:</B><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></DL> 374</DD> 375<DD><DL> 376</DL> 377</DD> 378</DL> 379<HR> 380 381<A NAME="isBinary()"><!-- --></A><H3> 382isBinary</H3> 383<PRE> 384public boolean <B>isBinary</B>()</PRE> 385<DL> 386<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBinary()">JsonNode</A></CODE></B></DD> 387<DD>Method that can be used to check if this node represents 388 binary data (Base64 encoded). Although this will be externally 389 written as JSON String value, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isTextual()"><CODE>JsonNode.isTextual()</CODE></A> will 390 return false if this method returns true. 391<P> 392<DD><DL> 393<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBinary()">isBinary</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> 394</DD> 395<DD><DL> 396 397<DT><B>Returns:</B><DD>True if this node represents base64 encoded binary data</DL> 398</DD> 399</DL> 400<HR> 401 402<A NAME="binaryValue()"><!-- --></A><H3> 403binaryValue</H3> 404<PRE> 405public byte[] <B>binaryValue</B>()</PRE> 406<DL> 407<DD><p> 408 Note: caller is not to modify returned array in any way, since 409 it is not a copy but reference to the underlying byte array. 410<P> 411<DD><DL> 412<DT><B>Overrides:</B><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></DL> 413</DD> 414<DD><DL> 415 416<DT><B>Returns:</B><DD>Binary data this node contains, iff it is a binary 417 node; null otherwise</DL> 418</DD> 419</DL> 420<HR> 421 422<A NAME="asText()"><!-- --></A><H3> 423asText</H3> 424<PRE> 425public <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> <B>asText</B>()</PRE> 426<DL> 427<DD>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>, 428 but will work correctly. 429<P> 430<DD><DL> 431<DT><B>Specified by:</B><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></DL> 432</DD> 433<DD><DL> 434</DL> 435</DD> 436</DL> 437<HR> 438 439<A NAME="serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)"><!-- --></A><H3> 440serialize</H3> 441<PRE> 442public final void <B>serialize</B>(com.fasterxml.jackson.core.JsonGenerator jg, 443 <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A> provider) 444 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>, 445 com.fasterxml.jackson.core.JsonProcessingException</PRE> 446<DL> 447<DD><B>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></B></DD> 448<DD>Method called to serialize node instances using given generator. 449<P> 450<DD><DL> 451<DT><B>Specified by:</B><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><DT><B>Specified by:</B><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></DL> 452</DD> 453<DD><DL> 454 455<DT><B>Throws:</B> 456<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> 457<DD><CODE>com.fasterxml.jackson.core.JsonProcessingException</CODE></DL> 458</DD> 459</DL> 460<HR> 461 462<A NAME="equals(java.lang.Object)"><!-- --></A><H3> 463equals</H3> 464<PRE> 465public boolean <B>equals</B>(<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> 466<DL> 467<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">JsonNode</A></CODE></B></DD> 468<DD>Equality for node objects is defined as full (deep) value 469 equality. This means that it is possible to compare complete 470 JSON trees for equality by comparing equality of root nodes. 471<p> 472 Note: marked as abstract to ensure all implementation 473 classes define it properly and not rely on definition 474 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>. 475<P> 476<DD><DL> 477<DT><B>Specified by:</B><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></DL> 478</DD> 479<DD><DL> 480</DL> 481</DD> 482</DL> 483<HR> 484 485<A NAME="hashCode()"><!-- --></A><H3> 486hashCode</H3> 487<PRE> 488public int <B>hashCode</B>()</PRE> 489<DL> 490<DD><DL> 491<DT><B>Overrides:</B><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></DL> 492</DD> 493<DD><DL> 494</DL> 495</DD> 496</DL> 497<HR> 498 499<A NAME="toString()"><!-- --></A><H3> 500toString</H3> 501<PRE> 502public <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> <B>toString</B>()</PRE> 503<DL> 504<DD>Different from other values, since contents need to be surrounded 505 by (double) quotes. 506<P> 507<DD><DL> 508<DT><B>Overrides:</B><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></DL> 509</DD> 510<DD><DL> 511</DL> 512</DD> 513</DL> 514<!-- ========= END OF CLASS DATA ========= --> 515<HR> 516 517 518<!-- ======= START OF BOTTOM NAVBAR ====== --> 519<A NAME="navbar_bottom"><!-- --></A> 520<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 521<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 522<TR> 523<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 524<A NAME="navbar_bottom_firstrow"><!-- --></A> 525<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 526 <TR ALIGN="center" VALIGN="top"> 527 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 528 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 529 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 530 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BinaryNode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 531 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 532 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 533 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 534 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 535 </TR> 536</TABLE> 537</TD> 538<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 539</EM> 540</TD> 541</TR> 542 543<TR> 544<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 545 <A HREF="../../../../../com/fasterxml/jackson/databind/node/BigIntegerNode.html" title="class in com.fasterxml.jackson.databind.node"><B>PREV CLASS</B></A> 546 <A HREF="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node"><B>NEXT CLASS</B></A></FONT></TD> 547<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 548 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/node/BinaryNode.html" target="_top"><B>FRAMES</B></A> 549 <A HREF="BinaryNode.html" target="_top"><B>NO FRAMES</B></A> 550 <SCRIPT type="text/javascript"> 551 <!-- 552 if(window==top) { 553 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 554 } 555 //--> 556</SCRIPT> 557<NOSCRIPT> 558 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 559</NOSCRIPT> 560 561 562</FONT></TD> 563</TR> 564<TR> 565<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 566 SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_com.fasterxml.jackson.databind.JsonNode">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 567<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 568DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 569</TR> 570</TABLE> 571<A NAME="skip-navbar_bottom"></A> 572<!-- ======== END OF BOTTOM NAVBAR ======= --> 573 574<HR> 575Copyright © 2012 <a href="http://fasterxml.com">fasterxml.com</a>. All Rights Reserved. 576</BODY> 577</HTML> 578