1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!--NewPage--> 3<HTML> 4<HEAD> 5<!-- Generated by javadoc (build 1.6.0_29) on Mon Mar 26 19:07:17 PDT 2012 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8ObjectNode (jackson-databind 2.0.0 API) 9</TITLE> 10 11<META NAME="date" CONTENT="2012-03-26"> 12 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> 14 15<SCRIPT type="text/javascript"> 16function windowTitle() 17{ 18 if (location.href.indexOf('is-external=true') == -1) { 19 parent.document.title="ObjectNode (jackson-databind 2.0.0 API)"; 20 } 21} 22</SCRIPT> 23<NOSCRIPT> 24</NOSCRIPT> 25 26</HEAD> 27 28<BODY BGCOLOR="white" onload="windowTitle();"> 29<HR> 30 31 32<!-- ========= START OF TOP NAVBAR ======= --> 33<A NAME="navbar_top"><!-- --></A> 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 36<TR> 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 38<A NAME="navbar_top_firstrow"><!-- --></A> 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 40 <TR ALIGN="center" VALIGN="top"> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/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>com.fasterxml.jackson.core.TreeNode, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>></DD> 104</DL> 105<HR> 106<DL> 107<DT><PRE>public 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/LinkedHashMap.html?is-external=true" title="class or interface in java.util">LinkedHashMap</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.LinkedHashMap)">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/LinkedHashMap.html?is-external=true" title="class or interface in java.util">LinkedHashMap</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> com.fasterxml.jackson.core.JsonToken</CODE></FONT></TD> 219<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#asToken()">asToken</A></B>()</CODE> 220 221<BR> 222 Method that can be used for efficient type detection 223 when using stream abstraction for traversing nodes.</TD> 224</TR> 225<TR BGCOLOR="white" CLASS="TableRowColor"> 226<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 227<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 228<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#deepCopy()">deepCopy</A></B>()</CODE> 229 230<BR> 231 Method that can be called to get a node that is guaranteed 232 not to allow changing of this node through mutators on 233 this node or any of its children.</TD> 234</TR> 235<TR BGCOLOR="white" CLASS="TableRowColor"> 236<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 237<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> 238<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#elements()">elements</A></B>()</CODE> 239 240<BR> 241 Method for accessing all value nodes of this Node, iff 242 this node is a JSON Array or Object node.</TD> 243</TR> 244<TR BGCOLOR="white" CLASS="TableRowColor"> 245<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 246<CODE> boolean</CODE></FONT></TD> 247<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> 248 249<BR> 250 Equality for node objects is defined as full (deep) value 251 equality.</TD> 252</TR> 253<TR BGCOLOR="white" CLASS="TableRowColor"> 254<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 255<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> 256<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#fieldNames()">fieldNames</A></B>()</CODE> 257 258<BR> 259 Method for accessing names of all fields for this Node, iff 260 this node is a JSON Object node.</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="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> 265<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#fields()">fields</A></B>()</CODE> 266 267<BR> 268 Method to use for accessing all fields (with both names 269 and values) of this JSON Object.</TD> 270</TR> 271<TR BGCOLOR="white" CLASS="TableRowColor"> 272<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 273<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 274<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> 275 276<BR> 277 Method for finding a JSON Object that contains specified field, 278 within this node or its descendants.</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/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> 283<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, 284 <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> 285 286<BR> 287 </TD> 288</TR> 289<TR BGCOLOR="white" CLASS="TableRowColor"> 290<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 291<CODE> <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#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> 293 294<BR> 295 Method for finding a JSON Object field with specified name in this 296 node or its child nodes, and returning value it has.</TD> 297</TR> 298<TR BGCOLOR="white" CLASS="TableRowColor"> 299<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 300<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> 301<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, 302 <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> 303 304<BR> 305 </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="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> 310<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, 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="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> 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#get(int)">get</A></B>(int index)</CODE> 320 321<BR> 322 Method for accessing value of the specified element of 323 an array node.</TD> 324</TR> 325<TR BGCOLOR="white" CLASS="TableRowColor"> 326<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 327<CODE> <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#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> 329 330<BR> 331 Method for accessing value of the specified field of 332 an object node.</TD> 333</TR> 334<TR BGCOLOR="white" CLASS="TableRowColor"> 335<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 336<CODE> int</CODE></FONT></TD> 337<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#hashCode()">hashCode</A></B>()</CODE> 338 339<BR> 340 </TD> 341</TR> 342<TR BGCOLOR="white" CLASS="TableRowColor"> 343<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 344<CODE> boolean</CODE></FONT></TD> 345<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#isObject()">isObject</A></B>()</CODE> 346 347<BR> 348 </TD> 349</TR> 350<TR BGCOLOR="white" CLASS="TableRowColor"> 351<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 352<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 353<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#path(int)">path</A></B>(int index)</CODE> 354 355<BR> 356 This method is similar to <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)"><CODE>JsonNode.get(int)</CODE></A>, except 357 that instead of returning null if no such element exists (due 358 to index being out of range, or this node not being an array), 359 a "missing node" (node that returns true for 360 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>JsonNode.isMissingNode()</CODE></A>) will be returned.</TD> 361</TR> 362<TR BGCOLOR="white" CLASS="TableRowColor"> 363<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 364<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 365<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> 366 367<BR> 368 This method is similar to <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)"><CODE>JsonNode.get(String)</CODE></A>, except 369 that instead of returning null if no such value exists (due 370 to this node not being an object, or object not having value 371 for the specified field), 372 a "missing node" (node that returns true for 373 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>JsonNode.isMissingNode()</CODE></A>) will be returned.</TD> 374</TR> 375<TR BGCOLOR="white" CLASS="TableRowColor"> 376<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 377<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 378<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, 379 <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> 380 381<BR> 382 Method for setting value of a field to specified numeric value.</TD> 383</TR> 384<TR BGCOLOR="white" CLASS="TableRowColor"> 385<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 386<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 387<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, 388 boolean v)</CODE> 389 390<BR> 391 Method for setting value of a field to specified String value.</TD> 392</TR> 393<TR BGCOLOR="white" CLASS="TableRowColor"> 394<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 395<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 396<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, 397 <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> 398 399<BR> 400 Alternative method that we need to avoid bumping into NPE issues 401 with auto-unboxing.</TD> 402</TR> 403<TR BGCOLOR="white" CLASS="TableRowColor"> 404<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 405<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 406<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, 407 byte[] v)</CODE> 408 409<BR> 410 Method for setting value of a field to specified binary value</TD> 411</TR> 412<TR BGCOLOR="white" CLASS="TableRowColor"> 413<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 414<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 415<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, 416 double v)</CODE> 417 418<BR> 419 Method for setting value of a field to specified numeric value.</TD> 420</TR> 421<TR BGCOLOR="white" CLASS="TableRowColor"> 422<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 423<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 424<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, 425 <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> 426 427<BR> 428 Alternative method that we need to avoid bumping into NPE issues 429 with auto-unboxing.</TD> 430</TR> 431<TR BGCOLOR="white" CLASS="TableRowColor"> 432<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 433<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 434<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, 435 float v)</CODE> 436 437<BR> 438 Method for setting value of a field to specified numeric value.</TD> 439</TR> 440<TR BGCOLOR="white" CLASS="TableRowColor"> 441<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 442<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 443<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, 444 <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> 445 446<BR> 447 Alternative method that we need to avoid bumping into NPE issues 448 with auto-unboxing.</TD> 449</TR> 450<TR BGCOLOR="white" CLASS="TableRowColor"> 451<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 452<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 453<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, 454 int v)</CODE> 455 456<BR> 457 Method for setting value of a field to specified numeric value.</TD> 458</TR> 459<TR BGCOLOR="white" CLASS="TableRowColor"> 460<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 461<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 462<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, 463 <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> 464 465<BR> 466 Alternative method that we need to avoid bumping into NPE issues 467 with auto-unboxing.</TD> 468</TR> 469<TR BGCOLOR="white" CLASS="TableRowColor"> 470<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 471<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 472<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, 473 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> value)</CODE> 474 475<BR> 476 Method that will set specified field, replacing old value, 477 if any.</TD> 478</TR> 479<TR BGCOLOR="white" CLASS="TableRowColor"> 480<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 481<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 482<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, 483 long v)</CODE> 484 485<BR> 486 Method for setting value of a field to specified numeric value.</TD> 487</TR> 488<TR BGCOLOR="white" CLASS="TableRowColor"> 489<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 490<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 491<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, 492 <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> 493 494<BR> 495 Alternative method that we need to avoid bumping into NPE issues 496 with auto-unboxing.</TD> 497</TR> 498<TR BGCOLOR="white" CLASS="TableRowColor"> 499<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 500<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 501<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, 502 <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> 503 504<BR> 505 Method for setting value of a field to specified String value.</TD> 506</TR> 507<TR BGCOLOR="white" CLASS="TableRowColor"> 508<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 509<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 510<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> 511 512<BR> 513 Method for adding given properties to this object node, overriding 514 any existing values for those properties.</TD> 515</TR> 516<TR BGCOLOR="white" CLASS="TableRowColor"> 517<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 518<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 519<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> 520 521<BR> 522 Method for adding all properties of the given Object, overriding 523 any existing values for those properties.</TD> 524</TR> 525<TR BGCOLOR="white" CLASS="TableRowColor"> 526<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 527<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</A></CODE></FONT></TD> 528<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> 529 530<BR> 531 Method that will construct an ArrayNode and add it as a 532 field of this ObjectNode, replacing old value, if any.</TD> 533</TR> 534<TR BGCOLOR="white" CLASS="TableRowColor"> 535<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 536<CODE>protected void</CODE></FONT></TD> 537<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> 538 539<BR> 540 </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/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 545<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> 546 547<BR> 548 </TD> 549</TR> 550<TR BGCOLOR="white" CLASS="TableRowColor"> 551<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 552<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 553<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> 554 555<BR> 556 Method that will construct an ObjectNode and add it as a 557 field of this ObjectNode, replacing old value, if any.</TD> 558</TR> 559<TR BGCOLOR="white" CLASS="TableRowColor"> 560<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 561<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 562<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, 563 <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> 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#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> 572 573<BR> 574 Method for removing specified field properties out of 575 this ObjectNode.</TD> 576</TR> 577<TR BGCOLOR="white" CLASS="TableRowColor"> 578<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 579<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> 580<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> 581 582<BR> 583 Method for removing field entry from this ObjectNode.</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#removeAll()">removeAll</A></B>()</CODE> 589 590<BR> 591 Method for removing all field properties, such that this 592 ObjectNode will contain no properties after call.</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#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> 598 599<BR> 600 Method for removing all field properties out of this ObjectNode 601 <b>except</b> for ones specified in argument.</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/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 606<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> 607 608<BR> 609 Method for removing all field properties out of this ObjectNode 610 <b>except</b> for ones specified in argument.</TD> 611</TR> 612<TR BGCOLOR="white" CLASS="TableRowColor"> 613<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 614<CODE> void</CODE></FONT></TD> 615<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>(com.fasterxml.jackson.core.JsonGenerator jg, 616 <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A> provider)</CODE> 617 618<BR> 619 Method that can be called to serialize this node and 620 all of its descendants using specified JSON generator.</TD> 621</TR> 622<TR BGCOLOR="white" CLASS="TableRowColor"> 623<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 624<CODE> void</CODE></FONT></TD> 625<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>(com.fasterxml.jackson.core.JsonGenerator jg, 626 <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A> provider, 627 <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A> typeSer)</CODE> 628 629<BR> 630 Type information is needed, even if JsonNode instances are "plain" JSON, 631 since they may be mixed with other types.</TD> 632</TR> 633<TR BGCOLOR="white" CLASS="TableRowColor"> 634<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 635<CODE> int</CODE></FONT></TD> 636<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#size()">size</A></B>()</CODE> 637 638<BR> 639 Method that returns number of child nodes this node contains: 640 for Array nodes, number of child elements, for Object nodes, 641 number of fields, and for all other nodes 0.</TD> 642</TR> 643<TR BGCOLOR="white" CLASS="TableRowColor"> 644<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 645<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> 646<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#toString()">toString</A></B>()</CODE> 647 648<BR> 649 650 Note: marked as abstract to ensure all implementation 651 classes define it properly.</TD> 652</TR> 653<TR BGCOLOR="white" CLASS="TableRowColor"> 654<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 655<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> 656<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> 657 658<BR> 659 Method that can be called on Object nodes, to access a property 660 that has Object value; or if no such property exists, to create, 661 add and return such Object node.</TD> 662</TR> 663<TR BGCOLOR="white" CLASS="TableRowColor"> 664<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 665<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</A></CODE></FONT></TD> 666<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> 667 668<BR> 669 Method that can be called on Object nodes, to access a property 670 that has <code>Array</code> value; or if no such property exists, to create, 671 add and return such Array node.</TD> 672</TR> 673</TABLE> 674 <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.node.ContainerNode"><!-- --></A> 675<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 676<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 677<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> 678</TR> 679<TR BGCOLOR="white" CLASS="TableRowColor"> 680<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> 681</TR> 682</TABLE> 683 <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.node.BaseJsonNode"><!-- --></A> 684<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 685<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 686<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> 687</TR> 688<TR BGCOLOR="white" CLASS="TableRowColor"> 689<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> 690</TR> 691</TABLE> 692 <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"><!-- --></A> 693<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 694<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 695<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> 696</TR> 697<TR BGCOLOR="white" CLASS="TableRowColor"> 698<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#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> 699</TR> 700</TABLE> 701 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 702<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 703<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 704<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> 705</TR> 706<TR BGCOLOR="white" CLASS="TableRowColor"> 707<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> 708</TR> 709</TABLE> 710 711<P> 712 713<!-- ============ FIELD DETAIL =========== --> 714 715<A NAME="field_detail"><!-- --></A> 716<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 717<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 718<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 719<B>Field Detail</B></FONT></TH> 720</TR> 721</TABLE> 722 723<A NAME="_children"><!-- --></A><H3> 724_children</H3> 725<PRE> 726protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util">LinkedHashMap</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> 727<DL> 728<DL> 729</DL> 730</DL> 731 732<!-- ========= CONSTRUCTOR DETAIL ======== --> 733 734<A NAME="constructor_detail"><!-- --></A> 735<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 736<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 737<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 738<B>Constructor Detail</B></FONT></TH> 739</TR> 740</TABLE> 741 742<A NAME="ObjectNode(com.fasterxml.jackson.databind.node.JsonNodeFactory)"><!-- --></A><H3> 743ObjectNode</H3> 744<PRE> 745public <B>ObjectNode</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</A> nc)</PRE> 746<DL> 747</DL> 748<HR> 749 750<A NAME="ObjectNode(com.fasterxml.jackson.databind.node.JsonNodeFactory, java.util.LinkedHashMap)"><!-- --></A><H3> 751ObjectNode</H3> 752<PRE> 753protected <B>ObjectNode</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</A> nc, 754 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util">LinkedHashMap</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> 755<DL> 756</DL> 757 758<!-- ============ METHOD DETAIL ========== --> 759 760<A NAME="method_detail"><!-- --></A> 761<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 762<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 763<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 764<B>Method Detail</B></FONT></TH> 765</TR> 766</TABLE> 767 768<A NAME="deepCopy()"><!-- --></A><H3> 769deepCopy</H3> 770<PRE> 771public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>deepCopy</B>()</PRE> 772<DL> 773<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#deepCopy()">JsonNode</A></CODE></B></DD> 774<DD>Method that can be called to get a node that is guaranteed 775 not to allow changing of this node through mutators on 776 this node or any of its children. 777 This means it can either make a copy of this node (and all 778 mutable children and grand children nodes), or node itself 779 if it is immutable. 780<p> 781 Note: return type is guaranteed to have same type as the 782 node method is called on; which is why method is declared 783 with local generic type. 784<P> 785<DD><DL> 786<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> 787</DD> 788<DD><DL> 789 790<DT><B>Returns:</B><DD>Node that is either a copy of this node (and all non-leaf 791 children); or, for immutable leaf nodes, node itself.</DL> 792</DD> 793</DL> 794<HR> 795 796<A NAME="asToken()"><!-- --></A><H3> 797asToken</H3> 798<PRE> 799public com.fasterxml.jackson.core.JsonToken <B>asToken</B>()</PRE> 800<DL> 801<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">BaseJsonNode</A></CODE></B></DD> 802<DD>Method that can be used for efficient type detection 803 when using stream abstraction for traversing nodes. 804 Will return the first <CODE>JsonToken</CODE> that equivalent 805 stream event would produce (for most nodes there is just 806 one token but for structured/container types multiple) 807<P> 808<DD><DL> 809<DT><B>Specified by:</B><DD><CODE>asToken</CODE> in interface <CODE>com.fasterxml.jackson.core.TreeNode</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/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> 810</DD> 811<DD><DL> 812</DL> 813</DD> 814</DL> 815<HR> 816 817<A NAME="isObject()"><!-- --></A><H3> 818isObject</H3> 819<PRE> 820public boolean <B>isObject</B>()</PRE> 821<DL> 822<DD><DL> 823<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> 824</DD> 825<DD><DL> 826 827<DT><B>Returns:</B><DD>True if this node represents JSON Object</DL> 828</DD> 829</DL> 830<HR> 831 832<A NAME="size()"><!-- --></A><H3> 833size</H3> 834<PRE> 835public int <B>size</B>()</PRE> 836<DL> 837<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#size()">JsonNode</A></CODE></B></DD> 838<DD>Method that returns number of child nodes this node contains: 839 for Array nodes, number of child elements, for Object nodes, 840 number of fields, and for all other nodes 0. 841<P> 842<DD><DL> 843<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> 844</DD> 845<DD><DL> 846 847<DT><B>Returns:</B><DD>For non-container nodes returns 0; for arrays number of 848 contained elements, and for objects number of fields.</DL> 849</DD> 850</DL> 851<HR> 852 853<A NAME="elements()"><!-- --></A><H3> 854elements</H3> 855<PRE> 856public <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> 857<DL> 858<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#elements()">JsonNode</A></CODE></B></DD> 859<DD>Method for accessing all value nodes of this Node, iff 860 this node is a JSON Array or Object node. In case of Object node, 861 field names (keys) are not included, only values. 862 For other types of nodes, returns empty iterator. 863<P> 864<DD><DL> 865<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> 866</DD> 867<DD><DL> 868</DL> 869</DD> 870</DL> 871<HR> 872 873<A NAME="get(int)"><!-- --></A><H3> 874get</H3> 875<PRE> 876public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>get</B>(int index)</PRE> 877<DL> 878<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)">JsonNode</A></CODE></B></DD> 879<DD>Method for accessing value of the specified element of 880 an array node. For other nodes, null is always returned. 881<p> 882 For array nodes, index specifies 883 exact location within array and allows for efficient iteration 884 over child elements (underlying storage is guaranteed to 885 be efficiently indexable, i.e. has random-access to elements). 886 If index is less than 0, or equal-or-greater than 887 <code>node.size()</code>, null is returned; no exception is 888 thrown for any index. 889<P> 890<DD><DL> 891<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> 892</DD> 893<DD><DL> 894 895<DT><B>Returns:</B><DD>Node that represent value of the specified element, 896 if this node is an array and has specified element. 897 Null otherwise.</DL> 898</DD> 899</DL> 900<HR> 901 902<A NAME="get(java.lang.String)"><!-- --></A><H3> 903get</H3> 904<PRE> 905public <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> 906<DL> 907<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)">JsonNode</A></CODE></B></DD> 908<DD>Method for accessing value of the specified field of 909 an object node. If this node is not an object (or it 910 does not have a value for specified field name), or 911 if there is no field with such name, null is returned. 912<P> 913<DD><DL> 914<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> 915</DD> 916<DD><DL> 917 918<DT><B>Returns:</B><DD>Node that represent value of the specified field, 919 if this node is an object and has value for the specified 920 field. Null otherwise.</DL> 921</DD> 922</DL> 923<HR> 924 925<A NAME="fieldNames()"><!-- --></A><H3> 926fieldNames</H3> 927<PRE> 928public <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> 929<DL> 930<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fieldNames()">JsonNode</A></CODE></B></DD> 931<DD>Method for accessing names of all fields for this Node, iff 932 this node is a JSON Object node. 933<P> 934<DD><DL> 935<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> 936</DD> 937<DD><DL> 938</DL> 939</DD> 940</DL> 941<HR> 942 943<A NAME="path(int)"><!-- --></A><H3> 944path</H3> 945<PRE> 946public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>path</B>(int index)</PRE> 947<DL> 948<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(int)">JsonNode</A></CODE></B></DD> 949<DD>This method is similar to <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)"><CODE>JsonNode.get(int)</CODE></A>, except 950 that instead of returning null if no such element exists (due 951 to index being out of range, or this node not being an array), 952 a "missing node" (node that returns true for 953 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>JsonNode.isMissingNode()</CODE></A>) will be returned. This allows for 954 convenient and safe chained access via path calls. 955<P> 956<DD><DL> 957<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> 958</DD> 959<DD><DL> 960</DL> 961</DD> 962</DL> 963<HR> 964 965<A NAME="path(java.lang.String)"><!-- --></A><H3> 966path</H3> 967<PRE> 968public <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> 969<DL> 970<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(java.lang.String)">JsonNode</A></CODE></B></DD> 971<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 972 that instead of returning null if no such value exists (due 973 to this node not being an object, or object not having value 974 for the specified field), 975 a "missing node" (node that returns true for 976 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>JsonNode.isMissingNode()</CODE></A>) will be returned. This allows for 977 convenient and safe chained access via path calls. 978<P> 979<DD><DL> 980<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> 981</DD> 982<DD><DL> 983</DL> 984</DD> 985</DL> 986<HR> 987 988<A NAME="fields()"><!-- --></A><H3> 989fields</H3> 990<PRE> 991public <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> 992<DL> 993<DD>Method to use for accessing all fields (with both names 994 and values) of this JSON Object. 995<P> 996<DD><DL> 997<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> 998</DD> 999<DD><DL> 1000 1001<DT><B>Returns:</B><DD>Iterator that can be used to traverse all key/value pairs for 1002 object nodes; empty iterator (no contents) for other types</DL> 1003</DD> 1004</DL> 1005<HR> 1006 1007<A NAME="with(java.lang.String)"><!-- --></A><H3> 1008with</H3> 1009<PRE> 1010public <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> 1011<DL> 1012<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#with(java.lang.String)">JsonNode</A></CODE></B></DD> 1013<DD>Method that can be called on Object nodes, to access a property 1014 that has Object value; or if no such property exists, to create, 1015 add and return such Object node. 1016 If the node method is called on is not Object node, 1017 or if property exists and has value that is not Object node, 1018 <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 1019<P> 1020<DD><DL> 1021<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> 1022</DD> 1023<DD><DL> 1024</DL> 1025</DD> 1026</DL> 1027<HR> 1028 1029<A NAME="withArray(java.lang.String)"><!-- --></A><H3> 1030withArray</H3> 1031<PRE> 1032public <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> 1033<DL> 1034<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#withArray(java.lang.String)">JsonNode</A></CODE></B></DD> 1035<DD>Method that can be called on Object nodes, to access a property 1036 that has <code>Array</code> value; or if no such property exists, to create, 1037 add and return such Array node. 1038 If the node method is called on is not Object node, 1039 or if property exists and has value that is not Array node, 1040 <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 1041<P> 1042<DD><DL> 1043<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> 1044</DD> 1045<DD><DL> 1046</DL> 1047</DD> 1048</DL> 1049<HR> 1050 1051<A NAME="findValue(java.lang.String)"><!-- --></A><H3> 1052findValue</H3> 1053<PRE> 1054public <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> 1055<DL> 1056<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue(java.lang.String)">JsonNode</A></CODE></B></DD> 1057<DD>Method for finding a JSON Object field with specified name in this 1058 node or its child nodes, and returning value it has. 1059 If no matching field is found in this node or its descendants, returns null. 1060<P> 1061<DD><DL> 1062<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> 1063</DD> 1064<DD><DL> 1065<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - Name of field to look for 1066<DT><B>Returns:</B><DD>Value of first matching node found, if any; null if none</DL> 1067</DD> 1068</DL> 1069<HR> 1070 1071<A NAME="findValues(java.lang.String, java.util.List)"><!-- --></A><H3> 1072findValues</H3> 1073<PRE> 1074public <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, 1075 <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> 1076<DL> 1077<DD><DL> 1078<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> 1079</DD> 1080<DD><DL> 1081</DL> 1082</DD> 1083</DL> 1084<HR> 1085 1086<A NAME="findValuesAsText(java.lang.String, java.util.List)"><!-- --></A><H3> 1087findValuesAsText</H3> 1088<PRE> 1089public <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, 1090 <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> 1091<DL> 1092<DD><DL> 1093<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> 1094</DD> 1095<DD><DL> 1096</DL> 1097</DD> 1098</DL> 1099<HR> 1100 1101<A NAME="findParent(java.lang.String)"><!-- --></A><H3> 1102findParent</H3> 1103<PRE> 1104public <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> 1105<DL> 1106<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParent(java.lang.String)">JsonNode</A></CODE></B></DD> 1107<DD>Method for finding a JSON Object that contains specified field, 1108 within this node or its descendants. 1109 If no matching field is found in this node or its descendants, returns null. 1110<P> 1111<DD><DL> 1112<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> 1113</DD> 1114<DD><DL> 1115<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - Name of field to look for 1116<DT><B>Returns:</B><DD>Value of first matching node found, if any; null if none</DL> 1117</DD> 1118</DL> 1119<HR> 1120 1121<A NAME="findParents(java.lang.String, java.util.List)"><!-- --></A><H3> 1122findParents</H3> 1123<PRE> 1124public <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, 1125 <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> 1126<DL> 1127<DD><DL> 1128<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> 1129</DD> 1130<DD><DL> 1131</DL> 1132</DD> 1133</DL> 1134<HR> 1135 1136<A NAME="serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)"><!-- --></A><H3> 1137serialize</H3> 1138<PRE> 1139public final void <B>serialize</B>(com.fasterxml.jackson.core.JsonGenerator jg, 1140 <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A> provider) 1141 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>, 1142 com.fasterxml.jackson.core.JsonProcessingException</PRE> 1143<DL> 1144<DD>Method that can be called to serialize this node and 1145 all of its descendants using specified JSON generator. 1146<P> 1147<DD><DL> 1148<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> 1149</DD> 1150<DD><DL> 1151 1152<DT><B>Throws:</B> 1153<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> 1154<DD><CODE>com.fasterxml.jackson.core.JsonProcessingException</CODE></DL> 1155</DD> 1156</DL> 1157<HR> 1158 1159<A NAME="serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)"><!-- --></A><H3> 1160serializeWithType</H3> 1161<PRE> 1162public void <B>serializeWithType</B>(com.fasterxml.jackson.core.JsonGenerator jg, 1163 <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A> provider, 1164 <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A> typeSer) 1165 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>, 1166 com.fasterxml.jackson.core.JsonProcessingException</PRE> 1167<DL> 1168<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> 1169<DD>Type information is needed, even if JsonNode instances are "plain" JSON, 1170 since they may be mixed with other types. 1171<P> 1172<DD><DL> 1173<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> 1174</DD> 1175<DD><DL> 1176 1177<DT><B>Throws:</B> 1178<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> 1179<DD><CODE>com.fasterxml.jackson.core.JsonProcessingException</CODE></DL> 1180</DD> 1181</DL> 1182<HR> 1183 1184<A NAME="put(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"><!-- --></A><H3> 1185put</H3> 1186<PRE> 1187public <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, 1188 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> value)</PRE> 1189<DL> 1190<DD>Method that will set specified field, replacing old value, 1191 if any. 1192<P> 1193<DD><DL> 1194<DT><B>Parameters:</B><DD><CODE>value</CODE> - to set field to; if null, will be converted 1195 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 1196 <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#remove(java.lang.String)"><CODE>remove(java.lang.String)</CODE></A> instead) 1197<DT><B>Returns:</B><DD>Old value of the field, if any; null if there was no 1198 old value.</DL> 1199</DD> 1200</DL> 1201<HR> 1202 1203<A NAME="remove(java.lang.String)"><!-- --></A><H3> 1204remove</H3> 1205<PRE> 1206public <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> 1207<DL> 1208<DD>Method for removing field entry from this ObjectNode. 1209 Will return value of the field, if such field existed; 1210 null if not. 1211<P> 1212<DD><DL> 1213</DL> 1214</DD> 1215</DL> 1216<HR> 1217 1218<A NAME="remove(java.util.Collection)"><!-- --></A><H3> 1219remove</H3> 1220<PRE> 1221public <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> 1222<DL> 1223<DD>Method for removing specified field properties out of 1224 this ObjectNode. 1225<P> 1226<DD><DL> 1227<DT><B>Parameters:</B><DD><CODE>fieldNames</CODE> - Names of fields to remove 1228<DT><B>Returns:</B><DD>This ObjectNode after removing entries</DL> 1229</DD> 1230</DL> 1231<HR> 1232 1233<A NAME="removeAll()"><!-- --></A><H3> 1234removeAll</H3> 1235<PRE> 1236public <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>removeAll</B>()</PRE> 1237<DL> 1238<DD>Method for removing all field properties, such that this 1239 ObjectNode will contain no properties after call. 1240<P> 1241<DD><DL> 1242<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> 1243</DD> 1244<DD><DL> 1245 1246<DT><B>Returns:</B><DD>Container node itself (to allow method call chaining)</DL> 1247</DD> 1248</DL> 1249<HR> 1250 1251<A NAME="putAll(java.util.Map)"><!-- --></A><H3> 1252putAll</H3> 1253<PRE> 1254public <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> 1255<DL> 1256<DD>Method for adding given properties to this object node, overriding 1257 any existing values for those properties. 1258<P> 1259<DD><DL> 1260<DT><B>Parameters:</B><DD><CODE>properties</CODE> - Properties to add 1261<DT><B>Returns:</B><DD>This node (to allow chaining)</DL> 1262</DD> 1263</DL> 1264<HR> 1265 1266<A NAME="putAll(com.fasterxml.jackson.databind.node.ObjectNode)"><!-- --></A><H3> 1267putAll</H3> 1268<PRE> 1269public <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> 1270<DL> 1271<DD>Method for adding all properties of the given Object, overriding 1272 any existing values for those properties. 1273<P> 1274<DD><DL> 1275<DT><B>Parameters:</B><DD><CODE>other</CODE> - Object of which properties to add to this object 1276<DT><B>Returns:</B><DD>This node (to allow chaining)</DL> 1277</DD> 1278</DL> 1279<HR> 1280 1281<A NAME="retain(java.util.Collection)"><!-- --></A><H3> 1282retain</H3> 1283<PRE> 1284public <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> 1285<DL> 1286<DD>Method for removing all field properties out of this ObjectNode 1287 <b>except</b> for ones specified in argument. 1288<P> 1289<DD><DL> 1290<DT><B>Parameters:</B><DD><CODE>fieldNames</CODE> - Fields to <b>retain</b> in this ObjectNode 1291<DT><B>Returns:</B><DD>This ObjectNode (to allow call chaining)</DL> 1292</DD> 1293</DL> 1294<HR> 1295 1296<A NAME="retain(java.lang.String...)"><!-- --></A><H3> 1297retain</H3> 1298<PRE> 1299public <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> 1300<DL> 1301<DD>Method for removing all field properties out of this ObjectNode 1302 <b>except</b> for ones specified in argument. 1303<P> 1304<DD><DL> 1305<DT><B>Parameters:</B><DD><CODE>fieldNames</CODE> - Fields to <b>retain</b> in this ObjectNode 1306<DT><B>Returns:</B><DD>This ObjectNode (to allow call chaining)</DL> 1307</DD> 1308</DL> 1309<HR> 1310 1311<A NAME="putArray(java.lang.String)"><!-- --></A><H3> 1312putArray</H3> 1313<PRE> 1314public <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> 1315<DL> 1316<DD>Method that will construct an ArrayNode and add it as a 1317 field of this ObjectNode, replacing old value, if any. 1318<P> 1319<DD><DL> 1320 1321<DT><B>Returns:</B><DD>Newly constructed ArrayNode (NOT the old value, 1322 which could be of any type)</DL> 1323</DD> 1324</DL> 1325<HR> 1326 1327<A NAME="putObject(java.lang.String)"><!-- --></A><H3> 1328putObject</H3> 1329<PRE> 1330public <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> 1331<DL> 1332<DD>Method that will construct an ObjectNode and add it as a 1333 field of this ObjectNode, replacing old value, if any. 1334<P> 1335<DD><DL> 1336 1337<DT><B>Returns:</B><DD>Newly constructed ObjectNode (NOT the old value, 1338 which could be of any type)</DL> 1339</DD> 1340</DL> 1341<HR> 1342 1343<A NAME="putPOJO(java.lang.String, java.lang.Object)"><!-- --></A><H3> 1344putPOJO</H3> 1345<PRE> 1346public <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, 1347 <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> 1348<DL> 1349<DD><DL> 1350</DL> 1351</DD> 1352</DL> 1353<HR> 1354 1355<A NAME="putNull(java.lang.String)"><!-- --></A><H3> 1356putNull</H3> 1357<PRE> 1358public <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> 1359<DL> 1360<DD><DL> 1361</DL> 1362</DD> 1363</DL> 1364<HR> 1365 1366<A NAME="put(java.lang.String, int)"><!-- --></A><H3> 1367put</H3> 1368<PRE> 1369public <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, 1370 int v)</PRE> 1371<DL> 1372<DD>Method for setting value of a field to specified numeric value. 1373<P> 1374<DD><DL> 1375</DL> 1376</DD> 1377</DL> 1378<HR> 1379 1380<A NAME="put(java.lang.String, java.lang.Integer)"><!-- --></A><H3> 1381put</H3> 1382<PRE> 1383public <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, 1384 <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> 1385<DL> 1386<DD>Alternative method that we need to avoid bumping into NPE issues 1387 with auto-unboxing. 1388<P> 1389<DD><DL> 1390</DL> 1391</DD> 1392</DL> 1393<HR> 1394 1395<A NAME="put(java.lang.String, long)"><!-- --></A><H3> 1396put</H3> 1397<PRE> 1398public <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, 1399 long v)</PRE> 1400<DL> 1401<DD>Method for setting value of a field to specified numeric value. 1402<P> 1403<DD><DL> 1404</DL> 1405</DD> 1406</DL> 1407<HR> 1408 1409<A NAME="put(java.lang.String, java.lang.Long)"><!-- --></A><H3> 1410put</H3> 1411<PRE> 1412public <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, 1413 <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> 1414<DL> 1415<DD>Alternative method that we need to avoid bumping into NPE issues 1416 with auto-unboxing. 1417<P> 1418<DD><DL> 1419</DL> 1420</DD> 1421</DL> 1422<HR> 1423 1424<A NAME="put(java.lang.String, float)"><!-- --></A><H3> 1425put</H3> 1426<PRE> 1427public <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, 1428 float v)</PRE> 1429<DL> 1430<DD>Method for setting value of a field to specified numeric value. 1431<P> 1432<DD><DL> 1433</DL> 1434</DD> 1435</DL> 1436<HR> 1437 1438<A NAME="put(java.lang.String, java.lang.Float)"><!-- --></A><H3> 1439put</H3> 1440<PRE> 1441public <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, 1442 <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> 1443<DL> 1444<DD>Alternative method that we need to avoid bumping into NPE issues 1445 with auto-unboxing. 1446<P> 1447<DD><DL> 1448</DL> 1449</DD> 1450</DL> 1451<HR> 1452 1453<A NAME="put(java.lang.String, double)"><!-- --></A><H3> 1454put</H3> 1455<PRE> 1456public <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, 1457 double v)</PRE> 1458<DL> 1459<DD>Method for setting value of a field to specified numeric value. 1460<P> 1461<DD><DL> 1462</DL> 1463</DD> 1464</DL> 1465<HR> 1466 1467<A NAME="put(java.lang.String, java.lang.Double)"><!-- --></A><H3> 1468put</H3> 1469<PRE> 1470public <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, 1471 <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> 1472<DL> 1473<DD>Alternative method that we need to avoid bumping into NPE issues 1474 with auto-unboxing. 1475<P> 1476<DD><DL> 1477</DL> 1478</DD> 1479</DL> 1480<HR> 1481 1482<A NAME="put(java.lang.String, java.math.BigDecimal)"><!-- --></A><H3> 1483put</H3> 1484<PRE> 1485public <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, 1486 <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> 1487<DL> 1488<DD>Method for setting value of a field to specified numeric value. 1489<P> 1490<DD><DL> 1491</DL> 1492</DD> 1493</DL> 1494<HR> 1495 1496<A NAME="put(java.lang.String, java.lang.String)"><!-- --></A><H3> 1497put</H3> 1498<PRE> 1499public <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, 1500 <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> 1501<DL> 1502<DD>Method for setting value of a field to specified String value. 1503<P> 1504<DD><DL> 1505</DL> 1506</DD> 1507</DL> 1508<HR> 1509 1510<A NAME="put(java.lang.String, boolean)"><!-- --></A><H3> 1511put</H3> 1512<PRE> 1513public <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, 1514 boolean v)</PRE> 1515<DL> 1516<DD>Method for setting value of a field to specified String value. 1517<P> 1518<DD><DL> 1519</DL> 1520</DD> 1521</DL> 1522<HR> 1523 1524<A NAME="put(java.lang.String, java.lang.Boolean)"><!-- --></A><H3> 1525put</H3> 1526<PRE> 1527public <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, 1528 <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> 1529<DL> 1530<DD>Alternative method that we need to avoid bumping into NPE issues 1531 with auto-unboxing. 1532<P> 1533<DD><DL> 1534</DL> 1535</DD> 1536</DL> 1537<HR> 1538 1539<A NAME="put(java.lang.String, byte[])"><!-- --></A><H3> 1540put</H3> 1541<PRE> 1542public <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, 1543 byte[] v)</PRE> 1544<DL> 1545<DD>Method for setting value of a field to specified binary value 1546<P> 1547<DD><DL> 1548</DL> 1549</DD> 1550</DL> 1551<HR> 1552 1553<A NAME="putContentsTo(java.util.Map)"><!-- --></A><H3> 1554putContentsTo</H3> 1555<PRE> 1556protected 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> 1557<DL> 1558<DD><DL> 1559</DL> 1560</DD> 1561</DL> 1562<HR> 1563 1564<A NAME="equals(java.lang.Object)"><!-- --></A><H3> 1565equals</H3> 1566<PRE> 1567public 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> 1568<DL> 1569<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">JsonNode</A></CODE></B></DD> 1570<DD>Equality for node objects is defined as full (deep) value 1571 equality. This means that it is possible to compare complete 1572 JSON trees for equality by comparing equality of root nodes. 1573<p> 1574 Note: marked as abstract to ensure all implementation 1575 classes define it properly and not rely on definition 1576 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>. 1577<P> 1578<DD><DL> 1579<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> 1580</DD> 1581<DD><DL> 1582</DL> 1583</DD> 1584</DL> 1585<HR> 1586 1587<A NAME="hashCode()"><!-- --></A><H3> 1588hashCode</H3> 1589<PRE> 1590public int <B>hashCode</B>()</PRE> 1591<DL> 1592<DD><DL> 1593<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> 1594</DD> 1595<DD><DL> 1596</DL> 1597</DD> 1598</DL> 1599<HR> 1600 1601<A NAME="toString()"><!-- --></A><H3> 1602toString</H3> 1603<PRE> 1604public <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> 1605<DL> 1606<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toString()">JsonNode</A></CODE></B></DD> 1607<DD><p> 1608 Note: marked as abstract to ensure all implementation 1609 classes define it properly. 1610<P> 1611<DD><DL> 1612<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> 1613</DD> 1614<DD><DL> 1615</DL> 1616</DD> 1617</DL> 1618<!-- ========= END OF CLASS DATA ========= --> 1619<HR> 1620 1621 1622<!-- ======= START OF BOTTOM NAVBAR ====== --> 1623<A NAME="navbar_bottom"><!-- --></A> 1624<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 1625<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 1626<TR> 1627<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 1628<A NAME="navbar_bottom_firstrow"><!-- --></A> 1629<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 1630 <TR ALIGN="center" VALIGN="top"> 1631 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 1632 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 1633 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 1634 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ObjectNode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 1635 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 1636 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 1637 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 1638 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 1639 </TR> 1640</TABLE> 1641</TD> 1642<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 1643</EM> 1644</TD> 1645</TR> 1646 1647<TR> 1648<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 1649 <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node"><B>PREV CLASS</B></A> 1650 <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> 1651<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 1652 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/node/ObjectNode.html" target="_top"><B>FRAMES</B></A> 1653 <A HREF="ObjectNode.html" target="_top"><B>NO FRAMES</B></A> 1654 <SCRIPT type="text/javascript"> 1655 <!-- 1656 if(window==top) { 1657 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 1658 } 1659 //--> 1660</SCRIPT> 1661<NOSCRIPT> 1662 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 1663</NOSCRIPT> 1664 1665 1666</FONT></TD> 1667</TR> 1668<TR> 1669<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 1670 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> 1671<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 1672DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 1673</TR> 1674</TABLE> 1675<A NAME="skip-navbar_bottom"></A> 1676<!-- ======== END OF BOTTOM NAVBAR ======= --> 1677 1678<HR> 1679Copyright © 2012 <a href="http://fasterxml.com">fasterxml.com</a>. All Rights Reserved. 1680</BODY> 1681</HTML> 1682