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_35) on Tue Oct 09 17:08:19 PDT 2012 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8ObjectNode (jackson-databind 2.1.0 API) 9</TITLE> 10 11<META NAME="date" CONTENT="2012-10-09"> 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="ObjectNode (jackson-databind 2.1.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/ObjectNode.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/NumericNode.html" title="class in com.fasterxml.jackson.databind.node"><B>PREV CLASS</B></A> 60 <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.NoFieldsIterator.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/ObjectNode.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="ObjectNode.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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <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 ObjectNode</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/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.ContainerNode</A><<A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A>> 100 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.databind.node.ObjectNode</B> 101</PRE> 102<DL> 103<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.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><<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 class <B>ObjectNode</B><DT>extends <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</A><<A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A>></DL> 108</PRE> 109 110<P> 111Node that maps to JSON Object structures in JSON content. 112<P> 113 114<P> 115<HR> 116 117<P> 118<!-- ======== NESTED CLASS SUMMARY ======== --> 119 120<A NAME="nested_class_summary"><!-- --></A> 121<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 122<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 123<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 124<B>Nested Class Summary</B></FONT></TH> 125</TR> 126<TR BGCOLOR="white" CLASS="TableRowColor"> 127<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 128<CODE>protected static class</CODE></FONT></TD> 129<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.NoFieldsIterator.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode.NoFieldsIterator</A></B></CODE> 130 131<BR> 132 For efficiency, let's share the "no fields" iterator...</TD> 133</TR> 134</TABLE> 135 <A NAME="nested_classes_inherited_from_class_com.fasterxml.jackson.databind.node.ContainerNode"><!-- --></A> 136<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 137<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 138<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.node.<A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</A></B></TH> 139</TR> 140<TR BGCOLOR="white" CLASS="TableRowColor"> 141<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.NoNodesIterator.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode.NoNodesIterator</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.NoStringsIterator.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode.NoStringsIterator</A></CODE></TD> 142</TR> 143</TABLE> 144 145<!-- =========== FIELD SUMMARY =========== --> 146 147<A NAME="field_summary"><!-- --></A> 148<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 149<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 150<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 151<B>Field Summary</B></FONT></TH> 152</TR> 153<TR BGCOLOR="white" CLASS="TableRowColor"> 154<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 155<CODE>protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<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>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>></CODE></FONT></TD> 156<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#_children">_children</A></B></CODE> 157 158<BR> 159 </TD> 160</TR> 161</TABLE> 162 <A NAME="fields_inherited_from_class_com.fasterxml.jackson.databind.node.ContainerNode"><!-- --></A> 163<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 164<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 165<TH ALIGN="left"><B>Fields inherited from class com.fasterxml.jackson.databind.node.<A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</A></B></TH> 166</TR> 167<TR BGCOLOR="white" CLASS="TableRowColor"> 168<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#_nodeFactory">_nodeFactory</A></CODE></TD> 169</TR> 170</TABLE> 171 <A NAME="fields_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"><!-- --></A> 172<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 173<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 174<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> 175</TR> 176<TR BGCOLOR="white" CLASS="TableRowColor"> 177<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> 178</TR> 179</TABLE> 180 181<!-- ======== CONSTRUCTOR SUMMARY ======== --> 182 183<A NAME="constructor_summary"><!-- --></A> 184<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 185<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 186<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 187<B>Constructor Summary</B></FONT></TH> 188</TR> 189<TR BGCOLOR="white" CLASS="TableRowColor"> 190<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 191<CODE> </CODE></FONT></TD> 192<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#ObjectNode(com.fasterxml.jackson.databind.node.JsonNodeFactory)">ObjectNode</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</A> nc)</CODE> 193 194<BR> 195 </TD> 196</TR> 197<TR BGCOLOR="white" CLASS="TableRowColor"> 198<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 199<CODE>protected </CODE></FONT></TD> 200<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#ObjectNode(com.fasterxml.jackson.databind.node.JsonNodeFactory, java.util.Map)">ObjectNode</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</A> nc, 201 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<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>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> children)</CODE> 202 203<BR> 204 </TD> 205</TR> 206</TABLE> 207 208<!-- ========== METHOD SUMMARY =========== --> 209 210<A NAME="method_summary"><!-- --></A> 211<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 212<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 213<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 214<B>Method Summary</B></FONT></TH> 215</TR> 216<TR BGCOLOR="white" CLASS="TableRowColor"> 217<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 218<CODE>protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<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>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>></CODE></FONT></TD> 219<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#_createMap()">_createMap</A></B>()</CODE> 220 221<BR> 222 Internal factory method for creating <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A> used for storing 223 child nodes.</TD> 224</TR> 225<TR BGCOLOR="white" CLASS="TableRowColor"> 226<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 227<CODE>protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<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>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>></CODE></FONT></TD> 228<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#_createMap(int)">_createMap</A></B>(int defaultSize)</CODE> 229 230<BR> 231 Internal factory method for creating <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A> used for storing 232 child nodes.</TD> 233</TR> 234<TR BGCOLOR="white" CLASS="TableRowColor"> 235<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 236<CODE>protected <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 237<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#_defaultDeepCopy()">_defaultDeepCopy</A></B>()</CODE> 238 239<BR> 240 Default implementation for 'deepCopy()': can be delegated to by sub-classes 241 if necessary; but usually isn't.</TD> 242</TR> 243<TR BGCOLOR="white" CLASS="TableRowColor"> 244<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 245<CODE> <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</A></CODE></FONT></TD> 246<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#asToken()">asToken</A></B>()</CODE> 247 248<BR> 249 Method that can be used for efficient type detection 250 when using stream abstraction for traversing nodes.</TD> 251</TR> 252<TR BGCOLOR="white" CLASS="TableRowColor"> 253<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 254<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 255<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#deepCopy()">deepCopy</A></B>()</CODE> 256 257<BR> 258 Method that can be called to get a node that is guaranteed 259 not to allow changing of this node through mutators on 260 this node or any of its children.</TD> 261</TR> 262<TR BGCOLOR="white" CLASS="TableRowColor"> 263<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 264<CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>></CODE></FONT></TD> 265<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#elements()">elements</A></B>()</CODE> 266 267<BR> 268 Method for accessing all value nodes of this Node, iff 269 this node is a JSON Array or Object node.</TD> 270</TR> 271<TR BGCOLOR="white" CLASS="TableRowColor"> 272<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 273<CODE> boolean</CODE></FONT></TD> 274<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.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> 275 276<BR> 277 Equality for node objects is defined as full (deep) value 278 equality.</TD> 279</TR> 280<TR BGCOLOR="white" CLASS="TableRowColor"> 281<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 282<CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<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> 283<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#fieldNames()">fieldNames</A></B>()</CODE> 284 285<BR> 286 Method for accessing names of all fields for this Node, iff 287 this node is a JSON Object node.</TD> 288</TR> 289<TR BGCOLOR="white" CLASS="TableRowColor"> 290<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 291<CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<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>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>>></CODE></FONT></TD> 292<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#fields()">fields</A></B>()</CODE> 293 294<BR> 295 Method to use for accessing all fields (with both names 296 and values) of this JSON Object.</TD> 297</TR> 298<TR BGCOLOR="white" CLASS="TableRowColor"> 299<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 300<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 301<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#findParent(java.lang.String)">findParent</A></B>(<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> fieldName)</CODE> 302 303<BR> 304 Method for finding a JSON Object that contains specified field, 305 within this node or its descendants.</TD> 306</TR> 307<TR BGCOLOR="white" CLASS="TableRowColor"> 308<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 309<CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>></CODE></FONT></TD> 310<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#findParents(java.lang.String, java.util.List)">findParents</A></B>(<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> fieldName, 311 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> foundSoFar)</CODE> 312 313<BR> 314 </TD> 315</TR> 316<TR BGCOLOR="white" CLASS="TableRowColor"> 317<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 318<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 319<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#findValue(java.lang.String)">findValue</A></B>(<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> fieldName)</CODE> 320 321<BR> 322 Method for finding a JSON Object field with specified name in this 323 node or its child nodes, and returning value it has.</TD> 324</TR> 325<TR BGCOLOR="white" CLASS="TableRowColor"> 326<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 327<CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>></CODE></FONT></TD> 328<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#findValues(java.lang.String, java.util.List)">findValues</A></B>(<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> fieldName, 329 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> foundSoFar)</CODE> 330 331<BR> 332 </TD> 333</TR> 334<TR BGCOLOR="white" CLASS="TableRowColor"> 335<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 336<CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<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> 337<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</A></B>(<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> fieldName, 338 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<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>> foundSoFar)</CODE> 339 340<BR> 341 </TD> 342</TR> 343<TR BGCOLOR="white" CLASS="TableRowColor"> 344<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 345<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 346<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#get(int)">get</A></B>(int index)</CODE> 347 348<BR> 349 Method for accessing value of the specified element of 350 an array node.</TD> 351</TR> 352<TR BGCOLOR="white" CLASS="TableRowColor"> 353<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 354<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 355<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#get(java.lang.String)">get</A></B>(<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> fieldName)</CODE> 356 357<BR> 358 Method for accessing value of the specified field of 359 an object node.</TD> 360</TR> 361<TR BGCOLOR="white" CLASS="TableRowColor"> 362<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 363<CODE> int</CODE></FONT></TD> 364<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#hashCode()">hashCode</A></B>()</CODE> 365 366<BR> 367 </TD> 368</TR> 369<TR BGCOLOR="white" CLASS="TableRowColor"> 370<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 371<CODE> boolean</CODE></FONT></TD> 372<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#isObject()">isObject</A></B>()</CODE> 373 374<BR> 375 </TD> 376</TR> 377<TR BGCOLOR="white" CLASS="TableRowColor"> 378<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 379<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 380<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#path(int)">path</A></B>(int index)</CODE> 381 382<BR> 383 This method is similar to <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)"><CODE>JsonNode.get(int)</CODE></A>, except 384 that instead of returning null if no such element exists (due 385 to index being out of range, or this node not being an array), 386 a "missing node" (node that returns true for 387 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>JsonNode.isMissingNode()</CODE></A>) will be returned.</TD> 388</TR> 389<TR BGCOLOR="white" CLASS="TableRowColor"> 390<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 391<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 392<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#path(java.lang.String)">path</A></B>(<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> fieldName)</CODE> 393 394<BR> 395 This method is similar to <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)"><CODE>JsonNode.get(String)</CODE></A>, except 396 that instead of returning null if no such value exists (due 397 to this node not being an object, or object not having value 398 for the specified field), 399 a "missing node" (node that returns true for 400 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>JsonNode.isMissingNode()</CODE></A>) will be returned.</TD> 401</TR> 402<TR BGCOLOR="white" CLASS="TableRowColor"> 403<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 404<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 405<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, java.math.BigDecimal)">put</A></B>(<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> fieldName, 406 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> v)</CODE> 407 408<BR> 409 Method for setting value of a field to specified numeric value.</TD> 410</TR> 411<TR BGCOLOR="white" CLASS="TableRowColor"> 412<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 413<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 414<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, boolean)">put</A></B>(<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> fieldName, 415 boolean v)</CODE> 416 417<BR> 418 Method for setting value of a field to specified String value.</TD> 419</TR> 420<TR BGCOLOR="white" CLASS="TableRowColor"> 421<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 422<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 423<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, java.lang.Boolean)">put</A></B>(<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> fieldName, 424 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A> value)</CODE> 425 426<BR> 427 Alternative method that we need to avoid bumping into NPE issues 428 with auto-unboxing.</TD> 429</TR> 430<TR BGCOLOR="white" CLASS="TableRowColor"> 431<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 432<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 433<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, byte[])">put</A></B>(<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> fieldName, 434 byte[] v)</CODE> 435 436<BR> 437 Method for setting value of a field to specified binary value</TD> 438</TR> 439<TR BGCOLOR="white" CLASS="TableRowColor"> 440<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 441<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 442<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, double)">put</A></B>(<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> fieldName, 443 double v)</CODE> 444 445<BR> 446 Method for setting value of a field to specified numeric value.</TD> 447</TR> 448<TR BGCOLOR="white" CLASS="TableRowColor"> 449<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 450<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 451<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, java.lang.Double)">put</A></B>(<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> fieldName, 452 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</A> value)</CODE> 453 454<BR> 455 Alternative method that we need to avoid bumping into NPE issues 456 with auto-unboxing.</TD> 457</TR> 458<TR BGCOLOR="white" CLASS="TableRowColor"> 459<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 460<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 461<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, float)">put</A></B>(<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> fieldName, 462 float v)</CODE> 463 464<BR> 465 Method for setting value of a field to specified numeric value.</TD> 466</TR> 467<TR BGCOLOR="white" CLASS="TableRowColor"> 468<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 469<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 470<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, java.lang.Float)">put</A></B>(<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> fieldName, 471 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</A> value)</CODE> 472 473<BR> 474 Alternative method that we need to avoid bumping into NPE issues 475 with auto-unboxing.</TD> 476</TR> 477<TR BGCOLOR="white" CLASS="TableRowColor"> 478<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 479<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 480<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, int)">put</A></B>(<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> fieldName, 481 int v)</CODE> 482 483<BR> 484 Method for setting value of a field to specified numeric value.</TD> 485</TR> 486<TR BGCOLOR="white" CLASS="TableRowColor"> 487<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 488<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 489<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, java.lang.Integer)">put</A></B>(<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> fieldName, 490 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A> value)</CODE> 491 492<BR> 493 Alternative method that we need to avoid bumping into NPE issues 494 with auto-unboxing.</TD> 495</TR> 496<TR BGCOLOR="white" CLASS="TableRowColor"> 497<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 498<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 499<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, com.fasterxml.jackson.databind.JsonNode)">put</A></B>(<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> fieldName, 500 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> value)</CODE> 501 502<BR> 503 Method that will set specified field, replacing old value, if any.</TD> 504</TR> 505<TR BGCOLOR="white" CLASS="TableRowColor"> 506<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 507<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 508<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, long)">put</A></B>(<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> fieldName, 509 long v)</CODE> 510 511<BR> 512 Method for setting value of a field to specified numeric value.</TD> 513</TR> 514<TR BGCOLOR="white" CLASS="TableRowColor"> 515<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 516<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 517<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, java.lang.Long)">put</A></B>(<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> fieldName, 518 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</A> value)</CODE> 519 520<BR> 521 Alternative method that we need to avoid bumping into NPE issues 522 with auto-unboxing.</TD> 523</TR> 524<TR BGCOLOR="white" CLASS="TableRowColor"> 525<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 526<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 527<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, java.lang.String)">put</A></B>(<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> fieldName, 528 <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> v)</CODE> 529 530<BR> 531 Method for setting value of a field to specified String value.</TD> 532</TR> 533<TR BGCOLOR="white" CLASS="TableRowColor"> 534<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 535<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 536<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putAll(java.util.Map)">putAll</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<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>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> properties)</CODE> 537 538<BR> 539 Method for adding given properties to this object node, overriding 540 any existing values for those properties.</TD> 541</TR> 542<TR BGCOLOR="white" CLASS="TableRowColor"> 543<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 544<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 545<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putAll(com.fasterxml.jackson.databind.node.ObjectNode)">putAll</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> other)</CODE> 546 547<BR> 548 Method for adding all properties of the given Object, overriding 549 any existing values for those properties.</TD> 550</TR> 551<TR BGCOLOR="white" CLASS="TableRowColor"> 552<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 553<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</A></CODE></FONT></TD> 554<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putArray(java.lang.String)">putArray</A></B>(<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> fieldName)</CODE> 555 556<BR> 557 Method that will construct an ArrayNode and add it as a 558 field of this ObjectNode, replacing old value, if any.</TD> 559</TR> 560<TR BGCOLOR="white" CLASS="TableRowColor"> 561<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 562<CODE>protected void</CODE></FONT></TD> 563<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putContentsTo(java.util.Map)">putContentsTo</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<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>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> dst)</CODE> 564 565<BR> 566 </TD> 567</TR> 568<TR BGCOLOR="white" CLASS="TableRowColor"> 569<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 570<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 571<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putNull(java.lang.String)">putNull</A></B>(<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> fieldName)</CODE> 572 573<BR> 574 </TD> 575</TR> 576<TR BGCOLOR="white" CLASS="TableRowColor"> 577<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 578<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 579<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putObject(java.lang.String)">putObject</A></B>(<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> fieldName)</CODE> 580 581<BR> 582 Method that will construct an ObjectNode and add it as a 583 field of this ObjectNode, replacing old value, if any.</TD> 584</TR> 585<TR BGCOLOR="white" CLASS="TableRowColor"> 586<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 587<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 588<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putPOJO(java.lang.String, java.lang.Object)">putPOJO</A></B>(<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> fieldName, 589 <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> pojo)</CODE> 590 591<BR> 592 </TD> 593</TR> 594<TR BGCOLOR="white" CLASS="TableRowColor"> 595<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 596<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 597<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#remove(java.util.Collection)">remove</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<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>> fieldNames)</CODE> 598 599<BR> 600 Method for removing specified field properties out of 601 this ObjectNode.</TD> 602</TR> 603<TR BGCOLOR="white" CLASS="TableRowColor"> 604<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 605<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 606<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#remove(java.lang.String)">remove</A></B>(<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> fieldName)</CODE> 607 608<BR> 609 Method for removing field entry from this ObjectNode.</TD> 610</TR> 611<TR BGCOLOR="white" CLASS="TableRowColor"> 612<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 613<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 614<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#removeAll()">removeAll</A></B>()</CODE> 615 616<BR> 617 Method for removing all field properties, such that this 618 ObjectNode will contain no properties after call.</TD> 619</TR> 620<TR BGCOLOR="white" CLASS="TableRowColor"> 621<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 622<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 623<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#replace(java.lang.String, com.fasterxml.jackson.databind.JsonNode)">replace</A></B>(<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> fieldName, 624 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> value)</CODE> 625 626<BR> 627 Method for replacing value of specific property with passed 628 value, and returning value (or null if none).</TD> 629</TR> 630<TR BGCOLOR="white" CLASS="TableRowColor"> 631<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 632<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 633<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#retain(java.util.Collection)">retain</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<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>> fieldNames)</CODE> 634 635<BR> 636 Method for removing all field properties out of this ObjectNode 637 <b>except</b> for ones specified in argument.</TD> 638</TR> 639<TR BGCOLOR="white" CLASS="TableRowColor"> 640<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 641<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 642<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#retain(java.lang.String...)">retain</A></B>(<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>... fieldNames)</CODE> 643 644<BR> 645 Method for removing all field properties out of this ObjectNode 646 <b>except</b> for ones specified in argument.</TD> 647</TR> 648<TR BGCOLOR="white" CLASS="TableRowColor"> 649<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 650<CODE> void</CODE></FONT></TD> 651<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</A></B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jg, 652 <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A> provider)</CODE> 653 654<BR> 655 Method that can be called to serialize this node and 656 all of its descendants using specified JSON generator.</TD> 657</TR> 658<TR BGCOLOR="white" CLASS="TableRowColor"> 659<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 660<CODE> void</CODE></FONT></TD> 661<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">serializeWithType</A></B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jg, 662 <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A> provider, 663 <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A> typeSer)</CODE> 664 665<BR> 666 Type information is needed, even if JsonNode instances are "plain" JSON, 667 since they may be mixed with other types.</TD> 668</TR> 669<TR BGCOLOR="white" CLASS="TableRowColor"> 670<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 671<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 672<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#set(java.lang.String, com.fasterxml.jackson.databind.JsonNode)">set</A></B>(<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> fieldName, 673 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> value)</CODE> 674 675<BR> 676 Method that will set specified field, replacing old value, if any.</TD> 677</TR> 678<TR BGCOLOR="white" CLASS="TableRowColor"> 679<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 680<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 681<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#setAll(java.util.Map)">setAll</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<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>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> properties)</CODE> 682 683<BR> 684 Method for adding given properties to this object node, overriding 685 any existing values for those properties.</TD> 686</TR> 687<TR BGCOLOR="white" CLASS="TableRowColor"> 688<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 689<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 690<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#setAll(com.fasterxml.jackson.databind.node.ObjectNode)">setAll</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> other)</CODE> 691 692<BR> 693 Method for adding all properties of the given Object, overriding 694 any existing values for those properties.</TD> 695</TR> 696<TR BGCOLOR="white" CLASS="TableRowColor"> 697<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 698<CODE> int</CODE></FONT></TD> 699<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#size()">size</A></B>()</CODE> 700 701<BR> 702 Method that returns number of child nodes this node contains: 703 for Array nodes, number of child elements, for Object nodes, 704 number of fields, and for all other nodes 0.</TD> 705</TR> 706<TR BGCOLOR="white" CLASS="TableRowColor"> 707<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 708<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> 709<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#toString()">toString</A></B>()</CODE> 710 711<BR> 712 713 Note: marked as abstract to ensure all implementation 714 classes define it properly.</TD> 715</TR> 716<TR BGCOLOR="white" CLASS="TableRowColor"> 717<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 718<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 719<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#with(java.lang.String)">with</A></B>(<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> propertyName)</CODE> 720 721<BR> 722 Method that can be called on Object nodes, to access a property 723 that has Object value; or if no such property exists, to create, 724 add and return such Object node.</TD> 725</TR> 726<TR BGCOLOR="white" CLASS="TableRowColor"> 727<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 728<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</A></CODE></FONT></TD> 729<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#withArray(java.lang.String)">withArray</A></B>(<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> propertyName)</CODE> 730 731<BR> 732 Method that can be called on Object nodes, to access a property 733 that has <code>Array</code> value; or if no such property exists, to create, 734 add and return such Array node.</TD> 735</TR> 736<TR BGCOLOR="white" CLASS="TableRowColor"> 737<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 738<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 739<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#without(java.util.Collection)">without</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<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>> fieldNames)</CODE> 740 741<BR> 742 Method for removing specified field properties out of 743 this ObjectNode.</TD> 744</TR> 745<TR BGCOLOR="white" CLASS="TableRowColor"> 746<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 747<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 748<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#without(java.lang.String)">without</A></B>(<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> fieldName)</CODE> 749 750<BR> 751 Method for removing field entry from this ObjectNode, and 752 returning instance after removal.</TD> 753</TR> 754</TABLE> 755 <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.node.ContainerNode"><!-- --></A> 756<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 757<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 758<TH ALIGN="left"><B>Methods inherited from class com.fasterxml.jackson.databind.node.<A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</A></B></TH> 759</TR> 760<TR BGCOLOR="white" CLASS="TableRowColor"> 761<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#arrayNode()">arrayNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#asText()">asText</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#binaryNode(byte[])">binaryNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#binaryNode(byte[], int, int)">binaryNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#booleanNode(boolean)">booleanNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#isContainerNode()">isContainerNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#nullNode()">nullNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(java.math.BigDecimal)">numberNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(byte)">numberNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(double)">numberNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(float)">numberNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(int)">numberNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(long)">numberNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(short)">numberNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#objectNode()">objectNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#POJONode(java.lang.Object)">POJONode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#textNode(java.lang.String)">textNode</A></CODE></TD> 762</TR> 763</TABLE> 764 <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.node.BaseJsonNode"><!-- --></A> 765<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 766<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 767<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> 768</TR> 769<TR BGCOLOR="white" CLASS="TableRowColor"> 770<TD><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></CODE></TD> 771</TR> 772</TABLE> 773 <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"><!-- --></A> 774<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 775<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 776<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> 777</TR> 778<TR BGCOLOR="white" CLASS="TableRowColor"> 779<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#binaryValue()">binaryValue</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#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#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#hasNonNull(int)">hasNonNull</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull(java.lang.String)">hasNonNull</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#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#isPojo()">isPojo</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#textValue()">textValue</A></CODE></TD> 780</TR> 781</TABLE> 782 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 783<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 784<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 785<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> 786</TR> 787<TR BGCOLOR="white" CLASS="TableRowColor"> 788<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> 789</TR> 790</TABLE> 791 792<P> 793 794<!-- ============ FIELD DETAIL =========== --> 795 796<A NAME="field_detail"><!-- --></A> 797<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 798<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 799<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 800<B>Field Detail</B></FONT></TH> 801</TR> 802</TABLE> 803 804<A NAME="_children"><!-- --></A><H3> 805_children</H3> 806<PRE> 807protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<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>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> <B>_children</B></PRE> 808<DL> 809<DL> 810</DL> 811</DL> 812 813<!-- ========= CONSTRUCTOR DETAIL ======== --> 814 815<A NAME="constructor_detail"><!-- --></A> 816<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 817<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 818<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 819<B>Constructor Detail</B></FONT></TH> 820</TR> 821</TABLE> 822 823<A NAME="ObjectNode(com.fasterxml.jackson.databind.node.JsonNodeFactory)"><!-- --></A><H3> 824ObjectNode</H3> 825<PRE> 826public <B>ObjectNode</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</A> nc)</PRE> 827<DL> 828</DL> 829<HR> 830 831<A NAME="ObjectNode(com.fasterxml.jackson.databind.node.JsonNodeFactory, java.util.Map)"><!-- --></A><H3> 832ObjectNode</H3> 833<PRE> 834protected <B>ObjectNode</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</A> nc, 835 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<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>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> children)</PRE> 836<DL> 837</DL> 838 839<!-- ============ METHOD DETAIL ========== --> 840 841<A NAME="method_detail"><!-- --></A> 842<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 843<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 844<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 845<B>Method Detail</B></FONT></TH> 846</TR> 847</TABLE> 848 849<A NAME="deepCopy()"><!-- --></A><H3> 850deepCopy</H3> 851<PRE> 852public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>deepCopy</B>()</PRE> 853<DL> 854<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#deepCopy()">JsonNode</A></CODE></B></DD> 855<DD>Method that can be called to get a node that is guaranteed 856 not to allow changing of this node through mutators on 857 this node or any of its children. 858 This means it can either make a copy of this node (and all 859 mutable children and grand children nodes), or node itself 860 if it is immutable. 861<p> 862 Note: return type is guaranteed to have same type as the 863 node method is called on; which is why method is declared 864 with local generic type. 865<P> 866<DD><DL> 867<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#deepCopy()">deepCopy</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> 868</DD> 869<DD><DL> 870 871<DT><B>Returns:</B><DD>Node that is either a copy of this node (and all non-leaf 872 children); or, for immutable leaf nodes, node itself.</DL> 873</DD> 874</DL> 875<HR> 876 877<A NAME="_defaultDeepCopy()"><!-- --></A><H3> 878_defaultDeepCopy</H3> 879<PRE> 880protected <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>_defaultDeepCopy</B>()</PRE> 881<DL> 882<DD>Default implementation for 'deepCopy()': can be delegated to by sub-classes 883 if necessary; but usually isn't. 884<P> 885<DD><DL> 886</DL> 887</DD> 888</DL> 889<HR> 890 891<A NAME="asToken()"><!-- --></A><H3> 892asToken</H3> 893<PRE> 894public <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</A> <B>asToken</B>()</PRE> 895<DL> 896<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">BaseJsonNode</A></CODE></B></DD> 897<DD>Method that can be used for efficient type detection 898 when using stream abstraction for traversing nodes. 899 Will return the first <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.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 900 stream event would produce (for most nodes there is just 901 one token but for structured/container types multiple) 902<P> 903<DD><DL> 904<DT><B>Specified by:</B><DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/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.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#asToken()">asToken</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</A><<A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A>></CODE></DL> 905</DD> 906<DD><DL> 907</DL> 908</DD> 909</DL> 910<HR> 911 912<A NAME="isObject()"><!-- --></A><H3> 913isObject</H3> 914<PRE> 915public boolean <B>isObject</B>()</PRE> 916<DL> 917<DD><DL> 918<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isObject()">isObject</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> 919</DD> 920<DD><DL> 921 922<DT><B>Returns:</B><DD>True if this node represents JSON Object</DL> 923</DD> 924</DL> 925<HR> 926 927<A NAME="size()"><!-- --></A><H3> 928size</H3> 929<PRE> 930public int <B>size</B>()</PRE> 931<DL> 932<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#size()">JsonNode</A></CODE></B></DD> 933<DD>Method that returns number of child nodes this node contains: 934 for Array nodes, number of child elements, for Object nodes, 935 number of fields, and for all other nodes 0. 936<P> 937<DD><DL> 938<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#size()">size</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</A><<A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A>></CODE></DL> 939</DD> 940<DD><DL> 941 942<DT><B>Returns:</B><DD>For non-container nodes returns 0; for arrays number of 943 contained elements, and for objects number of fields.</DL> 944</DD> 945</DL> 946<HR> 947 948<A NAME="elements()"><!-- --></A><H3> 949elements</H3> 950<PRE> 951public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> <B>elements</B>()</PRE> 952<DL> 953<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#elements()">JsonNode</A></CODE></B></DD> 954<DD>Method for accessing all value nodes of this Node, iff 955 this node is a JSON Array or Object node. In case of Object node, 956 field names (keys) are not included, only values. 957 For other types of nodes, returns empty iterator. 958<P> 959<DD><DL> 960<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#elements()">elements</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> 961</DD> 962<DD><DL> 963</DL> 964</DD> 965</DL> 966<HR> 967 968<A NAME="get(int)"><!-- --></A><H3> 969get</H3> 970<PRE> 971public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>get</B>(int index)</PRE> 972<DL> 973<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)">JsonNode</A></CODE></B></DD> 974<DD>Method for accessing value of the specified element of 975 an array node. For other nodes, null is always returned. 976<p> 977 For array nodes, index specifies 978 exact location within array and allows for efficient iteration 979 over child elements (underlying storage is guaranteed to 980 be efficiently indexable, i.e. has random-access to elements). 981 If index is less than 0, or equal-or-greater than 982 <code>node.size()</code>, null is returned; no exception is 983 thrown for any index. 984<p> 985 NOTE: if the element value has been explicitly set as <code>null</code> 986 (which is different from removal!), 987 a <A HREF="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node"><CODE>NullNode</CODE></A> will be returned, 988 not null. 989<P> 990<DD><DL> 991<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#get(int)">get</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</A><<A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A>></CODE></DL> 992</DD> 993<DD><DL> 994 995<DT><B>Returns:</B><DD>Node that represent value of the specified element, 996 if this node is an array and has specified element. 997 Null otherwise.</DL> 998</DD> 999</DL> 1000<HR> 1001 1002<A NAME="get(java.lang.String)"><!-- --></A><H3> 1003get</H3> 1004<PRE> 1005public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>get</B>(<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> fieldName)</PRE> 1006<DL> 1007<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)">JsonNode</A></CODE></B></DD> 1008<DD>Method for accessing value of the specified field of 1009 an object node. If this node is not an object (or it 1010 does not have a value for specified field name), or 1011 if there is no field with such name, null is returned. 1012<p> 1013 NOTE: if the property value has been explicitly set as <code>null</code> 1014 (which is different from removal!), 1015 a <A HREF="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node"><CODE>NullNode</CODE></A> will be returned, 1016 not null. 1017<P> 1018<DD><DL> 1019<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#get(java.lang.String)">get</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</A><<A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A>></CODE></DL> 1020</DD> 1021<DD><DL> 1022 1023<DT><B>Returns:</B><DD>Node that represent value of the specified field, 1024 if this node is an object and has value for the specified 1025 field. Null otherwise.</DL> 1026</DD> 1027</DL> 1028<HR> 1029 1030<A NAME="fieldNames()"><!-- --></A><H3> 1031fieldNames</H3> 1032<PRE> 1033public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<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>fieldNames</B>()</PRE> 1034<DL> 1035<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fieldNames()">JsonNode</A></CODE></B></DD> 1036<DD>Method for accessing names of all fields for this Node, iff 1037 this node is a JSON Object node. 1038<P> 1039<DD><DL> 1040<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fieldNames()">fieldNames</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> 1041</DD> 1042<DD><DL> 1043</DL> 1044</DD> 1045</DL> 1046<HR> 1047 1048<A NAME="path(int)"><!-- --></A><H3> 1049path</H3> 1050<PRE> 1051public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>path</B>(int index)</PRE> 1052<DL> 1053<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(int)">JsonNode</A></CODE></B></DD> 1054<DD>This method is similar to <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)"><CODE>JsonNode.get(int)</CODE></A>, except 1055 that instead of returning null if no such element exists (due 1056 to index being out of range, or this node not being an array), 1057 a "missing node" (node that returns true for 1058 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>JsonNode.isMissingNode()</CODE></A>) will be returned. This allows for 1059 convenient and safe chained access via path calls. 1060<P> 1061<DD><DL> 1062<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(int)">path</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> 1063</DD> 1064<DD><DL> 1065</DL> 1066</DD> 1067</DL> 1068<HR> 1069 1070<A NAME="path(java.lang.String)"><!-- --></A><H3> 1071path</H3> 1072<PRE> 1073public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>path</B>(<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> fieldName)</PRE> 1074<DL> 1075<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(java.lang.String)">JsonNode</A></CODE></B></DD> 1076<DD>This method is similar to <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)"><CODE>JsonNode.get(String)</CODE></A>, except 1077 that instead of returning null if no such value exists (due 1078 to this node not being an object, or object not having value 1079 for the specified field), 1080 a "missing node" (node that returns true for 1081 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>JsonNode.isMissingNode()</CODE></A>) will be returned. This allows for 1082 convenient and safe chained access via path calls. 1083<P> 1084<DD><DL> 1085<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(java.lang.String)">path</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> 1086</DD> 1087<DD><DL> 1088</DL> 1089</DD> 1090</DL> 1091<HR> 1092 1093<A NAME="fields()"><!-- --></A><H3> 1094fields</H3> 1095<PRE> 1096public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<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>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>>> <B>fields</B>()</PRE> 1097<DL> 1098<DD>Method to use for accessing all fields (with both names 1099 and values) of this JSON Object. 1100<P> 1101<DD><DL> 1102<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fields()">fields</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> 1103</DD> 1104<DD><DL> 1105 1106<DT><B>Returns:</B><DD>Iterator that can be used to traverse all key/value pairs for 1107 object nodes; empty iterator (no contents) for other types</DL> 1108</DD> 1109</DL> 1110<HR> 1111 1112<A NAME="with(java.lang.String)"><!-- --></A><H3> 1113with</H3> 1114<PRE> 1115public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>with</B>(<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> propertyName)</PRE> 1116<DL> 1117<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#with(java.lang.String)">JsonNode</A></CODE></B></DD> 1118<DD>Method that can be called on Object nodes, to access a property 1119 that has Object value; or if no such property exists, to create, 1120 add and return such Object node. 1121 If the node method is called on is not Object node, 1122 or if property exists and has value that is not Object node, 1123 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><CODE>UnsupportedOperationException</CODE></A> is thrown 1124<P> 1125<DD><DL> 1126<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#with(java.lang.String)">with</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> 1127</DD> 1128<DD><DL> 1129</DL> 1130</DD> 1131</DL> 1132<HR> 1133 1134<A NAME="withArray(java.lang.String)"><!-- --></A><H3> 1135withArray</H3> 1136<PRE> 1137public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</A> <B>withArray</B>(<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> propertyName)</PRE> 1138<DL> 1139<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#withArray(java.lang.String)">JsonNode</A></CODE></B></DD> 1140<DD>Method that can be called on Object nodes, to access a property 1141 that has <code>Array</code> value; or if no such property exists, to create, 1142 add and return such Array node. 1143 If the node method is called on is not Object node, 1144 or if property exists and has value that is not Array node, 1145 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><CODE>UnsupportedOperationException</CODE></A> is thrown 1146<P> 1147<DD><DL> 1148<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#withArray(java.lang.String)">withArray</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> 1149</DD> 1150<DD><DL> 1151</DL> 1152</DD> 1153</DL> 1154<HR> 1155 1156<A NAME="findValue(java.lang.String)"><!-- --></A><H3> 1157findValue</H3> 1158<PRE> 1159public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>findValue</B>(<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> fieldName)</PRE> 1160<DL> 1161<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue(java.lang.String)">JsonNode</A></CODE></B></DD> 1162<DD>Method for finding a JSON Object field with specified name in this 1163 node or its child nodes, and returning value it has. 1164 If no matching field is found in this node or its descendants, returns null. 1165<P> 1166<DD><DL> 1167<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#findValue(java.lang.String)">findValue</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</A><<A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A>></CODE></DL> 1168</DD> 1169<DD><DL> 1170<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - Name of field to look for 1171<DT><B>Returns:</B><DD>Value of first matching node found, if any; null if none</DL> 1172</DD> 1173</DL> 1174<HR> 1175 1176<A NAME="findValues(java.lang.String, java.util.List)"><!-- --></A><H3> 1177findValues</H3> 1178<PRE> 1179public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> <B>findValues</B>(<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> fieldName, 1180 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> foundSoFar)</PRE> 1181<DL> 1182<DD><DL> 1183<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#findValues(java.lang.String, java.util.List)">findValues</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</A><<A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A>></CODE></DL> 1184</DD> 1185<DD><DL> 1186</DL> 1187</DD> 1188</DL> 1189<HR> 1190 1191<A NAME="findValuesAsText(java.lang.String, java.util.List)"><!-- --></A><H3> 1192findValuesAsText</H3> 1193<PRE> 1194public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<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>findValuesAsText</B>(<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> fieldName, 1195 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<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>> foundSoFar)</PRE> 1196<DL> 1197<DD><DL> 1198<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</A><<A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A>></CODE></DL> 1199</DD> 1200<DD><DL> 1201</DL> 1202</DD> 1203</DL> 1204<HR> 1205 1206<A NAME="findParent(java.lang.String)"><!-- --></A><H3> 1207findParent</H3> 1208<PRE> 1209public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>findParent</B>(<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> fieldName)</PRE> 1210<DL> 1211<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParent(java.lang.String)">JsonNode</A></CODE></B></DD> 1212<DD>Method for finding a JSON Object that contains specified field, 1213 within this node or its descendants. 1214 If no matching field is found in this node or its descendants, returns null. 1215<P> 1216<DD><DL> 1217<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#findParent(java.lang.String)">findParent</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</A><<A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A>></CODE></DL> 1218</DD> 1219<DD><DL> 1220<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - Name of field to look for 1221<DT><B>Returns:</B><DD>Value of first matching node found, if any; null if none</DL> 1222</DD> 1223</DL> 1224<HR> 1225 1226<A NAME="findParents(java.lang.String, java.util.List)"><!-- --></A><H3> 1227findParents</H3> 1228<PRE> 1229public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> <B>findParents</B>(<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> fieldName, 1230 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> foundSoFar)</PRE> 1231<DL> 1232<DD><DL> 1233<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#findParents(java.lang.String, java.util.List)">findParents</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</A><<A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A>></CODE></DL> 1234</DD> 1235<DD><DL> 1236</DL> 1237</DD> 1238</DL> 1239<HR> 1240 1241<A NAME="serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)"><!-- --></A><H3> 1242serialize</H3> 1243<PRE> 1244public final void <B>serialize</B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jg, 1245 <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A> provider) 1246 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>, 1247 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></PRE> 1248<DL> 1249<DD>Method that can be called to serialize this node and 1250 all of its descendants using specified JSON generator. 1251<P> 1252<DD><DL> 1253<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> 1254</DD> 1255<DD><DL> 1256 1257<DT><B>Throws:</B> 1258<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> 1259<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></CODE></DL> 1260</DD> 1261</DL> 1262<HR> 1263 1264<A NAME="serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)"><!-- --></A><H3> 1265serializeWithType</H3> 1266<PRE> 1267public void <B>serializeWithType</B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jg, 1268 <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A> provider, 1269 <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A> typeSer) 1270 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>, 1271 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></PRE> 1272<DL> 1273<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">BaseJsonNode</A></CODE></B></DD> 1274<DD>Type information is needed, even if JsonNode instances are "plain" JSON, 1275 since they may be mixed with other types. 1276<P> 1277<DD><DL> 1278<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">serializeWithType</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#serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">serializeWithType</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> 1279</DD> 1280<DD><DL> 1281 1282<DT><B>Throws:</B> 1283<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> 1284<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></CODE></DL> 1285</DD> 1286</DL> 1287<HR> 1288 1289<A NAME="set(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"><!-- --></A><H3> 1290set</H3> 1291<PRE> 1292public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>set</B>(<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> fieldName, 1293 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> value)</PRE> 1294<DL> 1295<DD>Method that will set specified field, replacing old value, if any. 1296 Note that this is identical to <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#replace(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"><CODE>replace(String, JsonNode)</CODE></A>, 1297 except for return value. 1298<p> 1299 NOTE: added to replace those uses of <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"><CODE>put(String, JsonNode)</CODE></A> 1300 where chaining with 'this' is desired. 1301<P> 1302<DD><DL> 1303<DT><B>Parameters:</B><DD><CODE>value</CODE> - to set field to; if null, will be converted 1304 to a <A HREF="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node"><CODE>NullNode</CODE></A> first (to remove field entry, call 1305 <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#remove(java.lang.String)"><CODE>remove(java.lang.String)</CODE></A> instead) 1306<DT><B>Returns:</B><DD>This node after adding/replacing property value (to allow chaining)<DT><B>Since:</B></DT> 1307 <DD>2.1</DD> 1308</DL> 1309</DD> 1310</DL> 1311<HR> 1312 1313<A NAME="setAll(java.util.Map)"><!-- --></A><H3> 1314setAll</H3> 1315<PRE> 1316public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>setAll</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<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>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> properties)</PRE> 1317<DL> 1318<DD>Method for adding given properties to this object node, overriding 1319 any existing values for those properties. 1320<P> 1321<DD><DL> 1322<DT><B>Parameters:</B><DD><CODE>properties</CODE> - Properties to add 1323<DT><B>Returns:</B><DD>This node after adding/replacing property values (to allow chaining)<DT><B>Since:</B></DT> 1324 <DD>2.1</DD> 1325</DL> 1326</DD> 1327</DL> 1328<HR> 1329 1330<A NAME="setAll(com.fasterxml.jackson.databind.node.ObjectNode)"><!-- --></A><H3> 1331setAll</H3> 1332<PRE> 1333public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>setAll</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> other)</PRE> 1334<DL> 1335<DD>Method for adding all properties of the given Object, overriding 1336 any existing values for those properties. 1337<P> 1338<DD><DL> 1339<DT><B>Parameters:</B><DD><CODE>other</CODE> - Object of which properties to add to this object 1340<DT><B>Returns:</B><DD>This node after addition (to allow chaining)<DT><B>Since:</B></DT> 1341 <DD>2.1</DD> 1342</DL> 1343</DD> 1344</DL> 1345<HR> 1346 1347<A NAME="replace(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"><!-- --></A><H3> 1348replace</H3> 1349<PRE> 1350public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>replace</B>(<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> fieldName, 1351 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> value)</PRE> 1352<DL> 1353<DD>Method for replacing value of specific property with passed 1354 value, and returning value (or null if none). 1355<P> 1356<DD><DL> 1357<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - Property of which value to replace<DD><CODE>value</CODE> - Value to set property to, replacing old value if any 1358<DT><B>Returns:</B><DD>Old value of the property; null if there was no such property 1359 with value<DT><B>Since:</B></DT> 1360 <DD>2.1</DD> 1361</DL> 1362</DD> 1363</DL> 1364<HR> 1365 1366<A NAME="without(java.lang.String)"><!-- --></A><H3> 1367without</H3> 1368<PRE> 1369public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>without</B>(<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> fieldName)</PRE> 1370<DL> 1371<DD>Method for removing field entry from this ObjectNode, and 1372 returning instance after removal. 1373<P> 1374<DD><DL> 1375 1376<DT><B>Returns:</B><DD>This node after removing entry (if any)<DT><B>Since:</B></DT> 1377 <DD>2.1</DD> 1378</DL> 1379</DD> 1380</DL> 1381<HR> 1382 1383<A NAME="without(java.util.Collection)"><!-- --></A><H3> 1384without</H3> 1385<PRE> 1386public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>without</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<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>> fieldNames)</PRE> 1387<DL> 1388<DD>Method for removing specified field properties out of 1389 this ObjectNode. 1390<P> 1391<DD><DL> 1392<DT><B>Parameters:</B><DD><CODE>fieldNames</CODE> - Names of fields to remove 1393<DT><B>Returns:</B><DD>This node after removing entries<DT><B>Since:</B></DT> 1394 <DD>2.1</DD> 1395</DL> 1396</DD> 1397</DL> 1398<HR> 1399 1400<A NAME="put(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"><!-- --></A><H3> 1401put</H3> 1402<PRE> 1403public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>put</B>(<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> fieldName, 1404 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> value)</PRE> 1405<DL> 1406<DD>Method that will set specified field, replacing old value, if any. 1407<P> 1408<DD><DL> 1409<DT><B>Parameters:</B><DD><CODE>value</CODE> - to set field to; if null, will be converted 1410 to a <A HREF="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node"><CODE>NullNode</CODE></A> first (to remove field entry, call 1411 <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#remove(java.lang.String)"><CODE>remove(java.lang.String)</CODE></A> instead) 1412<p> 1413 NOTE: this method will be <b>deprecated</b> in 2.2; and should 1414 be replace with either 1415 <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#set(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"><CODE>set(String,JsonNode)</CODE></A> or <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#replace(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"><CODE>replace(String,JsonNode)</CODE></A>, 1416 depending on which return value is desired for possible chaining. 1417<DT><B>Returns:</B><DD>Old value of the field, if any; null if there was no 1418 old value.</DL> 1419</DD> 1420</DL> 1421<HR> 1422 1423<A NAME="remove(java.lang.String)"><!-- --></A><H3> 1424remove</H3> 1425<PRE> 1426public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>remove</B>(<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> fieldName)</PRE> 1427<DL> 1428<DD>Method for removing field entry from this ObjectNode. 1429 Will return value of the field, if such field existed; 1430 null if not. 1431<P> 1432<DD><DL> 1433 1434<DT><B>Returns:</B><DD>Value of specified field, if it existed; null if not</DL> 1435</DD> 1436</DL> 1437<HR> 1438 1439<A NAME="remove(java.util.Collection)"><!-- --></A><H3> 1440remove</H3> 1441<PRE> 1442public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>remove</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<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>> fieldNames)</PRE> 1443<DL> 1444<DD>Method for removing specified field properties out of 1445 this ObjectNode. 1446<P> 1447<DD><DL> 1448<DT><B>Parameters:</B><DD><CODE>fieldNames</CODE> - Names of fields to remove 1449<DT><B>Returns:</B><DD>This node after removing entries</DL> 1450</DD> 1451</DL> 1452<HR> 1453 1454<A NAME="removeAll()"><!-- --></A><H3> 1455removeAll</H3> 1456<PRE> 1457public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>removeAll</B>()</PRE> 1458<DL> 1459<DD>Method for removing all field properties, such that this 1460 ObjectNode will contain no properties after call. 1461<P> 1462<DD><DL> 1463<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#removeAll()">removeAll</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</A><<A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A>></CODE></DL> 1464</DD> 1465<DD><DL> 1466 1467<DT><B>Returns:</B><DD>This node after removing all entries</DL> 1468</DD> 1469</DL> 1470<HR> 1471 1472<A NAME="putAll(java.util.Map)"><!-- --></A><H3> 1473putAll</H3> 1474<PRE> 1475public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>putAll</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<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>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> properties)</PRE> 1476<DL> 1477<DD>Method for adding given properties to this object node, overriding 1478 any existing values for those properties. 1479<p> 1480 NOTE: this method will be <b>deprecated</b> in 2.2; and should 1481 be replace with <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#setAll(java.util.Map)"><CODE>setAll(Map)</CODE></A>. 1482<P> 1483<DD><DL> 1484<DT><B>Parameters:</B><DD><CODE>properties</CODE> - Properties to add 1485<DT><B>Returns:</B><DD>This node after adding/replacing property values (to allow chaining)</DL> 1486</DD> 1487</DL> 1488<HR> 1489 1490<A NAME="putAll(com.fasterxml.jackson.databind.node.ObjectNode)"><!-- --></A><H3> 1491putAll</H3> 1492<PRE> 1493public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>putAll</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> other)</PRE> 1494<DL> 1495<DD>Method for adding all properties of the given Object, overriding 1496 any existing values for those properties. 1497<p> 1498 NOTE: this method will be <b>deprecated</b> in 2.2; and should 1499 be replace with <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#setAll(com.fasterxml.jackson.databind.node.ObjectNode)"><CODE>setAll(ObjectNode)</CODE></A>. 1500<P> 1501<DD><DL> 1502<DT><B>Parameters:</B><DD><CODE>other</CODE> - Object of which properties to add to this object 1503<DT><B>Returns:</B><DD>This node (to allow chaining)</DL> 1504</DD> 1505</DL> 1506<HR> 1507 1508<A NAME="retain(java.util.Collection)"><!-- --></A><H3> 1509retain</H3> 1510<PRE> 1511public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>retain</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<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>> fieldNames)</PRE> 1512<DL> 1513<DD>Method for removing all field properties out of this ObjectNode 1514 <b>except</b> for ones specified in argument. 1515<P> 1516<DD><DL> 1517<DT><B>Parameters:</B><DD><CODE>fieldNames</CODE> - Fields to <b>retain</b> in this ObjectNode 1518<DT><B>Returns:</B><DD>This node (to allow call chaining)</DL> 1519</DD> 1520</DL> 1521<HR> 1522 1523<A NAME="retain(java.lang.String...)"><!-- --></A><H3> 1524retain</H3> 1525<PRE> 1526public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>retain</B>(<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>... fieldNames)</PRE> 1527<DL> 1528<DD>Method for removing all field properties out of this ObjectNode 1529 <b>except</b> for ones specified in argument. 1530<P> 1531<DD><DL> 1532<DT><B>Parameters:</B><DD><CODE>fieldNames</CODE> - Fields to <b>retain</b> in this ObjectNode 1533<DT><B>Returns:</B><DD>This node (to allow call chaining)</DL> 1534</DD> 1535</DL> 1536<HR> 1537 1538<A NAME="putArray(java.lang.String)"><!-- --></A><H3> 1539putArray</H3> 1540<PRE> 1541public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</A> <B>putArray</B>(<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> fieldName)</PRE> 1542<DL> 1543<DD>Method that will construct an ArrayNode and add it as a 1544 field of this ObjectNode, replacing old value, if any. 1545<p> 1546 <b>NOTE</b>: Unlike all <b>put(...)</b> methods, return value 1547 is <b>NOT</b> this <code>ObjectNode</code>, but the 1548 <b>newly created</b> <code>ArrayNode</code> instance. 1549<P> 1550<DD><DL> 1551 1552<DT><B>Returns:</B><DD>Newly constructed ArrayNode (NOT the old value, 1553 which could be of any type)</DL> 1554</DD> 1555</DL> 1556<HR> 1557 1558<A NAME="putObject(java.lang.String)"><!-- --></A><H3> 1559putObject</H3> 1560<PRE> 1561public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>putObject</B>(<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> fieldName)</PRE> 1562<DL> 1563<DD>Method that will construct an ObjectNode and add it as a 1564 field of this ObjectNode, replacing old value, if any. 1565<p> 1566 <b>NOTE</b>: Unlike all <b>put(...)</b> methods, return value 1567 is <b>NOT</b> this <code>ObjectNode</code>, but the 1568 <b>newly created</b> <code>ObjectNode</code> instance. 1569<P> 1570<DD><DL> 1571 1572<DT><B>Returns:</B><DD>Newly constructed ObjectNode (NOT the old value, 1573 which could be of any type)</DL> 1574</DD> 1575</DL> 1576<HR> 1577 1578<A NAME="putPOJO(java.lang.String, java.lang.Object)"><!-- --></A><H3> 1579putPOJO</H3> 1580<PRE> 1581public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>putPOJO</B>(<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> fieldName, 1582 <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> pojo)</PRE> 1583<DL> 1584<DD><DL> 1585 1586<DT><B>Returns:</B><DD>This node (to allow chaining)</DL> 1587</DD> 1588</DL> 1589<HR> 1590 1591<A NAME="putNull(java.lang.String)"><!-- --></A><H3> 1592putNull</H3> 1593<PRE> 1594public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>putNull</B>(<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> fieldName)</PRE> 1595<DL> 1596<DD><DL> 1597 1598<DT><B>Returns:</B><DD>This node (to allow chaining)</DL> 1599</DD> 1600</DL> 1601<HR> 1602 1603<A NAME="put(java.lang.String, int)"><!-- --></A><H3> 1604put</H3> 1605<PRE> 1606public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>put</B>(<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> fieldName, 1607 int v)</PRE> 1608<DL> 1609<DD>Method for setting value of a field to specified numeric value. 1610<P> 1611<DD><DL> 1612 1613<DT><B>Returns:</B><DD>This node (to allow chaining)</DL> 1614</DD> 1615</DL> 1616<HR> 1617 1618<A NAME="put(java.lang.String, java.lang.Integer)"><!-- --></A><H3> 1619put</H3> 1620<PRE> 1621public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>put</B>(<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> fieldName, 1622 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A> value)</PRE> 1623<DL> 1624<DD>Alternative method that we need to avoid bumping into NPE issues 1625 with auto-unboxing. 1626<P> 1627<DD><DL> 1628 1629<DT><B>Returns:</B><DD>This node (to allow chaining)</DL> 1630</DD> 1631</DL> 1632<HR> 1633 1634<A NAME="put(java.lang.String, long)"><!-- --></A><H3> 1635put</H3> 1636<PRE> 1637public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>put</B>(<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> fieldName, 1638 long v)</PRE> 1639<DL> 1640<DD>Method for setting value of a field to specified numeric value. 1641<P> 1642<DD><DL> 1643 1644<DT><B>Returns:</B><DD>This node (to allow chaining)</DL> 1645</DD> 1646</DL> 1647<HR> 1648 1649<A NAME="put(java.lang.String, java.lang.Long)"><!-- --></A><H3> 1650put</H3> 1651<PRE> 1652public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>put</B>(<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> fieldName, 1653 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</A> value)</PRE> 1654<DL> 1655<DD>Alternative method that we need to avoid bumping into NPE issues 1656 with auto-unboxing. 1657<P> 1658<DD><DL> 1659 1660<DT><B>Returns:</B><DD>This node (to allow chaining)</DL> 1661</DD> 1662</DL> 1663<HR> 1664 1665<A NAME="put(java.lang.String, float)"><!-- --></A><H3> 1666put</H3> 1667<PRE> 1668public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>put</B>(<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> fieldName, 1669 float v)</PRE> 1670<DL> 1671<DD>Method for setting value of a field to specified numeric value. 1672<P> 1673<DD><DL> 1674 1675<DT><B>Returns:</B><DD>This node (to allow chaining)</DL> 1676</DD> 1677</DL> 1678<HR> 1679 1680<A NAME="put(java.lang.String, java.lang.Float)"><!-- --></A><H3> 1681put</H3> 1682<PRE> 1683public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>put</B>(<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> fieldName, 1684 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</A> value)</PRE> 1685<DL> 1686<DD>Alternative method that we need to avoid bumping into NPE issues 1687 with auto-unboxing. 1688<P> 1689<DD><DL> 1690 1691<DT><B>Returns:</B><DD>This node (to allow chaining)</DL> 1692</DD> 1693</DL> 1694<HR> 1695 1696<A NAME="put(java.lang.String, double)"><!-- --></A><H3> 1697put</H3> 1698<PRE> 1699public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>put</B>(<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> fieldName, 1700 double v)</PRE> 1701<DL> 1702<DD>Method for setting value of a field to specified numeric value. 1703<P> 1704<DD><DL> 1705 1706<DT><B>Returns:</B><DD>This node (to allow chaining)</DL> 1707</DD> 1708</DL> 1709<HR> 1710 1711<A NAME="put(java.lang.String, java.lang.Double)"><!-- --></A><H3> 1712put</H3> 1713<PRE> 1714public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>put</B>(<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> fieldName, 1715 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</A> value)</PRE> 1716<DL> 1717<DD>Alternative method that we need to avoid bumping into NPE issues 1718 with auto-unboxing. 1719<P> 1720<DD><DL> 1721 1722<DT><B>Returns:</B><DD>This node (to allow chaining)</DL> 1723</DD> 1724</DL> 1725<HR> 1726 1727<A NAME="put(java.lang.String, java.math.BigDecimal)"><!-- --></A><H3> 1728put</H3> 1729<PRE> 1730public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>put</B>(<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> fieldName, 1731 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> v)</PRE> 1732<DL> 1733<DD>Method for setting value of a field to specified numeric value. 1734<P> 1735<DD><DL> 1736 1737<DT><B>Returns:</B><DD>This node (to allow chaining)</DL> 1738</DD> 1739</DL> 1740<HR> 1741 1742<A NAME="put(java.lang.String, java.lang.String)"><!-- --></A><H3> 1743put</H3> 1744<PRE> 1745public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>put</B>(<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> fieldName, 1746 <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> v)</PRE> 1747<DL> 1748<DD>Method for setting value of a field to specified String value. 1749<P> 1750<DD><DL> 1751 1752<DT><B>Returns:</B><DD>This node (to allow chaining)</DL> 1753</DD> 1754</DL> 1755<HR> 1756 1757<A NAME="put(java.lang.String, boolean)"><!-- --></A><H3> 1758put</H3> 1759<PRE> 1760public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>put</B>(<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> fieldName, 1761 boolean v)</PRE> 1762<DL> 1763<DD>Method for setting value of a field to specified String value. 1764<P> 1765<DD><DL> 1766 1767<DT><B>Returns:</B><DD>This node (to allow chaining)</DL> 1768</DD> 1769</DL> 1770<HR> 1771 1772<A NAME="put(java.lang.String, java.lang.Boolean)"><!-- --></A><H3> 1773put</H3> 1774<PRE> 1775public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>put</B>(<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> fieldName, 1776 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A> value)</PRE> 1777<DL> 1778<DD>Alternative method that we need to avoid bumping into NPE issues 1779 with auto-unboxing. 1780<P> 1781<DD><DL> 1782 1783<DT><B>Returns:</B><DD>This node (to allow chaining)</DL> 1784</DD> 1785</DL> 1786<HR> 1787 1788<A NAME="put(java.lang.String, byte[])"><!-- --></A><H3> 1789put</H3> 1790<PRE> 1791public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>put</B>(<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> fieldName, 1792 byte[] v)</PRE> 1793<DL> 1794<DD>Method for setting value of a field to specified binary value 1795<P> 1796<DD><DL> 1797 1798<DT><B>Returns:</B><DD>This node (to allow chaining)</DL> 1799</DD> 1800</DL> 1801<HR> 1802 1803<A NAME="_createMap()"><!-- --></A><H3> 1804_createMap</H3> 1805<PRE> 1806protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<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>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> <B>_createMap</B>()</PRE> 1807<DL> 1808<DD>Internal factory method for creating <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A> used for storing 1809 child nodes. 1810 Overridable by sub-classes, used when caller does not know what 1811 optimal size would, used for example when constructing a Map when adding 1812 the first one. 1813<P> 1814<DD><DL> 1815<DT><B>Since:</B></DT> 1816 <DD>2.1</DD> 1817</DL> 1818</DD> 1819</DL> 1820<HR> 1821 1822<A NAME="_createMap(int)"><!-- --></A><H3> 1823_createMap</H3> 1824<PRE> 1825protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<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>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> <B>_createMap</B>(int defaultSize)</PRE> 1826<DL> 1827<DD>Internal factory method for creating <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A> used for storing 1828 child nodes. 1829 Overridable by sub-classes, used when caller has an idea of what 1830 optimal size should be: used when copying contents of an existing node. 1831<P> 1832<DD><DL> 1833<DT><B>Since:</B></DT> 1834 <DD>2.1</DD> 1835</DL> 1836</DD> 1837</DL> 1838<HR> 1839 1840<A NAME="putContentsTo(java.util.Map)"><!-- --></A><H3> 1841putContentsTo</H3> 1842<PRE> 1843protected void <B>putContentsTo</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<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>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> dst)</PRE> 1844<DL> 1845<DD><DL> 1846</DL> 1847</DD> 1848</DL> 1849<HR> 1850 1851<A NAME="equals(java.lang.Object)"><!-- --></A><H3> 1852equals</H3> 1853<PRE> 1854public 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> 1855<DL> 1856<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">JsonNode</A></CODE></B></DD> 1857<DD>Equality for node objects is defined as full (deep) value 1858 equality. This means that it is possible to compare complete 1859 JSON trees for equality by comparing equality of root nodes. 1860<p> 1861 Note: marked as abstract to ensure all implementation 1862 classes define it properly and not rely on definition 1863 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>. 1864<P> 1865<DD><DL> 1866<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> 1867</DD> 1868<DD><DL> 1869</DL> 1870</DD> 1871</DL> 1872<HR> 1873 1874<A NAME="hashCode()"><!-- --></A><H3> 1875hashCode</H3> 1876<PRE> 1877public int <B>hashCode</B>()</PRE> 1878<DL> 1879<DD><DL> 1880<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> 1881</DD> 1882<DD><DL> 1883</DL> 1884</DD> 1885</DL> 1886<HR> 1887 1888<A NAME="toString()"><!-- --></A><H3> 1889toString</H3> 1890<PRE> 1891public <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> 1892<DL> 1893<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toString()">JsonNode</A></CODE></B></DD> 1894<DD><p> 1895 Note: marked as abstract to ensure all implementation 1896 classes define it properly. 1897<P> 1898<DD><DL> 1899<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> 1900</DD> 1901<DD><DL> 1902</DL> 1903</DD> 1904</DL> 1905<!-- ========= END OF CLASS DATA ========= --> 1906<HR> 1907 1908 1909<!-- ======= START OF BOTTOM NAVBAR ====== --> 1910<A NAME="navbar_bottom"><!-- --></A> 1911<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 1912<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 1913<TR> 1914<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 1915<A NAME="navbar_bottom_firstrow"><!-- --></A> 1916<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 1917 <TR ALIGN="center" VALIGN="top"> 1918 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 1919 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 1920 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 1921 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ObjectNode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 1922 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 1923 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 1924 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 1925 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 1926 </TR> 1927</TABLE> 1928</TD> 1929<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 1930</EM> 1931</TD> 1932</TR> 1933 1934<TR> 1935<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 1936 <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node"><B>PREV CLASS</B></A> 1937 <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.NoFieldsIterator.html" title="class in com.fasterxml.jackson.databind.node"><B>NEXT CLASS</B></A></FONT></TD> 1938<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 1939 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/node/ObjectNode.html" target="_top"><B>FRAMES</B></A> 1940 <A HREF="ObjectNode.html" target="_top"><B>NO FRAMES</B></A> 1941 <SCRIPT type="text/javascript"> 1942 <!-- 1943 if(window==top) { 1944 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 1945 } 1946 //--> 1947</SCRIPT> 1948<NOSCRIPT> 1949 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 1950</NOSCRIPT> 1951 1952 1953</FONT></TD> 1954</TR> 1955<TR> 1956<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 1957 SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 1958<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 1959DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 1960</TR> 1961</TABLE> 1962<A NAME="skip-navbar_bottom"></A> 1963<!-- ======== END OF BOTTOM NAVBAR ======= --> 1964 1965<HR> 1966Copyright © 2012 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved. 1967</BODY> 1968</HTML> 1969