1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_25) on Sat Nov 16 21:43:19 PST 2013 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>ObjectNode (jackson-databind 2.3.0 API)</title> 8<meta name="date" content="2013-11-16"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10</head> 11<body> 12<script type="text/javascript"><!-- 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="ObjectNode (jackson-databind 2.3.0 API)"; 15 } 16//--> 17</script> 18<noscript> 19<div>JavaScript is disabled on your browser.</div> 20</noscript> 21<!-- ========= START OF TOP NAVBAR ======= --> 22<div class="topNav"><a name="navbar_top"> 23<!-- --> 24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 25<!-- --> 26</a> 27<ul class="navList" title="Navigation"> 28<li><a href="../../../../../overview-summary.html">Overview</a></li> 29<li><a href="package-summary.html">Package</a></li> 30<li class="navBarCell1Rev">Class</li> 31<li><a href="class-use/ObjectNode.html">Use</a></li> 32<li><a href="package-tree.html">Tree</a></li> 33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 34<li><a href="../../../../../index-all.html">Index</a></li> 35<li><a href="../../../../../help-doc.html">Help</a></li> 36</ul> 37</div> 38<div class="subNav"> 39<ul class="navList"> 40<li><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/ObjectNode.html" target="_top">Frames</a></li> 45<li><a href="ObjectNode.html" target="_top">No Frames</a></li> 46</ul> 47<ul class="navList" id="allclasses_navbar_top"> 48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 49</ul> 50<div> 51<script type="text/javascript"><!-- 52 allClassesLink = document.getElementById("allclasses_navbar_top"); 53 if(window==top) { 54 allClassesLink.style.display = "block"; 55 } 56 else { 57 allClassesLink.style.display = "none"; 58 } 59 //--> 60</script> 61</div> 62<div> 63<ul class="subNavList"> 64<li>Summary: </li> 65<li>Nested | </li> 66<li><a href="#fields_inherited_from_class_com.fasterxml.jackson.databind.node.ContainerNode">Field</a> | </li> 67<li><a href="#constructor_summary">Constr</a> | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li>Field | </li> 73<li><a href="#constructor_detail">Constr</a> | </li> 74<li><a href="#method_detail">Method</a></li> 75</ul> 76</div> 77<a name="skip-navbar_top"> 78<!-- --> 79</a></div> 80<!-- ========= END OF TOP NAVBAR ========= --> 81<!-- ======== START OF CLASS DATA ======== --> 82<div class="header"> 83<div class="subTitle">com.fasterxml.jackson.databind.node</div> 84<h2 title="Class ObjectNode" class="title">Class ObjectNode</h2> 85</div> 86<div class="contentContainer"> 87<ul class="inheritance"> 88<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 89<li> 90<ul class="inheritance"> 91<li><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonNode</a></li> 92<li> 93<ul class="inheritance"> 94<li><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.BaseJsonNode</a></li> 95<li> 96<ul class="inheritance"> 97<li><a href="../../../../../com/fasterxml/jackson/databind/node/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>></li> 98<li> 99<ul class="inheritance"> 100<li>com.fasterxml.jackson.databind.node.ObjectNode</li> 101</ul> 102</li> 103</ul> 104</li> 105</ul> 106</li> 107</ul> 108</li> 109</ul> 110<div class="description"> 111<ul class="blockList"> 112<li class="blockList"> 113<dl> 114<dt>All Implemented Interfaces:</dt> 115<dd><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeCreator.html" title="interface in com.fasterxml.jackson.databind.node">JsonNodeCreator</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>></dd> 116</dl> 117<hr> 118<br> 119<pre>public class <span class="strong">ObjectNode</span> 120extends <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>></pre> 121<div class="block">Node that maps to JSON Object structures in JSON content. 122<p> 123 Note: class was <code>final</code> temporarily for Jackson 2.2.</div> 124</li> 125</ul> 126</div> 127<div class="summary"> 128<ul class="blockList"> 129<li class="blockList"> 130<!-- =========== FIELD SUMMARY =========== --> 131<ul class="blockList"> 132<li class="blockList"><a name="field_summary"> 133<!-- --> 134</a> 135<h3>Field Summary</h3> 136<ul class="blockList"> 137<li class="blockList"><a name="fields_inherited_from_class_com.fasterxml.jackson.databind.node.ContainerNode"> 138<!-- --> 139</a> 140<h3>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></h3> 141<code><a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#_nodeFactory">_nodeFactory</a></code></li> 142</ul> 143</li> 144</ul> 145<!-- ======== CONSTRUCTOR SUMMARY ======== --> 146<ul class="blockList"> 147<li class="blockList"><a name="constructor_summary"> 148<!-- --> 149</a> 150<h3>Constructor Summary</h3> 151<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 152<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 153<tr> 154<th class="colOne" scope="col">Constructor and Description</th> 155</tr> 156<tr class="altColor"> 157<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#ObjectNode(com.fasterxml.jackson.databind.node.JsonNodeFactory)">ObjectNode</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</a> nc)</code> </td> 158</tr> 159</table> 160</li> 161</ul> 162<!-- ========== METHOD SUMMARY =========== --> 163<ul class="blockList"> 164<li class="blockList"><a name="method_summary"> 165<!-- --> 166</a> 167<h3>Method Summary</h3> 168<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 169<caption><span>Methods</span><span class="tabEnd"> </span></caption> 170<tr> 171<th class="colFirst" scope="col">Modifier and Type</th> 172<th class="colLast" scope="col">Method and Description</th> 173</tr> 174<tr class="altColor"> 175<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 176<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#_at(com.fasterxml.jackson.core.JsonPointer)">_at</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonPointer.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonPointer</a> ptr)</code> </td> 177</tr> 178<tr class="rowColor"> 179<td class="colFirst"><code>protected boolean</code></td> 180<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#_childrenEqual(com.fasterxml.jackson.databind.node.ObjectNode)">_childrenEqual</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> other)</code> </td> 181</tr> 182<tr class="altColor"> 183<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 184<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#_put(java.lang.String, com.fasterxml.jackson.databind.JsonNode)">_put</a></strong>(<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, 185 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</code> </td> 186</tr> 187<tr class="rowColor"> 188<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a></code></td> 189<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#asToken()">asToken</a></strong>()</code> 190<div class="block">Method that can be used for efficient type detection 191 when using stream abstraction for traversing nodes.</div> 192</td> 193</tr> 194<tr class="altColor"> 195<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 196<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#deepCopy()">deepCopy</a></strong>()</code> 197<div class="block">Method that can be called to get a node that is guaranteed 198 not to allow changing of this node through mutators on 199 this node or any of its children.</div> 200</td> 201</tr> 202<tr class="rowColor"> 203<td class="colFirst"><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></td> 204<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#elements()">elements</a></strong>()</code> 205<div class="block">Method for accessing all value nodes of this Node, iff 206 this node is a JSON Array or Object node.</div> 207</td> 208</tr> 209<tr class="altColor"> 210<td class="colFirst"><code>boolean</code></td> 211<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> 212<div class="block">Equality for node objects is defined as full (deep) value 213 equality.</div> 214</td> 215</tr> 216<tr class="rowColor"> 217<td class="colFirst"><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></td> 218<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#fieldNames()">fieldNames</a></strong>()</code> </td> 219</tr> 220<tr class="altColor"> 221<td class="colFirst"><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></td> 222<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#fields()">fields</a></strong>()</code> 223<div class="block">Method to use for accessing all fields (with both names 224 and values) of this JSON Object.</div> 225</td> 226</tr> 227<tr class="rowColor"> 228<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 229<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#findParent(java.lang.String)">findParent</a></strong>(<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> 230<div class="block">Method for finding a JSON Object that contains specified field, 231 within this node or its descendants.</div> 232</td> 233</tr> 234<tr class="altColor"> 235<td class="colFirst"><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></td> 236<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#findParents(java.lang.String, java.util.List)">findParents</a></strong>(<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, 237 <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> </td> 238</tr> 239<tr class="rowColor"> 240<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 241<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#findValue(java.lang.String)">findValue</a></strong>(<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> 242<div class="block">Method for finding a JSON Object field with specified name in this 243 node or its child nodes, and returning value it has.</div> 244</td> 245</tr> 246<tr class="altColor"> 247<td class="colFirst"><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></td> 248<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#findValues(java.lang.String, java.util.List)">findValues</a></strong>(<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, 249 <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> </td> 250</tr> 251<tr class="rowColor"> 252<td class="colFirst"><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></td> 253<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</a></strong>(<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, 254 <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> </td> 255</tr> 256<tr class="altColor"> 257<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 258<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#get(int)">get</a></strong>(int index)</code> 259<div class="block">Method for accessing value of the specified element of 260 an array node.</div> 261</td> 262</tr> 263<tr class="rowColor"> 264<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 265<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#get(java.lang.String)">get</a></strong>(<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> 266<div class="block">Method for accessing value of the specified field of 267 an object node.</div> 268</td> 269</tr> 270<tr class="altColor"> 271<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node">JsonNodeType</a></code></td> 272<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#getNodeType()">getNodeType</a></strong>()</code> 273<div class="block">Return the type of this node</div> 274</td> 275</tr> 276<tr class="rowColor"> 277<td class="colFirst"><code>int</code></td> 278<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#hashCode()">hashCode</a></strong>()</code> </td> 279</tr> 280<tr class="altColor"> 281<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 282<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#path(int)">path</a></strong>(int index)</code> 283<div class="block">This method is similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)"><code>JsonNode.get(int)</code></a>, except 284 that instead of returning null if no such element exists (due 285 to index being out of range, or this node not being an array), 286 a "missing node" (node that returns true for 287 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned.</div> 288</td> 289</tr> 290<tr class="rowColor"> 291<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 292<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#path(java.lang.String)">path</a></strong>(<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<div class="block">This method is similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)"><code>JsonNode.get(String)</code></a>, except 294 that instead of returning null if no such value exists (due 295 to this node not being an object, or object not having value 296 for the specified field), 297 a "missing node" (node that returns true for 298 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned.</div> 299</td> 300</tr> 301<tr class="altColor"> 302<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 303<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, java.math.BigDecimal)">put</a></strong>(<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, 304 <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> 305<div class="block">Method for setting value of a field to specified numeric value.</div> 306</td> 307</tr> 308<tr class="rowColor"> 309<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 310<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, boolean)">put</a></strong>(<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 boolean v)</code> 312<div class="block">Method for setting value of a field to specified String value.</div> 313</td> 314</tr> 315<tr class="altColor"> 316<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 317<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, java.lang.Boolean)">put</a></strong>(<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, 318 <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> v)</code> 319<div class="block">Alternative method that we need to avoid bumping into NPE issues 320 with auto-unboxing.</div> 321</td> 322</tr> 323<tr class="rowColor"> 324<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 325<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, byte[])">put</a></strong>(<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, 326 byte[] v)</code> 327<div class="block">Method for setting value of a field to specified binary value</div> 328</td> 329</tr> 330<tr class="altColor"> 331<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 332<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, double)">put</a></strong>(<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, 333 double v)</code> 334<div class="block">Method for setting value of a field to specified numeric value.</div> 335</td> 336</tr> 337<tr class="rowColor"> 338<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 339<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, java.lang.Double)">put</a></strong>(<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, 340 <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> v)</code> 341<div class="block">Alternative method that we need to avoid bumping into NPE issues 342 with auto-unboxing.</div> 343</td> 344</tr> 345<tr class="altColor"> 346<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 347<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, float)">put</a></strong>(<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, 348 float v)</code> 349<div class="block">Method for setting value of a field to specified numeric value.</div> 350</td> 351</tr> 352<tr class="rowColor"> 353<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 354<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, java.lang.Float)">put</a></strong>(<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, 355 <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> v)</code> 356<div class="block">Alternative method that we need to avoid bumping into NPE issues 357 with auto-unboxing.</div> 358</td> 359</tr> 360<tr class="altColor"> 361<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 362<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, int)">put</a></strong>(<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, 363 int v)</code> 364<div class="block">Method for setting value of a field to specified numeric value.</div> 365</td> 366</tr> 367<tr class="rowColor"> 368<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 369<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, java.lang.Integer)">put</a></strong>(<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, 370 <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> v)</code> 371<div class="block">Alternative method that we need to avoid bumping into NPE issues 372 with auto-unboxing.</div> 373</td> 374</tr> 375<tr class="altColor"> 376<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 377<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, com.fasterxml.jackson.databind.JsonNode)">put</a></strong>(<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, 378 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</code> 379<div class="block">Method that will set specified field, replacing old value, if any.</div> 380</td> 381</tr> 382<tr class="rowColor"> 383<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 384<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, long)">put</a></strong>(<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, 385 long v)</code> 386<div class="block">Method for setting value of a field to specified numeric value.</div> 387</td> 388</tr> 389<tr class="altColor"> 390<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 391<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, java.lang.Long)">put</a></strong>(<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, 392 <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> v)</code> 393<div class="block">Alternative method that we need to avoid bumping into NPE issues 394 with auto-unboxing.</div> 395</td> 396</tr> 397<tr class="rowColor"> 398<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 399<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, short)">put</a></strong>(<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, 400 short v)</code> 401<div class="block">Method for setting value of a field to specified numeric value.</div> 402</td> 403</tr> 404<tr class="altColor"> 405<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 406<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, java.lang.Short)">put</a></strong>(<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 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang">Short</a> v)</code> 408<div class="block">Alternative method that we need to avoid bumping into NPE issues 409 with auto-unboxing.</div> 410</td> 411</tr> 412<tr class="rowColor"> 413<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 414<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, java.lang.String)">put</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, 415 <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> 416<div class="block">Method for setting value of a field to specified String value.</div> 417</td> 418</tr> 419<tr class="altColor"> 420<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 421<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putAll(java.util.Map)">putAll</a></strong>(<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> 422<div class="block">Method for adding given properties to this object node, overriding 423 any existing values for those properties.</div> 424</td> 425</tr> 426<tr class="rowColor"> 427<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 428<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putAll(com.fasterxml.jackson.databind.node.ObjectNode)">putAll</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> other)</code> 429<div class="block">Method for adding all properties of the given Object, overriding 430 any existing values for those properties.</div> 431</td> 432</tr> 433<tr class="altColor"> 434<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> 435<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putArray(java.lang.String)">putArray</a></strong>(<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> 436<div class="block">Method that will construct an ArrayNode and add it as a 437 field of this ObjectNode, replacing old value, if any.</div> 438</td> 439</tr> 440<tr class="rowColor"> 441<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 442<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putNull(java.lang.String)">putNull</a></strong>(<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> </td> 443</tr> 444<tr class="altColor"> 445<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 446<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putObject(java.lang.String)">putObject</a></strong>(<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> 447<div class="block">Method that will construct an ObjectNode and add it as a 448 field of this ObjectNode, replacing old value, if any.</div> 449</td> 450</tr> 451<tr class="rowColor"> 452<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 453<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putPOJO(java.lang.String, java.lang.Object)">putPOJO</a></strong>(<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 <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> </td> 455</tr> 456<tr class="altColor"> 457<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 458<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#remove(java.util.Collection)">remove</a></strong>(<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> 459<div class="block">Method for removing specified field properties out of 460 this ObjectNode.</div> 461</td> 462</tr> 463<tr class="rowColor"> 464<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 465<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#remove(java.lang.String)">remove</a></strong>(<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> 466<div class="block">Method for removing field entry from this ObjectNode.</div> 467</td> 468</tr> 469<tr class="altColor"> 470<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 471<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#removeAll()">removeAll</a></strong>()</code> 472<div class="block">Method for removing all field properties, such that this 473 ObjectNode will contain no properties after call.</div> 474</td> 475</tr> 476<tr class="rowColor"> 477<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 478<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#replace(java.lang.String, com.fasterxml.jackson.databind.JsonNode)">replace</a></strong>(<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, 479 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</code> 480<div class="block">Method for replacing value of specific property with passed 481 value, and returning value (or null if none).</div> 482</td> 483</tr> 484<tr class="altColor"> 485<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 486<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#retain(java.util.Collection)">retain</a></strong>(<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> 487<div class="block">Method for removing all field properties out of this ObjectNode 488 <b>except</b> for ones specified in argument.</div> 489</td> 490</tr> 491<tr class="rowColor"> 492<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 493<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#retain(java.lang.String...)">retain</a></strong>(<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> 494<div class="block">Method for removing all field properties out of this ObjectNode 495 <b>except</b> for ones specified in argument.</div> 496</td> 497</tr> 498<tr class="altColor"> 499<td class="colFirst"><code>void</code></td> 500<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jg, 501 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider)</code> 502<div class="block">Method that can be called to serialize this node and 503 all of its descendants using specified JSON generator.</div> 504</td> 505</tr> 506<tr class="rowColor"> 507<td class="colFirst"><code>void</code></td> 508<td class="colLast"><code><strong><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></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jg, 509 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, 510 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer)</code> 511<div class="block">Type information is needed, even if JsonNode instances are "plain" JSON, 512 since they may be mixed with other types.</div> 513</td> 514</tr> 515<tr class="altColor"> 516<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 517<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#set(java.lang.String, com.fasterxml.jackson.databind.JsonNode)">set</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, 518 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</code> 519<div class="block">Method that will set specified field, replacing old value, if any.</div> 520</td> 521</tr> 522<tr class="rowColor"> 523<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 524<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#setAll(java.util.Map)">setAll</a></strong>(<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> 525<div class="block">Method for adding given properties to this object node, overriding 526 any existing values for those properties.</div> 527</td> 528</tr> 529<tr class="altColor"> 530<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 531<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#setAll(com.fasterxml.jackson.databind.node.ObjectNode)">setAll</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> other)</code> 532<div class="block">Method for adding all properties of the given Object, overriding 533 any existing values for those properties.</div> 534</td> 535</tr> 536<tr class="rowColor"> 537<td class="colFirst"><code>int</code></td> 538<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#size()">size</a></strong>()</code> </td> 539</tr> 540<tr class="altColor"> 541<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 542<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#toString()">toString</a></strong>()</code> 543<div class="block"> 544 Note: marked as abstract to ensure all implementation 545 classes define it properly.</div> 546</td> 547</tr> 548<tr class="rowColor"> 549<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 550<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#with(java.lang.String)">with</a></strong>(<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> 551<div class="block">Method that can be called on Object nodes, to access a property 552 that has Object value; or if no such property exists, to create, 553 add and return such Object node.</div> 554</td> 555</tr> 556<tr class="altColor"> 557<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> 558<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#withArray(java.lang.String)">withArray</a></strong>(<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> 559<div class="block">Method that can be called on Object nodes, to access a property 560 that has <code>Array</code> value; or if no such property exists, to create, 561 add and return such Array node.</div> 562</td> 563</tr> 564<tr class="rowColor"> 565<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 566<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#without(java.util.Collection)">without</a></strong>(<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> 567<div class="block">Method for removing specified field properties out of 568 this ObjectNode.</div> 569</td> 570</tr> 571<tr class="altColor"> 572<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 573<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#without(java.lang.String)">without</a></strong>(<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> 574<div class="block">Method for removing field entry from this ObjectNode, and 575 returning instance after removal.</div> 576</td> 577</tr> 578</table> 579<ul class="blockList"> 580<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.ContainerNode"> 581<!-- --> 582</a> 583<h3>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></h3> 584<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#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(java.math.BigInteger)">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(java.lang.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(java.lang.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(java.lang.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(java.lang.Integer)">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(java.lang.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#numberNode(java.lang.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#POJONode(java.lang.Object)">POJONode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#textNode(java.lang.String)">textNode</a></code></li> 585</ul> 586<ul class="blockList"> 587<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.BaseJsonNode"> 588<!-- --> 589</a> 590<h3>Methods inherited from class com.fasterxml.jackson.databind.node.<a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></h3> 591<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findPath(java.lang.String)">findPath</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#numberType()">numberType</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse()">traverse</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse(com.fasterxml.jackson.core.ObjectCodec)">traverse</a></code></li> 592</ul> 593<ul class="blockList"> 594<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"> 595<!-- --> 596</a> 597<h3>Methods inherited from class com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></h3> 598<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean()">asBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean(boolean)">asBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble()">asDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble(double)">asDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt()">asInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt(int)">asInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong()">asLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong(long)">asLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#at(com.fasterxml.jackson.core.JsonPointer)">at</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#at(java.lang.String)">at</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#bigIntegerValue()">bigIntegerValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#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#floatValue()">floatValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(int)">has</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(java.lang.String)">has</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull(int)">hasNonNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull(java.lang.String)">hasNonNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#intValue()">intValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isArray()">isArray</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigDecimal()">isBigDecimal</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigInteger()">isBigInteger</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBinary()">isBinary</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBoolean()">isBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isContainerNode()">isContainerNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isDouble()">isDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isFloat()">isFloat</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isFloatingPointNumber()">isFloatingPointNumber</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isInt()">isInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isIntegralNumber()">isIntegralNumber</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isLong()">isLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()">isMissingNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNull()">isNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()">isNumber</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isObject()">isObject</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isPojo()">isPojo</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isShort()">isShort</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isTextual()">isTextual</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()">isValueNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#iterator()">iterator</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#longValue()">longValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#numberValue()">numberValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#shortValue()">shortValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#textValue()">textValue</a></code></li> 599</ul> 600<ul class="blockList"> 601<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 602<!-- --> 603</a> 604<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 605<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> 606</ul> 607</li> 608</ul> 609</li> 610</ul> 611</div> 612<div class="details"> 613<ul class="blockList"> 614<li class="blockList"> 615<!-- ========= CONSTRUCTOR DETAIL ======== --> 616<ul class="blockList"> 617<li class="blockList"><a name="constructor_detail"> 618<!-- --> 619</a> 620<h3>Constructor Detail</h3> 621<a name="ObjectNode(com.fasterxml.jackson.databind.node.JsonNodeFactory)"> 622<!-- --> 623</a> 624<ul class="blockListLast"> 625<li class="blockList"> 626<h4>ObjectNode</h4> 627<pre>public ObjectNode(<a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</a> nc)</pre> 628</li> 629</ul> 630</li> 631</ul> 632<!-- ============ METHOD DETAIL ========== --> 633<ul class="blockList"> 634<li class="blockList"><a name="method_detail"> 635<!-- --> 636</a> 637<h3>Method Detail</h3> 638<a name="_at(com.fasterxml.jackson.core.JsonPointer)"> 639<!-- --> 640</a> 641<ul class="blockList"> 642<li class="blockList"> 643<h4>_at</h4> 644<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> _at(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonPointer.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonPointer</a> ptr)</pre> 645<dl> 646<dt><strong>Specified by:</strong></dt> 647<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#_at(com.fasterxml.jackson.core.JsonPointer)">_at</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 648</dl> 649</li> 650</ul> 651<a name="deepCopy()"> 652<!-- --> 653</a> 654<ul class="blockList"> 655<li class="blockList"> 656<h4>deepCopy</h4> 657<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> deepCopy()</pre> 658<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#deepCopy()">JsonNode</a></code></strong></div> 659<div class="block">Method that can be called to get a node that is guaranteed 660 not to allow changing of this node through mutators on 661 this node or any of its children. 662 This means it can either make a copy of this node (and all 663 mutable children and grand children nodes), or node itself 664 if it is immutable. 665<p> 666 Note: return type is guaranteed to have same type as the 667 node method is called on; which is why method is declared 668 with local generic type.</div> 669<dl> 670<dt><strong>Specified by:</strong></dt> 671<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></dd> 672<dt><span class="strong">Returns:</span></dt><dd>Node that is either a copy of this node (and all non-leaf 673 children); or, for immutable leaf nodes, node itself.</dd></dl> 674</li> 675</ul> 676<a name="getNodeType()"> 677<!-- --> 678</a> 679<ul class="blockList"> 680<li class="blockList"> 681<h4>getNodeType</h4> 682<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node">JsonNodeType</a> getNodeType()</pre> 683<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType()">JsonNode</a></code></strong></div> 684<div class="block">Return the type of this node</div> 685<dl> 686<dt><strong>Specified by:</strong></dt> 687<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType()">getNodeType</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 688<dt><span class="strong">Returns:</span></dt><dd>the node type as a <a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node"><code>JsonNodeType</code></a> enum value</dd></dl> 689</li> 690</ul> 691<a name="asToken()"> 692<!-- --> 693</a> 694<ul class="blockList"> 695<li class="blockList"> 696<h4>asToken</h4> 697<pre>public <a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a> asToken()</pre> 698<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">BaseJsonNode</a></code></strong></div> 699<div class="block">Method that can be used for efficient type detection 700 when using stream abstraction for traversing nodes. 701 Will return the first <a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonToken</code></a> that equivalent 702 stream event would produce (for most nodes there is just 703 one token but for structured/container types multiple)</div> 704<dl> 705<dt><strong>Specified by:</strong></dt> 706<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true#asToken()" title="class or interface in com.fasterxml.jackson.core">asToken</a></code> in interface <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> 707<dt><strong>Specified by:</strong></dt> 708<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></dd> 709</dl> 710</li> 711</ul> 712<a name="size()"> 713<!-- --> 714</a> 715<ul class="blockList"> 716<li class="blockList"> 717<h4>size</h4> 718<pre>public int size()</pre> 719<dl> 720<dt><strong>Specified by:</strong></dt> 721<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true#size()" title="class or interface in com.fasterxml.jackson.core">size</a></code> in interface <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> 722<dt><strong>Specified by:</strong></dt> 723<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></dd> 724</dl> 725</li> 726</ul> 727<a name="elements()"> 728<!-- --> 729</a> 730<ul class="blockList"> 731<li class="blockList"> 732<h4>elements</h4> 733<pre>public <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>> elements()</pre> 734<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#elements()">JsonNode</a></code></strong></div> 735<div class="block">Method for accessing all value nodes of this Node, iff 736 this node is a JSON Array or Object node. In case of Object node, 737 field names (keys) are not included, only values. 738 For other types of nodes, returns empty iterator.</div> 739<dl> 740<dt><strong>Overrides:</strong></dt> 741<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></dd> 742</dl> 743</li> 744</ul> 745<a name="get(int)"> 746<!-- --> 747</a> 748<ul class="blockList"> 749<li class="blockList"> 750<h4>get</h4> 751<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> get(int index)</pre> 752<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)">JsonNode</a></code></strong></div> 753<div class="block">Method for accessing value of the specified element of 754 an array node. For other nodes, null is always returned. 755<p> 756 For array nodes, index specifies 757 exact location within array and allows for efficient iteration 758 over child elements (underlying storage is guaranteed to 759 be efficiently indexable, i.e. has random-access to elements). 760 If index is less than 0, or equal-or-greater than 761 <code>node.size()</code>, null is returned; no exception is 762 thrown for any index. 763<p> 764 NOTE: if the element value has been explicitly set as <code>null</code> 765 (which is different from removal!), 766 a <a href="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node"><code>NullNode</code></a> will be returned, 767 not null.</div> 768<dl> 769<dt><strong>Specified by:</strong></dt> 770<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true#get(int)" title="class or interface in com.fasterxml.jackson.core">get</a></code> in interface <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> 771<dt><strong>Specified by:</strong></dt> 772<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></dd> 773<dt><span class="strong">Returns:</span></dt><dd>Node that represent value of the specified element, 774 if this node is an array and has specified element. 775 Null otherwise.</dd></dl> 776</li> 777</ul> 778<a name="get(java.lang.String)"> 779<!-- --> 780</a> 781<ul class="blockList"> 782<li class="blockList"> 783<h4>get</h4> 784<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> get(<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> 785<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)">JsonNode</a></code></strong></div> 786<div class="block">Method for accessing value of the specified field of 787 an object node. If this node is not an object (or it 788 does not have a value for specified field name), or 789 if there is no field with such name, null is returned. 790<p> 791 NOTE: if the property value has been explicitly set as <code>null</code> 792 (which is different from removal!), 793 a <a href="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node"><code>NullNode</code></a> will be returned, 794 not null.</div> 795<dl> 796<dt><strong>Specified by:</strong></dt> 797<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true#get(java.lang.String)" title="class or interface in com.fasterxml.jackson.core">get</a></code> in interface <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> 798<dt><strong>Specified by:</strong></dt> 799<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></dd> 800<dt><span class="strong">Returns:</span></dt><dd>Node that represent value of the specified field, 801 if this node is an object and has value for the specified 802 field. Null otherwise.</dd></dl> 803</li> 804</ul> 805<a name="fieldNames()"> 806<!-- --> 807</a> 808<ul class="blockList"> 809<li class="blockList"> 810<h4>fieldNames</h4> 811<pre>public <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>> fieldNames()</pre> 812<dl> 813<dt><strong>Specified by:</strong></dt> 814<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true#fieldNames()" title="class or interface in com.fasterxml.jackson.core">fieldNames</a></code> in interface <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> 815<dt><strong>Overrides:</strong></dt> 816<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></dd> 817</dl> 818</li> 819</ul> 820<a name="path(int)"> 821<!-- --> 822</a> 823<ul class="blockList"> 824<li class="blockList"> 825<h4>path</h4> 826<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> path(int index)</pre> 827<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(int)">JsonNode</a></code></strong></div> 828<div class="block">This method is similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)"><code>JsonNode.get(int)</code></a>, except 829 that instead of returning null if no such element exists (due 830 to index being out of range, or this node not being an array), 831 a "missing node" (node that returns true for 832 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned. This allows for 833 convenient and safe chained access via path calls.</div> 834<dl> 835<dt><strong>Specified by:</strong></dt> 836<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true#path(int)" title="class or interface in com.fasterxml.jackson.core">path</a></code> in interface <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> 837<dt><strong>Specified by:</strong></dt> 838<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></dd> 839</dl> 840</li> 841</ul> 842<a name="path(java.lang.String)"> 843<!-- --> 844</a> 845<ul class="blockList"> 846<li class="blockList"> 847<h4>path</h4> 848<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> path(<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> 849<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(java.lang.String)">JsonNode</a></code></strong></div> 850<div class="block">This method is similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)"><code>JsonNode.get(String)</code></a>, except 851 that instead of returning null if no such value exists (due 852 to this node not being an object, or object not having value 853 for the specified field), 854 a "missing node" (node that returns true for 855 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned. This allows for 856 convenient and safe chained access via path calls.</div> 857<dl> 858<dt><strong>Specified by:</strong></dt> 859<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true#path(java.lang.String)" title="class or interface in com.fasterxml.jackson.core">path</a></code> in interface <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> 860<dt><strong>Specified by:</strong></dt> 861<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></dd> 862</dl> 863</li> 864</ul> 865<a name="fields()"> 866<!-- --> 867</a> 868<ul class="blockList"> 869<li class="blockList"> 870<h4>fields</h4> 871<pre>public <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>>> fields()</pre> 872<div class="block">Method to use for accessing all fields (with both names 873 and values) of this JSON Object.</div> 874<dl> 875<dt><strong>Overrides:</strong></dt> 876<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></dd> 877<dt><span class="strong">Returns:</span></dt><dd>Iterator that can be used to traverse all key/value pairs for 878 object nodes; empty iterator (no contents) for other types</dd></dl> 879</li> 880</ul> 881<a name="with(java.lang.String)"> 882<!-- --> 883</a> 884<ul class="blockList"> 885<li class="blockList"> 886<h4>with</h4> 887<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> with(<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> 888<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#with(java.lang.String)">JsonNode</a></code></strong></div> 889<div class="block">Method that can be called on Object nodes, to access a property 890 that has Object value; or if no such property exists, to create, 891 add and return such Object node. 892 If the node method is called on is not Object node, 893 or if property exists and has value that is not Object node, 894 <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</div> 895<dl> 896<dt><strong>Overrides:</strong></dt> 897<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></dd> 898</dl> 899</li> 900</ul> 901<a name="withArray(java.lang.String)"> 902<!-- --> 903</a> 904<ul class="blockList"> 905<li class="blockList"> 906<h4>withArray</h4> 907<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> withArray(<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> 908<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#withArray(java.lang.String)">JsonNode</a></code></strong></div> 909<div class="block">Method that can be called on Object nodes, to access a property 910 that has <code>Array</code> value; or if no such property exists, to create, 911 add and return such Array node. 912 If the node method is called on is not Object node, 913 or if property exists and has value that is not Array node, 914 <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</div> 915<dl> 916<dt><strong>Overrides:</strong></dt> 917<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></dd> 918</dl> 919</li> 920</ul> 921<a name="findValue(java.lang.String)"> 922<!-- --> 923</a> 924<ul class="blockList"> 925<li class="blockList"> 926<h4>findValue</h4> 927<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> findValue(<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> 928<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue(java.lang.String)">JsonNode</a></code></strong></div> 929<div class="block">Method for finding a JSON Object field with specified name in this 930 node or its child nodes, and returning value it has. 931 If no matching field is found in this node or its descendants, returns null.</div> 932<dl> 933<dt><strong>Specified by:</strong></dt> 934<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue(java.lang.String)">findValue</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 935<dt><span class="strong">Parameters:</span></dt><dd><code>fieldName</code> - Name of field to look for</dd> 936<dt><span class="strong">Returns:</span></dt><dd>Value of first matching node found, if any; null if none</dd></dl> 937</li> 938</ul> 939<a name="findValues(java.lang.String, java.util.List)"> 940<!-- --> 941</a> 942<ul class="blockList"> 943<li class="blockList"> 944<h4>findValues</h4> 945<pre>public <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>> findValues(<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, 946 <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> 947<dl> 948<dt><strong>Specified by:</strong></dt> 949<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues(java.lang.String, java.util.List)">findValues</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 950</dl> 951</li> 952</ul> 953<a name="findValuesAsText(java.lang.String, java.util.List)"> 954<!-- --> 955</a> 956<ul class="blockList"> 957<li class="blockList"> 958<h4>findValuesAsText</h4> 959<pre>public <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>> findValuesAsText(<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, 960 <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> 961<dl> 962<dt><strong>Specified by:</strong></dt> 963<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 964</dl> 965</li> 966</ul> 967<a name="findParent(java.lang.String)"> 968<!-- --> 969</a> 970<ul class="blockList"> 971<li class="blockList"> 972<h4>findParent</h4> 973<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> findParent(<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> 974<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParent(java.lang.String)">JsonNode</a></code></strong></div> 975<div class="block">Method for finding a JSON Object that contains specified field, 976 within this node or its descendants. 977 If no matching field is found in this node or its descendants, returns null.</div> 978<dl> 979<dt><strong>Specified by:</strong></dt> 980<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParent(java.lang.String)">findParent</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 981<dt><span class="strong">Parameters:</span></dt><dd><code>fieldName</code> - Name of field to look for</dd> 982<dt><span class="strong">Returns:</span></dt><dd>Value of first matching node found, if any; null if none</dd></dl> 983</li> 984</ul> 985<a name="findParents(java.lang.String, java.util.List)"> 986<!-- --> 987</a> 988<ul class="blockList"> 989<li class="blockList"> 990<h4>findParents</h4> 991<pre>public <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>> findParents(<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, 992 <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> 993<dl> 994<dt><strong>Specified by:</strong></dt> 995<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParents(java.lang.String, java.util.List)">findParents</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 996</dl> 997</li> 998</ul> 999<a name="serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)"> 1000<!-- --> 1001</a> 1002<ul class="blockList"> 1003<li class="blockList"> 1004<h4>serialize</h4> 1005<pre>public void serialize(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jg, 1006 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider) 1007 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>, 1008 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre> 1009<div class="block">Method that can be called to serialize this node and 1010 all of its descendants using specified JSON generator.</div> 1011<dl> 1012<dt><strong>Specified by:</strong></dt> 1013<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></code></dd> 1014<dt><strong>Specified by:</strong></dt> 1015<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></code></dd> 1016<dt><span class="strong">Throws:</span></dt> 1017<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1018<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd></dl> 1019</li> 1020</ul> 1021<a name="serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)"> 1022<!-- --> 1023</a> 1024<ul class="blockList"> 1025<li class="blockList"> 1026<h4>serializeWithType</h4> 1027<pre>public void serializeWithType(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jg, 1028 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, 1029 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer) 1030 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>, 1031 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre> 1032<div class="block"><strong>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></strong></div> 1033<div class="block">Type information is needed, even if JsonNode instances are "plain" JSON, 1034 since they may be mixed with other types.</div> 1035<dl> 1036<dt><strong>Specified by:</strong></dt> 1037<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></dd> 1038<dt><strong>Specified by:</strong></dt> 1039<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></dd> 1040<dt><span class="strong">Throws:</span></dt> 1041<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1042<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd></dl> 1043</li> 1044</ul> 1045<a name="set(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"> 1046<!-- --> 1047</a> 1048<ul class="blockList"> 1049<li class="blockList"> 1050<h4>set</h4> 1051<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> set(<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, 1052 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</pre> 1053<div class="block">Method that will set specified field, replacing old value, if any. 1054 Note that this is identical to <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#replace(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"><code>replace(String, JsonNode)</code></a>, 1055 except for return value. 1056<p> 1057 NOTE: added to replace those uses of <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"><code>put(String, JsonNode)</code></a> 1058 where chaining with 'this' is desired.</div> 1059<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - to set field to; if null, will be converted 1060 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 1061 <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#remove(java.lang.String)"><code>remove(java.lang.String)</code></a> instead)</dd> 1062<dt><span class="strong">Returns:</span></dt><dd>This node after adding/replacing property value (to allow chaining)</dd><dt><span class="strong">Since:</span></dt> 1063 <dd>2.1</dd></dl> 1064</li> 1065</ul> 1066<a name="setAll(java.util.Map)"> 1067<!-- --> 1068</a> 1069<ul class="blockList"> 1070<li class="blockList"> 1071<h4>setAll</h4> 1072<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> setAll(<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> 1073<div class="block">Method for adding given properties to this object node, overriding 1074 any existing values for those properties.</div> 1075<dl><dt><span class="strong">Parameters:</span></dt><dd><code>properties</code> - Properties to add</dd> 1076<dt><span class="strong">Returns:</span></dt><dd>This node after adding/replacing property values (to allow chaining)</dd><dt><span class="strong">Since:</span></dt> 1077 <dd>2.1</dd></dl> 1078</li> 1079</ul> 1080<a name="setAll(com.fasterxml.jackson.databind.node.ObjectNode)"> 1081<!-- --> 1082</a> 1083<ul class="blockList"> 1084<li class="blockList"> 1085<h4>setAll</h4> 1086<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> setAll(<a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> other)</pre> 1087<div class="block">Method for adding all properties of the given Object, overriding 1088 any existing values for those properties.</div> 1089<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - Object of which properties to add to this object</dd> 1090<dt><span class="strong">Returns:</span></dt><dd>This node after addition (to allow chaining)</dd><dt><span class="strong">Since:</span></dt> 1091 <dd>2.1</dd></dl> 1092</li> 1093</ul> 1094<a name="replace(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"> 1095<!-- --> 1096</a> 1097<ul class="blockList"> 1098<li class="blockList"> 1099<h4>replace</h4> 1100<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> replace(<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, 1101 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</pre> 1102<div class="block">Method for replacing value of specific property with passed 1103 value, and returning value (or null if none).</div> 1104<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fieldName</code> - Property of which value to replace</dd><dd><code>value</code> - Value to set property to, replacing old value if any</dd> 1105<dt><span class="strong">Returns:</span></dt><dd>Old value of the property; null if there was no such property 1106 with value</dd><dt><span class="strong">Since:</span></dt> 1107 <dd>2.1</dd></dl> 1108</li> 1109</ul> 1110<a name="without(java.lang.String)"> 1111<!-- --> 1112</a> 1113<ul class="blockList"> 1114<li class="blockList"> 1115<h4>without</h4> 1116<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> without(<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> 1117<div class="block">Method for removing field entry from this ObjectNode, and 1118 returning instance after removal.</div> 1119<dl><dt><span class="strong">Returns:</span></dt><dd>This node after removing entry (if any)</dd><dt><span class="strong">Since:</span></dt> 1120 <dd>2.1</dd></dl> 1121</li> 1122</ul> 1123<a name="without(java.util.Collection)"> 1124<!-- --> 1125</a> 1126<ul class="blockList"> 1127<li class="blockList"> 1128<h4>without</h4> 1129<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> without(<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> 1130<div class="block">Method for removing specified field properties out of 1131 this ObjectNode.</div> 1132<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fieldNames</code> - Names of fields to remove</dd> 1133<dt><span class="strong">Returns:</span></dt><dd>This node after removing entries</dd><dt><span class="strong">Since:</span></dt> 1134 <dd>2.1</dd></dl> 1135</li> 1136</ul> 1137<a name="put(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"> 1138<!-- --> 1139</a> 1140<ul class="blockList"> 1141<li class="blockList"> 1142<h4>put</h4> 1143<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> put(<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, 1144 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</pre> 1145<div class="block">Method that will set specified field, replacing old value, if any.</div> 1146<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - to set field to; if null, will be converted 1147 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 1148 <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#remove(java.lang.String)"><code>remove(java.lang.String)</code></a> instead) 1149<p> 1150 NOTE: this method will be <b>deprecated</b> in 2.2; and should 1151 be replace with either 1152 <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#set(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"><code>set(String,JsonNode)</code></a> or <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#replace(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"><code>replace(String,JsonNode)</code></a>, 1153 depending on which return value is desired for possible chaining.</dd> 1154<dt><span class="strong">Returns:</span></dt><dd>Old value of the field, if any; null if there was no 1155 old value.</dd></dl> 1156</li> 1157</ul> 1158<a name="remove(java.lang.String)"> 1159<!-- --> 1160</a> 1161<ul class="blockList"> 1162<li class="blockList"> 1163<h4>remove</h4> 1164<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> remove(<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> 1165<div class="block">Method for removing field entry from this ObjectNode. 1166 Will return value of the field, if such field existed; 1167 null if not.</div> 1168<dl><dt><span class="strong">Returns:</span></dt><dd>Value of specified field, if it existed; null if not</dd></dl> 1169</li> 1170</ul> 1171<a name="remove(java.util.Collection)"> 1172<!-- --> 1173</a> 1174<ul class="blockList"> 1175<li class="blockList"> 1176<h4>remove</h4> 1177<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> remove(<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> 1178<div class="block">Method for removing specified field properties out of 1179 this ObjectNode.</div> 1180<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fieldNames</code> - Names of fields to remove</dd> 1181<dt><span class="strong">Returns:</span></dt><dd>This node after removing entries</dd></dl> 1182</li> 1183</ul> 1184<a name="removeAll()"> 1185<!-- --> 1186</a> 1187<ul class="blockList"> 1188<li class="blockList"> 1189<h4>removeAll</h4> 1190<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> removeAll()</pre> 1191<div class="block">Method for removing all field properties, such that this 1192 ObjectNode will contain no properties after call.</div> 1193<dl> 1194<dt><strong>Specified by:</strong></dt> 1195<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></dd> 1196<dt><span class="strong">Returns:</span></dt><dd>This node after removing all entries</dd></dl> 1197</li> 1198</ul> 1199<a name="putAll(java.util.Map)"> 1200<!-- --> 1201</a> 1202<ul class="blockList"> 1203<li class="blockList"> 1204<h4>putAll</h4> 1205<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> putAll(<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> 1206<div class="block">Method for adding given properties to this object node, overriding 1207 any existing values for those properties. 1208<p> 1209 NOTE: this method will be <b>deprecated</b> in 2.2; and should 1210 be replace with <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#setAll(java.util.Map)"><code>setAll(Map)</code></a>.</div> 1211<dl><dt><span class="strong">Parameters:</span></dt><dd><code>properties</code> - Properties to add</dd> 1212<dt><span class="strong">Returns:</span></dt><dd>This node after adding/replacing property values (to allow chaining)</dd></dl> 1213</li> 1214</ul> 1215<a name="putAll(com.fasterxml.jackson.databind.node.ObjectNode)"> 1216<!-- --> 1217</a> 1218<ul class="blockList"> 1219<li class="blockList"> 1220<h4>putAll</h4> 1221<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> putAll(<a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> other)</pre> 1222<div class="block">Method for adding all properties of the given Object, overriding 1223 any existing values for those properties. 1224<p> 1225 NOTE: this method will be <b>deprecated</b> in 2.2; and should 1226 be replace with <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#setAll(com.fasterxml.jackson.databind.node.ObjectNode)"><code>setAll(ObjectNode)</code></a>.</div> 1227<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - Object of which properties to add to this object</dd> 1228<dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1229</li> 1230</ul> 1231<a name="retain(java.util.Collection)"> 1232<!-- --> 1233</a> 1234<ul class="blockList"> 1235<li class="blockList"> 1236<h4>retain</h4> 1237<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> retain(<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> 1238<div class="block">Method for removing all field properties out of this ObjectNode 1239 <b>except</b> for ones specified in argument.</div> 1240<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fieldNames</code> - Fields to <b>retain</b> in this ObjectNode</dd> 1241<dt><span class="strong">Returns:</span></dt><dd>This node (to allow call chaining)</dd></dl> 1242</li> 1243</ul> 1244<a name="retain(java.lang.String...)"> 1245<!-- --> 1246</a> 1247<ul class="blockList"> 1248<li class="blockList"> 1249<h4>retain</h4> 1250<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> retain(<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> 1251<div class="block">Method for removing all field properties out of this ObjectNode 1252 <b>except</b> for ones specified in argument.</div> 1253<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fieldNames</code> - Fields to <b>retain</b> in this ObjectNode</dd> 1254<dt><span class="strong">Returns:</span></dt><dd>This node (to allow call chaining)</dd></dl> 1255</li> 1256</ul> 1257<a name="putArray(java.lang.String)"> 1258<!-- --> 1259</a> 1260<ul class="blockList"> 1261<li class="blockList"> 1262<h4>putArray</h4> 1263<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> putArray(<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> 1264<div class="block">Method that will construct an ArrayNode and add it as a 1265 field of this ObjectNode, replacing old value, if any. 1266<p> 1267 <b>NOTE</b>: Unlike all <b>put(...)</b> methods, return value 1268 is <b>NOT</b> this <code>ObjectNode</code>, but the 1269 <b>newly created</b> <code>ArrayNode</code> instance.</div> 1270<dl><dt><span class="strong">Returns:</span></dt><dd>Newly constructed ArrayNode (NOT the old value, 1271 which could be of any type)</dd></dl> 1272</li> 1273</ul> 1274<a name="putObject(java.lang.String)"> 1275<!-- --> 1276</a> 1277<ul class="blockList"> 1278<li class="blockList"> 1279<h4>putObject</h4> 1280<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> putObject(<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> 1281<div class="block">Method that will construct an ObjectNode and add it as a 1282 field of this ObjectNode, replacing old value, if any. 1283<p> 1284 <b>NOTE</b>: Unlike all <b>put(...)</b> methods, return value 1285 is <b>NOT</b> this <code>ObjectNode</code>, but the 1286 <b>newly created</b> <code>ObjectNode</code> instance.</div> 1287<dl><dt><span class="strong">Returns:</span></dt><dd>Newly constructed ObjectNode (NOT the old value, 1288 which could be of any type)</dd></dl> 1289</li> 1290</ul> 1291<a name="putPOJO(java.lang.String, java.lang.Object)"> 1292<!-- --> 1293</a> 1294<ul class="blockList"> 1295<li class="blockList"> 1296<h4>putPOJO</h4> 1297<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> putPOJO(<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, 1298 <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> 1299<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1300</li> 1301</ul> 1302<a name="putNull(java.lang.String)"> 1303<!-- --> 1304</a> 1305<ul class="blockList"> 1306<li class="blockList"> 1307<h4>putNull</h4> 1308<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> putNull(<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> 1309<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1310</li> 1311</ul> 1312<a name="put(java.lang.String, short)"> 1313<!-- --> 1314</a> 1315<ul class="blockList"> 1316<li class="blockList"> 1317<h4>put</h4> 1318<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1319 short v)</pre> 1320<div class="block">Method for setting value of a field to specified numeric value.</div> 1321<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1322</li> 1323</ul> 1324<a name="put(java.lang.String, java.lang.Short)"> 1325<!-- --> 1326</a> 1327<ul class="blockList"> 1328<li class="blockList"> 1329<h4>put</h4> 1330<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1331 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang">Short</a> v)</pre> 1332<div class="block">Alternative method that we need to avoid bumping into NPE issues 1333 with auto-unboxing.</div> 1334<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1335</li> 1336</ul> 1337<a name="put(java.lang.String, int)"> 1338<!-- --> 1339</a> 1340<ul class="blockList"> 1341<li class="blockList"> 1342<h4>put</h4> 1343<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1344 int v)</pre> 1345<div class="block">Method for setting value of a field to specified numeric value.</div> 1346<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1347</li> 1348</ul> 1349<a name="put(java.lang.String, java.lang.Integer)"> 1350<!-- --> 1351</a> 1352<ul class="blockList"> 1353<li class="blockList"> 1354<h4>put</h4> 1355<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1356 <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> v)</pre> 1357<div class="block">Alternative method that we need to avoid bumping into NPE issues 1358 with auto-unboxing.</div> 1359<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1360</li> 1361</ul> 1362<a name="put(java.lang.String, long)"> 1363<!-- --> 1364</a> 1365<ul class="blockList"> 1366<li class="blockList"> 1367<h4>put</h4> 1368<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1369 long v)</pre> 1370<div class="block">Method for setting value of a field to specified numeric value.</div> 1371<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1372</li> 1373</ul> 1374<a name="put(java.lang.String, java.lang.Long)"> 1375<!-- --> 1376</a> 1377<ul class="blockList"> 1378<li class="blockList"> 1379<h4>put</h4> 1380<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1381 <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> v)</pre> 1382<div class="block">Alternative method that we need to avoid bumping into NPE issues 1383 with auto-unboxing.</div> 1384<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1385</li> 1386</ul> 1387<a name="put(java.lang.String, float)"> 1388<!-- --> 1389</a> 1390<ul class="blockList"> 1391<li class="blockList"> 1392<h4>put</h4> 1393<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1394 float v)</pre> 1395<div class="block">Method for setting value of a field to specified numeric value.</div> 1396<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1397</li> 1398</ul> 1399<a name="put(java.lang.String, java.lang.Float)"> 1400<!-- --> 1401</a> 1402<ul class="blockList"> 1403<li class="blockList"> 1404<h4>put</h4> 1405<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1406 <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> v)</pre> 1407<div class="block">Alternative method that we need to avoid bumping into NPE issues 1408 with auto-unboxing.</div> 1409<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1410</li> 1411</ul> 1412<a name="put(java.lang.String, double)"> 1413<!-- --> 1414</a> 1415<ul class="blockList"> 1416<li class="blockList"> 1417<h4>put</h4> 1418<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1419 double v)</pre> 1420<div class="block">Method for setting value of a field to specified numeric value.</div> 1421<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1422</li> 1423</ul> 1424<a name="put(java.lang.String, java.lang.Double)"> 1425<!-- --> 1426</a> 1427<ul class="blockList"> 1428<li class="blockList"> 1429<h4>put</h4> 1430<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1431 <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> v)</pre> 1432<div class="block">Alternative method that we need to avoid bumping into NPE issues 1433 with auto-unboxing.</div> 1434<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1435</li> 1436</ul> 1437<a name="put(java.lang.String, java.math.BigDecimal)"> 1438<!-- --> 1439</a> 1440<ul class="blockList"> 1441<li class="blockList"> 1442<h4>put</h4> 1443<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1444 <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> 1445<div class="block">Method for setting value of a field to specified numeric value.</div> 1446<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1447</li> 1448</ul> 1449<a name="put(java.lang.String, java.lang.String)"> 1450<!-- --> 1451</a> 1452<ul class="blockList"> 1453<li class="blockList"> 1454<h4>put</h4> 1455<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1456 <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> 1457<div class="block">Method for setting value of a field to specified String value.</div> 1458<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1459</li> 1460</ul> 1461<a name="put(java.lang.String, boolean)"> 1462<!-- --> 1463</a> 1464<ul class="blockList"> 1465<li class="blockList"> 1466<h4>put</h4> 1467<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1468 boolean v)</pre> 1469<div class="block">Method for setting value of a field to specified String value.</div> 1470<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1471</li> 1472</ul> 1473<a name="put(java.lang.String, java.lang.Boolean)"> 1474<!-- --> 1475</a> 1476<ul class="blockList"> 1477<li class="blockList"> 1478<h4>put</h4> 1479<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1480 <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> v)</pre> 1481<div class="block">Alternative method that we need to avoid bumping into NPE issues 1482 with auto-unboxing.</div> 1483<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1484</li> 1485</ul> 1486<a name="put(java.lang.String, byte[])"> 1487<!-- --> 1488</a> 1489<ul class="blockList"> 1490<li class="blockList"> 1491<h4>put</h4> 1492<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1493 byte[] v)</pre> 1494<div class="block">Method for setting value of a field to specified binary value</div> 1495<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1496</li> 1497</ul> 1498<a name="equals(java.lang.Object)"> 1499<!-- --> 1500</a> 1501<ul class="blockList"> 1502<li class="blockList"> 1503<h4>equals</h4> 1504<pre>public boolean equals(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> 1505<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">JsonNode</a></code></strong></div> 1506<div class="block">Equality for node objects is defined as full (deep) value 1507 equality. This means that it is possible to compare complete 1508 JSON trees for equality by comparing equality of root nodes. 1509<p> 1510 Note: marked as abstract to ensure all implementation 1511 classes define it properly and not rely on definition 1512 from <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div> 1513<dl> 1514<dt><strong>Specified by:</strong></dt> 1515<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">equals</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 1516</dl> 1517</li> 1518</ul> 1519<a name="_childrenEqual(com.fasterxml.jackson.databind.node.ObjectNode)"> 1520<!-- --> 1521</a> 1522<ul class="blockList"> 1523<li class="blockList"> 1524<h4>_childrenEqual</h4> 1525<pre>protected boolean _childrenEqual(<a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> other)</pre> 1526<dl><dt><span class="strong">Since:</span></dt> 1527 <dd>2.3</dd></dl> 1528</li> 1529</ul> 1530<a name="hashCode()"> 1531<!-- --> 1532</a> 1533<ul class="blockList"> 1534<li class="blockList"> 1535<h4>hashCode</h4> 1536<pre>public int hashCode()</pre> 1537<dl> 1538<dt><strong>Overrides:</strong></dt> 1539<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> 1540</dl> 1541</li> 1542</ul> 1543<a name="toString()"> 1544<!-- --> 1545</a> 1546<ul class="blockList"> 1547<li class="blockList"> 1548<h4>toString</h4> 1549<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> 1550<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toString()">JsonNode</a></code></strong></div> 1551<div class="block"><p> 1552 Note: marked as abstract to ensure all implementation 1553 classes define it properly.</div> 1554<dl> 1555<dt><strong>Specified by:</strong></dt> 1556<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></dd> 1557</dl> 1558</li> 1559</ul> 1560<a name="_put(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"> 1561<!-- --> 1562</a> 1563<ul class="blockListLast"> 1564<li class="blockList"> 1565<h4>_put</h4> 1566<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> _put(<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, 1567 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</pre> 1568</li> 1569</ul> 1570</li> 1571</ul> 1572</li> 1573</ul> 1574</div> 1575</div> 1576<!-- ========= END OF CLASS DATA ========= --> 1577<!-- ======= START OF BOTTOM NAVBAR ====== --> 1578<div class="bottomNav"><a name="navbar_bottom"> 1579<!-- --> 1580</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 1581<!-- --> 1582</a> 1583<ul class="navList" title="Navigation"> 1584<li><a href="../../../../../overview-summary.html">Overview</a></li> 1585<li><a href="package-summary.html">Package</a></li> 1586<li class="navBarCell1Rev">Class</li> 1587<li><a href="class-use/ObjectNode.html">Use</a></li> 1588<li><a href="package-tree.html">Tree</a></li> 1589<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 1590<li><a href="../../../../../index-all.html">Index</a></li> 1591<li><a href="../../../../../help-doc.html">Help</a></li> 1592</ul> 1593</div> 1594<div class="subNav"> 1595<ul class="navList"> 1596<li><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Prev Class</span></a></li> 1597<li><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Next Class</span></a></li> 1598</ul> 1599<ul class="navList"> 1600<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/ObjectNode.html" target="_top">Frames</a></li> 1601<li><a href="ObjectNode.html" target="_top">No Frames</a></li> 1602</ul> 1603<ul class="navList" id="allclasses_navbar_bottom"> 1604<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 1605</ul> 1606<div> 1607<script type="text/javascript"><!-- 1608 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 1609 if(window==top) { 1610 allClassesLink.style.display = "block"; 1611 } 1612 else { 1613 allClassesLink.style.display = "none"; 1614 } 1615 //--> 1616</script> 1617</div> 1618<div> 1619<ul class="subNavList"> 1620<li>Summary: </li> 1621<li>Nested | </li> 1622<li><a href="#fields_inherited_from_class_com.fasterxml.jackson.databind.node.ContainerNode">Field</a> | </li> 1623<li><a href="#constructor_summary">Constr</a> | </li> 1624<li><a href="#method_summary">Method</a></li> 1625</ul> 1626<ul class="subNavList"> 1627<li>Detail: </li> 1628<li>Field | </li> 1629<li><a href="#constructor_detail">Constr</a> | </li> 1630<li><a href="#method_detail">Method</a></li> 1631</ul> 1632</div> 1633<a name="skip-navbar_bottom"> 1634<!-- --> 1635</a></div> 1636<!-- ======== END OF BOTTOM NAVBAR ======= --> 1637<p class="legalCopy"><small>Copyright © 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 1638</body> 1639</html> 1640