<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_35) on Tue Oct 09 17:08:18 PDT 2012 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> ContainerNode (jackson-databind 2.1.0 API) </TITLE> <META NAME="date" CONTENT="2012-10-09"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="ContainerNode (jackson-databind 2.1.0 API)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ContainerNode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node"><B>PREV CLASS</B></A> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.NoNodesIterator.html" title="class in com.fasterxml.jackson.databind.node"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/node/ContainerNode.html" target="_top"><B>FRAMES</B></A> <A HREF="ContainerNode.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.fasterxml.jackson.databind.node</FONT> <BR> Class ContainerNode<T extends ContainerNode<T>></H2> <PRE> <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> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonNode</A> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.BaseJsonNode</A> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.databind.node.ContainerNode<T></B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>></DD> </DL> <DL> <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></DD> </DL> <HR> <DL> <DT><PRE>public abstract class <B>ContainerNode<T extends ContainerNode<T>></B><DT>extends <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</A></DL> </PRE> <P> This intermediate base class is used for all container nodes, specifically, array and object nodes. <P> <P> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <A NAME="nested_class_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Nested Class Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected static class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.NoNodesIterator.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode.NoNodesIterator</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected static class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.NoStringsIterator.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode.NoStringsIterator</A></B></CODE> <BR> </TD> </TR> </TABLE> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#_nodeFactory">_nodeFactory</A></B></CODE> <BR> We will keep a reference to the Object (usually TreeMapper) that can construct instances of nodes to add to this container node.</TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from class com.fasterxml.jackson.databind.<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#NO_NODES">NO_NODES</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#NO_STRINGS">NO_STRINGS</A></CODE></TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected </CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#ContainerNode(com.fasterxml.jackson.databind.node.JsonNodeFactory)">ContainerNode</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</A> nc)</CODE> <BR> </TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#arrayNode()">arrayNode</A></B>()</CODE> <BR> Factory method that constructs and returns an empty <A HREF="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node"><CODE>ArrayNode</CODE></A> Construction is done using registered <A HREF="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node"><CODE>JsonNodeFactory</CODE></A>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#asText()">asText</A></B>()</CODE> <BR> Method that will return a valid String representation of the container value, if the node is a value node (method <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><CODE>JsonNode.isValueNode()</CODE></A> returns true), otherwise empty String.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#asToken()">asToken</A></B>()</CODE> <BR> Method that can be used for efficient type detection when using stream abstraction for traversing nodes.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node">BinaryNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#binaryNode(byte[])">binaryNode</A></B>(byte[] data)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node">BinaryNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#binaryNode(byte[], int, int)">binaryNode</A></B>(byte[] data, int offset, int length)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node">BooleanNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#booleanNode(boolean)">booleanNode</A></B>(boolean v)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#findParent(java.lang.String)">findParent</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName)</CODE> <BR> Method for finding a JSON Object that contains specified field, within this node or its descendants.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#findParents(java.lang.String, java.util.List)">findParents</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName, <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> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#findValue(java.lang.String)">findValue</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName)</CODE> <BR> Method for finding a JSON Object field with specified name in this node or its child nodes, and returning value it has.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#findValues(java.lang.String, java.util.List)">findValues</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName, <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> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName, <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> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#get(int)">get</A></B>(int index)</CODE> <BR> Method for accessing value of the specified element of an array node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#get(java.lang.String)">get</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName)</CODE> <BR> Method for accessing value of the specified field of an object node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#isContainerNode()">isContainerNode</A></B>()</CODE> <BR> Method that returns true for container nodes: Arrays and Objects.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node">NullNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#nullNode()">nullNode</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(java.math.BigDecimal)">numberNode</A></B>(<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> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(byte)">numberNode</A></B>(byte v)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(double)">numberNode</A></B>(double v)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(float)">numberNode</A></B>(float v)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(int)">numberNode</A></B>(int v)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(long)">numberNode</A></B>(long v)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(short)">numberNode</A></B>(short v)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#objectNode()">objectNode</A></B>()</CODE> <BR> Factory method that constructs and returns an empty <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node"><CODE>ObjectNode</CODE></A> Construction is done using registered <A HREF="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node"><CODE>JsonNodeFactory</CODE></A>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/POJONode.html" title="class in com.fasterxml.jackson.databind.node">POJONode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#POJONode(java.lang.Object)">POJONode</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pojo)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="type parameter in ContainerNode">T</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#removeAll()">removeAll</A></B>()</CODE> <BR> Method for removing all children container has (if any)</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#size()">size</A></B>()</CODE> <BR> Method that returns number of child nodes this node contains: for Array nodes, number of child elements, for Object nodes, number of fields, and for all other nodes 0.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/node/TextNode.html" title="class in com.fasterxml.jackson.databind.node">TextNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#textNode(java.lang.String)">textNode</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> text)</CODE> <BR> </TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.node.BaseJsonNode"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.fasterxml.jackson.databind.node.<A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findPath(java.lang.String)">findPath</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#numberType()">numberType</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</A>, <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>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse()">traverse</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.fasterxml.jackson.databind.<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean()">asBoolean</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean(boolean)">asBoolean</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble()">asDouble</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble(double)">asDouble</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt()">asInt</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt(int)">asInt</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong()">asLong</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong(long)">asLong</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#bigIntegerValue()">bigIntegerValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#binaryValue()">binaryValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#booleanValue()">booleanValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt()">canConvertToInt</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToLong()">canConvertToLong</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#decimalValue()">decimalValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#deepCopy()">deepCopy</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#doubleValue()">doubleValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#elements()">elements</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fieldNames()">fieldNames</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fields()">fields</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParents(java.lang.String)">findParents</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues(java.lang.String)">findValues</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValuesAsText(java.lang.String)">findValuesAsText</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(int)">has</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(java.lang.String)">has</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull(int)">hasNonNull</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull(java.lang.String)">hasNonNull</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#intValue()">intValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isArray()">isArray</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigDecimal()">isBigDecimal</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigInteger()">isBigInteger</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBinary()">isBinary</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBoolean()">isBoolean</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isDouble()">isDouble</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isFloatingPointNumber()">isFloatingPointNumber</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isInt()">isInt</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isIntegralNumber()">isIntegralNumber</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isLong()">isLong</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()">isMissingNode</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNull()">isNull</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()">isNumber</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isObject()">isObject</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isPojo()">isPojo</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isTextual()">isTextual</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#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#path(int)">path</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(java.lang.String)">path</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#textValue()">textValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toString()">toString</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#with(java.lang.String)">with</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#withArray(java.lang.String)">withArray</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> </TR> </TABLE> <P> <!-- ============ FIELD DETAIL =========== --> <A NAME="field_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Field Detail</B></FONT></TH> </TR> </TABLE> <A NAME="_nodeFactory"><!-- --></A><H3> _nodeFactory</H3> <PRE> protected final <A HREF="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</A> <B>_nodeFactory</B></PRE> <DL> <DD>We will keep a reference to the Object (usually TreeMapper) that can construct instances of nodes to add to this container node. <P> <DL> </DL> </DL> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="ContainerNode(com.fasterxml.jackson.databind.node.JsonNodeFactory)"><!-- --></A><H3> ContainerNode</H3> <PRE> protected <B>ContainerNode</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</A> nc)</PRE> <DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="isContainerNode()"><!-- --></A><H3> isContainerNode</H3> <PRE> public boolean <B>isContainerNode</B>()</PRE> <DL> <DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isContainerNode()">JsonNode</A></CODE></B></DD> <DD>Method that returns true for container nodes: Arrays and Objects. <p> Note: one and only one of methods <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><CODE>JsonNode.isValueNode()</CODE></A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isContainerNode()"><CODE>JsonNode.isContainerNode()</CODE></A> and <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><CODE>JsonNode.isMissingNode()</CODE></A> ever returns true for any given node. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isContainerNode()">isContainerNode</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="asToken()"><!-- --></A><H3> asToken</H3> <PRE> public abstract <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</A> <B>asToken</B>()</PRE> <DL> <DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">BaseJsonNode</A></CODE></B></DD> <DD>Method that can be used for efficient type detection when using stream abstraction for traversing nodes. Will return the first <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><CODE>JsonToken</CODE></A> that equivalent stream event would produce (for most nodes there is just one token but for structured/container types multiple) <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true#asToken()" title="class or interface in com.fasterxml.jackson.core">asToken</A></CODE> in interface <CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">asToken</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="asText()"><!-- --></A><H3> asText</H3> <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> <B>asText</B>()</PRE> <DL> <DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText()">JsonNode</A></CODE></B></DD> <DD>Method that will return a valid String representation of the container value, if the node is a value node (method <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><CODE>JsonNode.isValueNode()</CODE></A> returns true), otherwise empty String. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText()">asText</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="findValue(java.lang.String)"><!-- --></A><H3> findValue</H3> <PRE> public abstract <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>findValue</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName)</PRE> <DL> <DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue(java.lang.String)">JsonNode</A></CODE></B></DD> <DD>Method for finding a JSON Object field with specified name in this node or its child nodes, and returning value it has. If no matching field is found in this node or its descendants, returns null. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findValue(java.lang.String)">findValue</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - Name of field to look for <DT><B>Returns:</B><DD>Value of first matching node found, if any; null if none</DL> </DD> </DL> <HR> <A NAME="findParent(java.lang.String)"><!-- --></A><H3> findParent</H3> <PRE> public abstract <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>findParent</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName)</PRE> <DL> <DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParent(java.lang.String)">JsonNode</A></CODE></B></DD> <DD>Method for finding a JSON Object that contains specified field, within this node or its descendants. If no matching field is found in this node or its descendants, returns null. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findParent(java.lang.String)">findParent</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - Name of field to look for <DT><B>Returns:</B><DD>Value of first matching node found, if any; null if none</DL> </DD> </DL> <HR> <A NAME="findValues(java.lang.String, java.util.List)"><!-- --></A><H3> findValues</H3> <PRE> public abstract <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> <B>findValues</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName, <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> <DL> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findValues(java.lang.String, java.util.List)">findValues</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="findParents(java.lang.String, java.util.List)"><!-- --></A><H3> findParents</H3> <PRE> public abstract <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A>> <B>findParents</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName, <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> <DL> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findParents(java.lang.String, java.util.List)">findParents</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="findValuesAsText(java.lang.String, java.util.List)"><!-- --></A><H3> findValuesAsText</H3> <PRE> public abstract <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>findValuesAsText</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName, <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> <DL> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="size()"><!-- --></A><H3> size</H3> <PRE> public abstract int <B>size</B>()</PRE> <DL> <DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#size()">JsonNode</A></CODE></B></DD> <DD>Method that returns number of child nodes this node contains: for Array nodes, number of child elements, for Object nodes, number of fields, and for all other nodes 0. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#size()">size</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>For non-container nodes returns 0; for arrays number of contained elements, and for objects number of fields.</DL> </DD> </DL> <HR> <A NAME="get(int)"><!-- --></A><H3> get</H3> <PRE> public abstract <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>get</B>(int index)</PRE> <DL> <DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)">JsonNode</A></CODE></B></DD> <DD>Method for accessing value of the specified element of an array node. For other nodes, null is always returned. <p> For array nodes, index specifies exact location within array and allows for efficient iteration over child elements (underlying storage is guaranteed to be efficiently indexable, i.e. has random-access to elements). If index is less than 0, or equal-or-greater than <code>node.size()</code>, null is returned; no exception is thrown for any index. <p> NOTE: if the element value has been explicitly set as <code>null</code> (which is different from removal!), 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, not null. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)">get</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>Node that represent value of the specified element, if this node is an array and has specified element. Null otherwise.</DL> </DD> </DL> <HR> <A NAME="get(java.lang.String)"><!-- --></A><H3> get</H3> <PRE> public abstract <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A> <B>get</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName)</PRE> <DL> <DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)">JsonNode</A></CODE></B></DD> <DD>Method for accessing value of the specified field of an object node. If this node is not an object (or it does not have a value for specified field name), or if there is no field with such name, null is returned. <p> NOTE: if the property value has been explicitly set as <code>null</code> (which is different from removal!), 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, not null. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)">get</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>Node that represent value of the specified field, if this node is an object and has value for the specified field. Null otherwise.</DL> </DD> </DL> <HR> <A NAME="arrayNode()"><!-- --></A><H3> arrayNode</H3> <PRE> public final <A HREF="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</A> <B>arrayNode</B>()</PRE> <DL> <DD>Factory method that constructs and returns an empty <A HREF="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node"><CODE>ArrayNode</CODE></A> Construction is done using registered <A HREF="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node"><CODE>JsonNodeFactory</CODE></A>. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="objectNode()"><!-- --></A><H3> objectNode</H3> <PRE> public final <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</A> <B>objectNode</B>()</PRE> <DL> <DD>Factory method that constructs and returns an empty <A HREF="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node"><CODE>ObjectNode</CODE></A> Construction is done using registered <A HREF="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node"><CODE>JsonNodeFactory</CODE></A>. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="nullNode()"><!-- --></A><H3> nullNode</H3> <PRE> public final <A HREF="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node">NullNode</A> <B>nullNode</B>()</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="booleanNode(boolean)"><!-- --></A><H3> booleanNode</H3> <PRE> public final <A HREF="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node">BooleanNode</A> <B>booleanNode</B>(boolean v)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="numberNode(byte)"><!-- --></A><H3> numberNode</H3> <PRE> public final <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A> <B>numberNode</B>(byte v)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="numberNode(short)"><!-- --></A><H3> numberNode</H3> <PRE> public final <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A> <B>numberNode</B>(short v)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="numberNode(int)"><!-- --></A><H3> numberNode</H3> <PRE> public final <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A> <B>numberNode</B>(int v)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="numberNode(long)"><!-- --></A><H3> numberNode</H3> <PRE> public final <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A> <B>numberNode</B>(long v)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="numberNode(float)"><!-- --></A><H3> numberNode</H3> <PRE> public final <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A> <B>numberNode</B>(float v)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="numberNode(double)"><!-- --></A><H3> numberNode</H3> <PRE> public final <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A> <B>numberNode</B>(double v)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="numberNode(java.math.BigDecimal)"><!-- --></A><H3> numberNode</H3> <PRE> public final <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A> <B>numberNode</B>(<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> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="textNode(java.lang.String)"><!-- --></A><H3> textNode</H3> <PRE> public final <A HREF="../../../../../com/fasterxml/jackson/databind/node/TextNode.html" title="class in com.fasterxml.jackson.databind.node">TextNode</A> <B>textNode</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> text)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="binaryNode(byte[])"><!-- --></A><H3> binaryNode</H3> <PRE> public final <A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node">BinaryNode</A> <B>binaryNode</B>(byte[] data)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="binaryNode(byte[], int, int)"><!-- --></A><H3> binaryNode</H3> <PRE> public final <A HREF="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node">BinaryNode</A> <B>binaryNode</B>(byte[] data, int offset, int length)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="POJONode(java.lang.Object)"><!-- --></A><H3> POJONode</H3> <PRE> public final <A HREF="../../../../../com/fasterxml/jackson/databind/node/POJONode.html" title="class in com.fasterxml.jackson.databind.node">POJONode</A> <B>POJONode</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pojo)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="removeAll()"><!-- --></A><H3> removeAll</H3> <PRE> public abstract <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="type parameter in ContainerNode">T</A> <B>removeAll</B>()</PRE> <DL> <DD>Method for removing all children container has (if any) <P> <DD><DL> <DT><B>Returns:</B><DD>Container node itself (to allow method call chaining)</DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ContainerNode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node"><B>PREV CLASS</B></A> <A HREF="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.NoNodesIterator.html" title="class in com.fasterxml.jackson.databind.node"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/node/ContainerNode.html" target="_top"><B>FRAMES</B></A> <A HREF="ContainerNode.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright © 2012 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved. </BODY> </HTML>