http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1b5bde65/content/site/apidocs/org/apache/juneau/Delegate.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/Delegate.html b/content/site/apidocs/org/apache/juneau/Delegate.html index ccc8ae5..5b1ce85 100644 --- a/content/site/apidocs/org/apache/juneau/Delegate.html +++ b/content/site/apidocs/org/apache/juneau/Delegate.html @@ -108,10 +108,12 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public interface <a href="../../../src-html/org/apache/juneau/Delegate.html#line.24">Delegate</a><T></pre> +<pre>public interface <a href="../../../src-html/org/apache/juneau/Delegate.html#line.26">Delegate</a><T></pre> <div class="block">An object that represents another object, often wrapping that object. + <p> <b>*** Internal Interface - Not intended for external use ***</b> + <p> For example, <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau"><code>BeanMap</code></a> is a map representation of a bean.</div> </li> @@ -159,7 +161,7 @@ var activeTableTab = "activeTableTab"; <ul class="blockListLast"> <li class="blockList"> <h4>getClassMeta</h4> -<pre><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="../../../org/apache/juneau/Delegate.html" title="type parameter in Delegate">T</a>> <a href="../../../src-html/org/apache/juneau/Delegate.html#line.31">getClassMeta</a>()</pre> +<pre><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="../../../org/apache/juneau/Delegate.html" title="type parameter in Delegate">T</a>> <a href="../../../src-html/org/apache/juneau/Delegate.html#line.33">getClassMeta</a>()</pre> <div class="block">The <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> of the class of the represented object.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1b5bde65/content/site/apidocs/org/apache/juneau/InvalidDataConversionException.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/InvalidDataConversionException.html b/content/site/apidocs/org/apache/juneau/InvalidDataConversionException.html index 1cd9d69..8af4a92 100644 --- a/content/site/apidocs/org/apache/juneau/InvalidDataConversionException.html +++ b/content/site/apidocs/org/apache/juneau/InvalidDataConversionException.html @@ -126,9 +126,10 @@ </dl> <hr> <br> -<pre>public final class <a href="../../../src-html/org/apache/juneau/InvalidDataConversionException.html#line.25">InvalidDataConversionException</a> +<pre>public final class <a href="../../../src-html/org/apache/juneau/InvalidDataConversionException.html#line.26">InvalidDataConversionException</a> extends <a href="../../../org/apache/juneau/FormattedRuntimeException.html" title="class in org.apache.juneau">FormattedRuntimeException</a></pre> <div class="block">General invalid conversion exception. + <p> Exception that gets thrown if you try to perform an invalid conversion, such as when calling <code>ObjectMap.getInt(...)</code> on a non-numeric <code>String</code>.</div> @@ -206,7 +207,7 @@ extends <a href="../../../org/apache/juneau/FormattedRuntimeException.html" titl <ul class="blockList"> <li class="blockList"> <h4>InvalidDataConversionException</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/InvalidDataConversionException.html#line.34">InvalidDataConversionException</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, +<pre>public <a href="../../../src-html/org/apache/juneau/InvalidDataConversionException.html#line.35">InvalidDataConversionException</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> toType, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a> cause)</pre> <dl> @@ -223,7 +224,7 @@ extends <a href="../../../org/apache/juneau/FormattedRuntimeException.html" titl <ul class="blockListLast"> <li class="blockList"> <h4>InvalidDataConversionException</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/InvalidDataConversionException.html#line.44">InvalidDataConversionException</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, +<pre>public <a href="../../../src-html/org/apache/juneau/InvalidDataConversionException.html#line.45">InvalidDataConversionException</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> toType, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a> cause)</pre> <dl> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1b5bde65/content/site/apidocs/org/apache/juneau/ObjectList.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/ObjectList.html b/content/site/apidocs/org/apache/juneau/ObjectList.html index a9feca5..b5c4415 100644 --- a/content/site/apidocs/org/apache/juneau/ObjectList.html +++ b/content/site/apidocs/org/apache/juneau/ObjectList.html @@ -136,18 +136,20 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public class <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.93">ObjectList</a> +<pre>public class <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.96">ObjectList</a> extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html?is-external=true" title="class or interface in java.util">LinkedList</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></pre> <div class="block">Java implementation of a JSON array. + <p> - An extension of <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html?is-external=true" title="class or interface in java.util"><code>LinkedList</code></a>, so all methods available to in that class are also available - to this class. + An extension of <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html?is-external=true" title="class or interface in java.util"><code>LinkedList</code></a>, so all methods available to in that class are also available to this class. + <p> - Note that the use of this class is optional. The serializers will accept any objects that implement - the <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> interface. But this class provides some useful additional functionality - when working with JSON models constructed from Java Collections Framework objects. For example, a - constructor is provided for converting a JSON array string directly into a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a>. It also contains - accessor methods for to avoid common typecasting when accessing elements in a list. + Note that the use of this class is optional. + The serializers will accept any objects that implement the <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> interface. + But this class provides some useful additional functionality when working with JSON models constructed from Java + Collections Framework objects. + For example, a constructor is provided for converting a JSON array string directly into a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a>. + It also contains accessor methods for to avoid common typecasting when accessing elements in a list. <h5 class='section'>Example:</h5> <p class='bcode'> @@ -204,6 +206,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <jc>// Do something with p</jc> } </p> + <p> This class is not thread safe.</div> <dl> @@ -321,8 +324,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <tr id="i1" class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ObjectList.html#deleteAt-java.lang.String-">deleteAt</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</code> -<div class="block">Similar to <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html?is-external=true#remove-int-" title="class or interface in java.util"><code>remove(int)</code></a>,but the key is a slash-delimited - path used to traverse entries in this POJO.</div> +<div class="block">Similar to <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html?is-external=true#remove-int-" title="class or interface in java.util"><code>remove(int)</code></a>,but the key is a slash-delimited path used to traverse entries in + this POJO.</div> </td> </tr> <tr id="i2" class="altColor"> @@ -342,8 +345,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <td class="colFirst"><code><T> T</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ObjectList.html#getAt-java.lang.Class-java.lang.String-">getAt</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</code> -<div class="block">Same as <a href="../../../org/apache/juneau/ObjectList.html#get-java.lang.Class-int-"><code>get(Class,int)</code></a>, but the key is a slash-delimited - path used to traverse entries in this POJO.</div> +<div class="block">Same as <a href="../../../org/apache/juneau/ObjectList.html#get-java.lang.Class-int-"><code>get(Class,int)</code></a>, but the key is a slash-delimited path used to traverse entries in + this POJO.</div> </td> </tr> <tr id="i5" class="rowColor"> @@ -404,23 +407,22 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ObjectList.html#postAt-java.lang.String-java.lang.Object-">postAt</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> -<div class="block">Similar to <a href="../../../org/apache/juneau/ObjectList.html#putAt-java.lang.String-java.lang.Object-"><code>putAt(String,Object)</code></a>, but used to append - to collections and arrays.</div> +<div class="block">Similar to <a href="../../../org/apache/juneau/ObjectList.html#putAt-java.lang.String-java.lang.Object-"><code>putAt(String,Object)</code></a>, but used to append to collections and arrays.</div> </td> </tr> <tr id="i15" class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ObjectList.html#putAt-java.lang.String-java.lang.Object-">putAt</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> -<div class="block">Same as <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html?is-external=true#set-int-E-" title="class or interface in java.util"><code>set(int,Object)</code></a>, but the key is a slash-delimited - path used to traverse entries in this POJO.</div> +<div class="block">Same as <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html?is-external=true#set-int-E-" title="class or interface in java.util"><code>set(int,Object)</code></a>, but the key is a slash-delimited path used to traverse entries + in this POJO.</div> </td> </tr> <tr id="i16" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ObjectList.html#serializeTo-java.io.Writer-">serializeTo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> w)</code> -<div class="block">Convenience method for serializing this ObjectList to the specified Writer using - the JsonSerializer.DEFAULT serializer.</div> +<div class="block">Convenience method for serializing this ObjectList to the specified Writer using the JsonSerializer.DEFAULT + serializer.</div> </td> </tr> <tr id="i17" class="rowColor"> @@ -525,7 +527,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockListLast"> <li class="blockList"> <h4>EMPTY_LIST</h4> -<pre>public static final <a href="../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.102">EMPTY_LIST</a></pre> +<pre>public static final <a href="../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.105">EMPTY_LIST</a></pre> <div class="block">An empty read-only ObjectList.</div> </li> </ul> @@ -543,7 +545,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>ObjectList</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.138">ObjectList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a> s, +<pre>public <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.141">ObjectList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a> s, <a href="../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a> p) throws <a href="../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre> <div class="block">Construct a JSON array directly from text using the specified parser.</div> @@ -562,7 +564,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>ObjectList</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.157">ObjectList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a> s) +<pre>public <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.160">ObjectList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a> s) throws <a href="../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre> <div class="block">Shortcut for <code><jk>new</jk> ObjectList(String,JsonParser.<jsf>DEFAULT</jsf>);</code></div> <dl> @@ -579,15 +581,15 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>ObjectList</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.170">ObjectList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> r, +<pre>public <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.174">ObjectList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> r, <a href="../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a> p) throws <a href="../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Construct a JSON array directly from a reader using the specified parser.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>r</code> - The reader to read from. Will automatically be wrapped in a <a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io"><code>BufferedReader</code></a> if it isn't already - a BufferedReader.</dd> +<dd><code>r</code> - The reader to read from. + Will automatically be wrapped in a <a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io"><code>BufferedReader</code></a> if it isn't already a BufferedReader.</dd> <dd><code>p</code> - The parser to use to parse the input.</dd> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code><a href="../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></code> - If the input contains a syntax error or is malformed.</dd> @@ -601,13 +603,14 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>ObjectList</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.182">ObjectList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> r) +<pre>public <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.188">ObjectList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> r) throws <a href="../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Shortcut for <code><jk>new</jk> ObjectList(reader, JsonParser.<jsf>DEFAULT</jsf>)</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>r</code> - The reader to read from. The reader will be wrapped in a <a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io"><code>BufferedReader</code></a> if it isn't already.</dd> +<dd><code>r</code> - The reader to read from. + The reader will be wrapped in a <a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io"><code>BufferedReader</code></a> if it isn't already.</dd> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code><a href="../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></code> - If the input contains a syntax error or is malformed.</dd> <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If a problem occurred trying to read from the reader.</dd> @@ -620,7 +623,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>ObjectList</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.196">ObjectList</a>()</pre> +<pre>public <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.202">ObjectList</a>()</pre> <div class="block">Construct an empty JSON array. (i.e. an empty <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html?is-external=true" title="class or interface in java.util"><code>LinkedList</code></a>).</div> </li> </ul> @@ -630,7 +633,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>ObjectList</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.205">ObjectList</a>(<a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a> session)</pre> +<pre>public <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.211">ObjectList</a>(<a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a> session)</pre> <div class="block">Construct an empty JSON array with the specified bean context. (i.e. an empty <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html?is-external=true" title="class or interface in java.util"><code>LinkedList</code></a>).</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -644,7 +647,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>ObjectList</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.215">ObjectList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... o)</pre> +<pre>public <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.221">ObjectList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... o)</pre> <div class="block">Construct a JSON array and fill it with the specified objects.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -658,7 +661,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockListLast"> <li class="blockList"> <h4>ObjectList</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.224">ObjectList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><?> c)</pre> +<pre>public <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.230">ObjectList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><?> c)</pre> <div class="block">Construct a JSON array and fill it with the specified collection of objects.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -680,10 +683,12 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>setBeanSession</h4> -<pre>public <a href="../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.238">setBeanSession</a>(<a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a> session)</pre> +<pre>public <a href="../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.246">setBeanSession</a>(<a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a> session)</pre> <div class="block">Override the default bean session used for converting POJOs. + <p> Default is <a href="../../../org/apache/juneau/BeanContext.html#DEFAULT"><code>BeanContext.DEFAULT</code></a>, which is sufficient in most cases. + <p> Useful if you're serializing/parsing beans with transforms defined.</div> <dl> @@ -700,7 +705,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>append</h4> -<pre>public <a href="../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.248">append</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... o)</pre> +<pre>public <a href="../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.257">append</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... o)</pre> <div class="block">Convenience method for adding multiple objects to this list.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -716,9 +721,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>get</h4> -<pre>public <T> T <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.264">get</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, +<pre>public <T> T <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.274">get</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, int index)</pre> <div class="block">Get the entry at the specified index, converted to the specified type (if possible). + <p> See <a href="../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-org.apache.juneau.ClassMeta-"><code>BeanSession.convertToType(Object, ClassMeta)</code></a> for the list of valid data conversions.</div> <dl> @@ -738,7 +744,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>getString</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.274">getString</a>(int index)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.284">getString</a>(int index)</pre> <div class="block">Shortcut for calling <code>get(String.<jk>class</jk>, index)</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -754,7 +760,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>getInt</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.285">getInt</a>(int index)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.295">getInt</a>(int index)</pre> <div class="block">Shortcut for calling <code>get(Integer.<jk>class</jk>, index)</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -772,7 +778,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>getBoolean</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.296">getBoolean</a>(int index)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.306">getBoolean</a>(int index)</pre> <div class="block">Shortcut for calling <code>get(Boolean.<jk>class</jk>, index)</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -790,7 +796,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>getLong</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.307">getLong</a>(int index)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.317">getLong</a>(int index)</pre> <div class="block">Shortcut for calling <code>get(Long.<jk>class</jk>, index)</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -808,7 +814,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>getMap</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><?,?> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.318">getMap</a>(int index)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><?,?> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.328">getMap</a>(int index)</pre> <div class="block">Shortcut for calling <code>get(Map.<jk>class</jk>, index)</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -826,7 +832,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>getList</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><?> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.329">getList</a>(int index)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><?> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.339">getList</a>(int index)</pre> <div class="block">Shortcut for calling <code>get(List.<jk>class</jk>, index)</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -844,7 +850,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>getObjectMap</h4> -<pre>public <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.340">getObjectMap</a>(int index)</pre> +<pre>public <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.350">getObjectMap</a>(int index)</pre> <div class="block">Shortcut for calling <code>get(ObjectMap.<jk>class</jk>, index)</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -862,7 +868,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>getObjectList</h4> -<pre>public <a href="../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.351">getObjectList</a>(int index)</pre> +<pre>public <a href="../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.361">getObjectList</a>(int index)</pre> <div class="block">Shortcut for calling <code>get(ObjectList.<jk>class</jk>, index)</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -880,10 +886,11 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>getAt</h4> -<pre>public <T> T <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.379">getAt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, +<pre>public <T> T <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.391">getAt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</pre> -<div class="block">Same as <a href="../../../org/apache/juneau/ObjectList.html#get-java.lang.Class-int-"><code>get(Class,int)</code></a>, but the key is a slash-delimited - path used to traverse entries in this POJO. +<div class="block">Same as <a href="../../../org/apache/juneau/ObjectList.html#get-java.lang.Class-int-"><code>get(Class,int)</code></a>, but the key is a slash-delimited path used to traverse entries in + this POJO. + <p> For example, the following code is equivalent: </p> @@ -896,9 +903,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <jc>// Using this method</jc> <jk>long</jk> l = m.getAt(<jk>long</jk>.<jk>class</jk>, <js>"foo/bar/0/baz"</js>); </p> + <p> - This method uses the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class to perform the lookup, so the map can contain - any of the various class types that the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class supports (e.g. beans, collections, arrays).</div> + This method uses the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class to perform the lookup, so the map can contain any of the various + class types that the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class supports (e.g. beans, collections, arrays).</div> <dl> <dt><span class="paramLabel">Type Parameters:</span></dt> <dd><code>T</code> - The class type.</dd> @@ -916,10 +924,11 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>putAt</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.406">putAt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.420">putAt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> -<div class="block">Same as <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html?is-external=true#set-int-E-" title="class or interface in java.util"><code>set(int,Object)</code></a>, but the key is a slash-delimited - path used to traverse entries in this POJO. +<div class="block">Same as <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html?is-external=true#set-int-E-" title="class or interface in java.util"><code>set(int,Object)</code></a>, but the key is a slash-delimited path used to traverse entries + in this POJO. + <p> For example, the following code is equivalent: </p> @@ -932,9 +941,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <jc>// Using this method</jc> m.putAt(<js>"foo/bar/0/baz"</js>, 123); </p> + <p> - This method uses the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class to perform the lookup, so the map can contain - any of the various class types that the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class supports (e.g. beans, collections, arrays).</div> + This method uses the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class to perform the lookup, so the map can contain any of the various + class types that the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class supports (e.g. beans, collections, arrays).</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>path</code> - The path to the entry.</dd> @@ -950,10 +960,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>postAt</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.433">postAt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.448">postAt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> -<div class="block">Similar to <a href="../../../org/apache/juneau/ObjectList.html#putAt-java.lang.String-java.lang.Object-"><code>putAt(String,Object)</code></a>, but used to append - to collections and arrays. +<div class="block">Similar to <a href="../../../org/apache/juneau/ObjectList.html#putAt-java.lang.String-java.lang.Object-"><code>putAt(String,Object)</code></a>, but used to append to collections and arrays. + <p> For example, the following code is equivalent: </p> @@ -966,9 +976,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <jc>// Using this method</jc> m.postAt(<js>"foo/bar"</js>, 123); </p> + <p> - This method uses the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class to perform the lookup, so the map can contain - any of the various class types that the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class supports (e.g. beans, collections, arrays).</div> + This method uses the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class to perform the lookup, so the map can contain any of the various + class types that the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class supports (e.g. beans, collections, arrays).</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>path</code> - The path to the entry.</dd> @@ -984,9 +995,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>deleteAt</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.459">deleteAt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</pre> -<div class="block">Similar to <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html?is-external=true#remove-int-" title="class or interface in java.util"><code>remove(int)</code></a>,but the key is a slash-delimited - path used to traverse entries in this POJO. +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.476">deleteAt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</pre> +<div class="block">Similar to <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html?is-external=true#remove-int-" title="class or interface in java.util"><code>remove(int)</code></a>,but the key is a slash-delimited path used to traverse entries in + this POJO. + <p> For example, the following code is equivalent: </p> @@ -999,9 +1011,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <jc>// Using this method</jc> m.deleteAt(<js>"foo/bar/0/baz"</js>); </p> + <p> - This method uses the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class to perform the lookup, so the map can contain - any of the various class types that the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class supports (e.g. beans, collections, arrays).</div> + This method uses the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class to perform the lookup, so the map can contain any of the various + class types that the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class supports (e.g. beans, collections, arrays).</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>path</code> - The path to the entry.</dd> @@ -1016,13 +1029,16 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>elements</h4> -<pre>public <E> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><E> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.499">elements</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><E> childType)</pre> +<pre>public <E> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><E> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.519">elements</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><E> childType)</pre> <div class="block">Creates an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang"><code>Iterable</code></a> with elements of the specified child type. + <p> Attempts to convert the child objects to the correct type if they aren't already the correct type. + <p> The <code>next()</code> method on the returned iterator may throw a <a href="../../../org/apache/juneau/InvalidDataConversionException.html" title="class in org.apache.juneau"><code>InvalidDataConversionException</code></a> if - the next element cannot be converted to the specified type. + the next element cannot be converted to the specified type. + <p> See <a href="../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-org.apache.juneau.ClassMeta-"><code>BeanSession.convertToType(Object, ClassMeta)</code></a> for a description of valid conversions. @@ -1063,7 +1079,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>getClassMeta</h4> -<pre>public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.533">getClassMeta</a>(int index)</pre> +<pre>public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.553">getClassMeta</a>(int index)</pre> <div class="block">Returns the <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> of the class of the object at the specified index.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1079,7 +1095,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>toString</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.550">toString</a>(<a href="../../../org/apache/juneau/serializer/WriterSerializer.html" title="class in org.apache.juneau.serializer">WriterSerializer</a> serializer) +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.570">toString</a>(<a href="../../../org/apache/juneau/serializer/WriterSerializer.html" title="class in org.apache.juneau.serializer">WriterSerializer</a> serializer) throws <a href="../../../org/apache/juneau/serializer/SerializeException.html" title="class in org.apache.juneau.serializer">SerializeException</a></pre> <div class="block">Serialize this array to a string using the specified serializer.</div> <dl> @@ -1098,7 +1114,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>toString</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.558">toString</a>()</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.578">toString</a>()</pre> <div class="block">Serialize this array to JSON using the <a href="../../../org/apache/juneau/json/JsonSerializer.html#DEFAULT"><code>JsonSerializer.DEFAULT</code></a> serializer.</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> @@ -1112,11 +1128,11 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockListLast"> <li class="blockList"> <h4>serializeTo</h4> -<pre>public void <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.574">serializeTo</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> w) +<pre>public void <a href="../../../src-html/org/apache/juneau/ObjectList.html#line.594">serializeTo</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> w) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, <a href="../../../org/apache/juneau/serializer/SerializeException.html" title="class in org.apache.juneau.serializer">SerializeException</a></pre> -<div class="block">Convenience method for serializing this ObjectList to the specified Writer using - the JsonSerializer.DEFAULT serializer.</div> +<div class="block">Convenience method for serializing this ObjectList to the specified Writer using the JsonSerializer.DEFAULT + serializer.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>w</code> - The writer to send the serialized contents of this object.</dd>
