You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juneau.apache.org by ja...@apache.org on 2017/03/27 01:21:42 UTC
[32/37] incubator-juneau-website git commit: Update javadocs
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/236aea45/content/site/apidocs/org/apache/juneau/parser/Parser.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/parser/Parser.html b/content/site/apidocs/org/apache/juneau/parser/Parser.html
index c39c08c..d4e6efa 100644
--- a/content/site/apidocs/org/apache/juneau/parser/Parser.html
+++ b/content/site/apidocs/org/apache/juneau/parser/Parser.html
@@ -18,7 +18,7 @@
catch(err) {
}
//-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":6,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":6,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":6,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":6,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -390,6 +390,13 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
</td>
</tr>
<tr id="i18" class="altColor">
+<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/parser/Parser.html#parseArgs-java.lang.Object-java.lang.reflect.Type:A-">parseArgs</a></span>(<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> input,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>[] argTypes)</code>
+<div class="block">Same as <a href="../../../../org/apache/juneau/parser/Parser.html#parseArgs-java.lang.Object-org.apache.juneau.ClassMeta:A-"><code>parseArgs(Object, ClassMeta[])</code></a> except allows you to pass in <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> objects.</div>
+</td>
+</tr>
+<tr id="i19" class="rowColor">
<td class="colFirst"><code><E> <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><E></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/Parser.html#parseIntoCollection-java.lang.Object-java.util.Collection-java.lang.reflect.Type-">parseIntoCollection</a></span>(<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> input,
<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><E> c,
@@ -397,7 +404,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<div class="block">Parses the contents of the specified reader and loads the results into the specified collection.</div>
</td>
</tr>
-<tr id="i19" class="rowColor">
+<tr id="i20" class="altColor">
<td class="colFirst"><code><K,V> <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><K,V></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/Parser.html#parseIntoMap-java.lang.Object-java.util.Map-java.lang.reflect.Type-java.lang.reflect.Type-">parseIntoMap</a></span>(<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> input,
<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><K,V> m,
@@ -406,14 +413,14 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<div class="block">Parses the contents of the specified reader and loads the results into the specified map.</div>
</td>
</tr>
-<tr id="i20" class="altColor">
+<tr id="i21" class="rowColor">
<td class="colFirst"><code><T> T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/Parser.html#parseSession-org.apache.juneau.parser.ParserSession-org.apache.juneau.ClassMeta-">parseSession</a></span>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> type)</code>
<div class="block">Entry point for all parsing calls.</div>
</td>
</tr>
-<tr id="i21" class="rowColor">
+<tr id="i22" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/Parser.html#setName-org.apache.juneau.ClassMeta-java.lang.Object-java.lang.Object-">setName</a></span>(<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> cm,
<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,
@@ -422,7 +429,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
the specified object if it exists.</div>
</td>
</tr>
-<tr id="i22" class="altColor">
+<tr id="i23" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/Parser.html#setParent-org.apache.juneau.ClassMeta-java.lang.Object-java.lang.Object-">setParent</a></span>(<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> cm,
<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,
@@ -549,7 +556,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>parse</h4>
-<pre>public final <T> T <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.277">parse</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> input,
+<pre>public final <T> T <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.278">parse</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> input,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)
throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
@@ -616,6 +623,8 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<dd>The parsed object.</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, or is not valid for the specified type.</dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../org/apache/juneau/BeanSession.html#getClassMeta-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>for argument syntax for maps and collections.</code></a></dd>
</dl>
</li>
</ul>
@@ -625,7 +634,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>parse</h4>
-<pre>public final <T> T <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.310">parse</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> input,
+<pre>public final <T> T <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.314">parse</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> input,
<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)
throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
<div class="block">Same as <a href="../../../../org/apache/juneau/parser/Parser.html#parse-java.lang.Object-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>parse(Object, Type, Type...)</code></a> except optimized for a non-parameterized class.
@@ -636,11 +645,14 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
ReaderParser p = JsonParser.<jsf>DEFAULT</jsf>;
<jc>// Parse into a string.</jc>
- MyBean b = p.parse(json, String.<jk>class</jk>);
+ String s = p.parse(json, String.<jk>class</jk>);
<jc>// Parse into a bean.</jc>
MyBean b = p.parse(json, MyBean.<jk>class</jk>);
+ <jc>// Parse into a bean array.</jc>
+ MyBean[] ba = p.parse(json, MyBean[].<jk>class</jk>);
+
<jc>// Parse into a linked-list of objects.</jc>
List l = p.parse(json, LinkedList.<jk>class</jk>);
@@ -667,7 +679,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>parse</h4>
-<pre>public final <T> T <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.327">parse</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> input,
+<pre>public final <T> T <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.331">parse</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> input,
<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> type)
throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
<div class="block">Same as <a href="../../../../org/apache/juneau/parser/Parser.html#parse-java.lang.Object-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>parse(Object, Type, Type...)</code></a> except the type has already been converted into a <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> object.
@@ -693,7 +705,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>createSession</h4>
-<pre>public <a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.350">createSession</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> input,
+<pre>public <a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.354">createSession</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> input,
<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> op,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> javaMethod,
<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> outer,
@@ -728,7 +740,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>createSession</h4>
-<pre>protected final <a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.362">createSession</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> input)</pre>
+<pre>protected final <a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.366">createSession</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> input)</pre>
<div class="block">Create a basic session object without overriding properties or specifying <code>javaMethod</code>.
<p>
Equivalent to calling <code>createSession(<jk>null</jk>, <jk>null</jk>)</code>.</div>
@@ -746,7 +758,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>parseIntoMap</h4>
-<pre>public final <K,V> <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><K,V> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.391">parseIntoMap</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> input,
+<pre>public final <K,V> <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><K,V> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.395">parseIntoMap</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> input,
<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><K,V> m,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> keyType,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> valueType)
@@ -782,7 +794,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>doParseIntoMap</h4>
-<pre>protected <K,V> <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><K,V> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.416">doParseIntoMap</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
+<pre>protected <K,V> <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><K,V> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.420">doParseIntoMap</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
<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><K,V> m,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> keyType,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> valueType)
@@ -809,7 +821,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>parseIntoCollection</h4>
-<pre>public final <E> <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><E> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.436">parseIntoCollection</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> input,
+<pre>public final <E> <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><E> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.440">parseIntoCollection</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> input,
<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><E> c,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> elementType)
throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
@@ -840,7 +852,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>doParseIntoCollection</h4>
-<pre>protected <E> <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><E> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.460">doParseIntoCollection</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
+<pre>protected <E> <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><E> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.464">doParseIntoCollection</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
<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><E> c,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> elementType)
throws <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></pre>
@@ -865,7 +877,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>parseArgs</h4>
-<pre>public final <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/parser/Parser.html#line.482">parseArgs</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> input,
+<pre>public final <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/parser/Parser.html#line.485">parseArgs</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> input,
<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?>[] argTypes)
throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
<div class="block">Parses the specified array input with each entry in the object defined by the <code>argTypes</code>
@@ -886,7 +898,27 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<dd>An array of parsed objects.</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, or is not valid for the specified type.</dd>
-<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - If not implemented.</dd>
+</dl>
+</li>
+</ul>
+<a name="parseArgs-java.lang.Object-java.lang.reflect.Type:A-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>parseArgs</h4>
+<pre>public final <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/parser/Parser.html#line.508">parseArgs</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> input,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>[] argTypes)
+ throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
+<div class="block">Same as <a href="../../../../org/apache/juneau/parser/Parser.html#parseArgs-java.lang.Object-org.apache.juneau.ClassMeta:A-"><code>parseArgs(Object, ClassMeta[])</code></a> except allows you to pass in <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> objects.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>input</code> - The input. Subclasses can support different input types.</dd>
+<dd><code>argTypes</code> - Specifies the type of objects to create for each entry in the array.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>An array of parsed objects.</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, or is not valid for the specified type.</dd>
</dl>
</li>
</ul>
@@ -896,7 +928,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>doParseArgs</h4>
-<pre>protected <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/parser/Parser.html#line.507">doParseArgs</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
+<pre>protected <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/parser/Parser.html#line.533">doParseArgs</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?>[] argTypes)
throws <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></pre>
<div class="block">Implementation method.
@@ -919,7 +951,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>addListener</h4>
-<pre>public <a href="../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.522">addListener</a>(<a href="../../../../org/apache/juneau/parser/ParserListener.html" title="class in org.apache.juneau.parser">ParserListener</a> listener)</pre>
+<pre>public <a href="../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.548">addListener</a>(<a href="../../../../org/apache/juneau/parser/ParserListener.html" title="class in org.apache.juneau.parser">ParserListener</a> listener)</pre>
<div class="block">Adds a <a href="../../../../org/apache/juneau/parser/ParserListener.html" title="class in org.apache.juneau.parser"><code>ParserListener</code></a> to this parser to listen for parse events.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -935,7 +967,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>getListeners</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="../../../../org/apache/juneau/parser/ParserListener.html" title="class in org.apache.juneau.parser">ParserListener</a>> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.532">getListeners</a>()</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="../../../../org/apache/juneau/parser/ParserListener.html" title="class in org.apache.juneau.parser">ParserListener</a>> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.558">getListeners</a>()</pre>
<div class="block">Returns the current parser listeners associated with this parser.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@@ -949,7 +981,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>convertAttrToType</h4>
-<pre>protected <T> T <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.548">convertAttrToType</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
+<pre>protected <T> T <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.574">convertAttrToType</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
<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> outer,
<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> s,
<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> type)
@@ -976,7 +1008,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>setParent</h4>
-<pre>protected void <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.589">setParent</a>(<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> cm,
+<pre>protected void <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.615">setParent</a>(<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> cm,
<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,
<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> parent)
throws <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></pre>
@@ -998,7 +1030,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>setName</h4>
-<pre>protected void <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.604">setName</a>(<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> cm,
+<pre>protected void <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.630">setName</a>(<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> cm,
<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,
<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> name)
throws <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></pre>
@@ -1020,7 +1052,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>onUnknownProperty</h4>
-<pre>protected <T> void <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.624">onUnknownProperty</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
+<pre>protected <T> void <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.650">onUnknownProperty</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
<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> propertyName,
<a href="../../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><T> beanMap,
int line,
@@ -1048,7 +1080,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>getMediaTypes</h4>
-<pre>public <a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a>[] <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.642">getMediaTypes</a>()</pre>
+<pre>public <a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a>[] <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.668">getMediaTypes</a>()</pre>
<div class="block">Returns the media types handled based on the value of the <a href="../../../../org/apache/juneau/annotation/Consumes.html" title="annotation in org.apache.juneau.annotation"><code>Consumes</code></a> annotation on the parser class.
<p>
This method can be overridden by subclasses to determine the media types programatically.</div>
@@ -1064,7 +1096,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
<ul class="blockListLast">
<li class="blockList">
<h4>getPrimaryMediaType</h4>
-<pre>public <a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.651">getPrimaryMediaType</a>()</pre>
+<pre>public <a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.677">getPrimaryMediaType</a>()</pre>
<div class="block">Returns the first media type specified on this parser via the <a href="../../../../org/apache/juneau/annotation/Consumes.html" title="annotation in org.apache.juneau.annotation"><code>Consumes</code></a> annotation.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>