http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/ebea5c00/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 512b17f..2f52975 100644 --- a/content/site/apidocs/org/apache/juneau/parser/Parser.html +++ b/content/site/apidocs/org/apache/juneau/parser/Parser.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Parser (Apache Juneau (incubating) 6.3.1-incubating-SNAPSHOT)</title> +<title>Parser (Apache Juneau (incubating) 6.3.2-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> @@ -12,13 +12,13 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="Parser (Apache Juneau (incubating) 6.3.1-incubating-SNAPSHOT)"; + parent.document.title="Parser (Apache Juneau (incubating) 6.3.2-incubating-SNAPSHOT)"; } } catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":6,"i5":10,"i6":10,"i7":10,"i8":10,"i9":6,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10}; +var methods = {"i0":10,"i1":10,"i2":6,"i3":10,"i4":10,"i5":6,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":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"; @@ -273,82 +273,43 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in </td> </tr> <tr id="i1" class="rowColor"> -<td class="colFirst"><code>protected <T> T</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/Parser.html#convertAttrToType-org.apache.juneau.parser.ParserSession-java.lang.Object-java.lang.String-org.apache.juneau.ClassMeta-">convertAttrToType</a></span>(<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)</code> -<div class="block">Converts the specified string to the specified type.</div> -</td> -</tr> -<tr id="i2" class="altColor"> -<td class="colFirst"><code>protected <a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/Parser.html#createSession-java.lang.Object-">createSession</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)</code> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/Parser.html#createSession--">createSession</a></span>()</code> <div class="block">Create a basic session object without overriding properties or specifying <code>javaMethod</code>.</div> </td> </tr> -<tr id="i3" class="rowColor"> -<td class="colFirst"><code><a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/Parser.html#createSession-java.lang.Object-org.apache.juneau.ObjectMap-java.lang.reflect.Method-java.lang.Object-java.util.Locale-java.util.TimeZone-org.apache.juneau.http.MediaType-">createSession</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="../../../../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, - <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> locale, - <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> timeZone, - <a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a> mediaType)</code> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>abstract <a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/Parser.html#createSession-org.apache.juneau.parser.ParserSessionArgs-">createSession</a></span>(<a href="../../../../org/apache/juneau/parser/ParserSessionArgs.html" title="class in org.apache.juneau.parser">ParserSessionArgs</a> args)</code> <div class="block">Create the session object that will be passed in to the parse method.</div> </td> </tr> -<tr id="i4" class="altColor"> -<td class="colFirst"><code>protected abstract <T> T</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/Parser.html#doParse-org.apache.juneau.parser.ParserSession-org.apache.juneau.ClassMeta-">doParse</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">Workhorse method.</div> -</td> -</tr> -<tr id="i5" class="rowColor"> -<td class="colFirst"><code>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></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/Parser.html#doParseIntoCollection-org.apache.juneau.parser.ParserSession-java.util.Collection-java.lang.reflect.Type-">doParseIntoCollection</a></span>(<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)</code> -<div class="block">Implementation method.</div> -</td> -</tr> -<tr id="i6" class="altColor"> -<td class="colFirst"><code>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></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/Parser.html#doParseIntoMap-org.apache.juneau.parser.ParserSession-java.util.Map-java.lang.reflect.Type-java.lang.reflect.Type-">doParseIntoMap</a></span>(<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)</code> -<div class="block">Implementation method.</div> -</td> -</tr> -<tr id="i7" class="rowColor"> +<tr id="i3" class="rowColor"> <td class="colFirst"><code><a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>[]</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/Parser.html#getMediaTypes--">getMediaTypes</a></span>()</code> <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.</div> </td> </tr> -<tr id="i8" class="altColor"> +<tr id="i4" class="altColor"> <td class="colFirst"><code><a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/Parser.html#getPrimaryMediaType--">getPrimaryMediaType</a></span>()</code> <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> </td> </tr> -<tr id="i9" class="rowColor"> +<tr id="i5" class="rowColor"> <td class="colFirst"><code>abstract boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/Parser.html#isReaderParser--">isReaderParser</a></span>()</code> <div class="block">Returns <jk>true</jk> if this parser subclasses from <a href="../../../../org/apache/juneau/parser/ReaderParser.html" title="class in org.apache.juneau.parser"><code>ReaderParser</code></a>.</div> </td> </tr> -<tr id="i10" class="altColor"> +<tr id="i6" class="altColor"> <td class="colFirst"><code><T> T</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/Parser.html#parse-java.lang.Object-java.lang.Class-">parse</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/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code> <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.</div> </td> </tr> -<tr id="i11" class="rowColor"> +<tr id="i7" 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#parse-java.lang.Object-org.apache.juneau.ClassMeta-">parse</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="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> type)</code> @@ -356,7 +317,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in object.</div> </td> </tr> -<tr id="i12" class="altColor"> +<tr id="i8" class="altColor"> <td class="colFirst"><code><T> T</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/Parser.html#parse-java.lang.Object-java.lang.reflect.Type-java.lang.reflect.Type...-">parse</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> type, @@ -364,7 +325,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in <div class="block">Parses input into the specified object type.</div> </td> </tr> -<tr id="i13" class="rowColor"> +<tr id="i9" 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/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> @@ -372,7 +333,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in argument.</div> </td> </tr> -<tr id="i14" class="altColor"> +<tr id="i10" class="altColor"> <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, @@ -380,7 +341,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="i15" class="rowColor"> +<tr id="i11" class="rowColor"> <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, @@ -389,37 +350,13 @@ 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="i16" class="altColor"> -<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="i17" 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#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, - <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)</code> -<div class="block">Convenience method for calling the <a href="../../../../org/apache/juneau/annotation/NameProperty.html" title="annotation in org.apache.juneau.annotation"><code>@NameProperty</code></a> method on the specified object if it exists.</div> -</td> -</tr> -<tr id="i18" 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#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, - <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)</code> -<div class="block">Convenience method for calling the <a href="../../../../org/apache/juneau/annotation/ParentProperty.html" title="annotation in org.apache.juneau.annotation"><code>@ParentProperty</code></a> method on the specified object if it - exists.</div> -</td> -</tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.CoreObject"> <!-- --> </a> <h3>Methods inherited from class org.apache.juneau.<a href="../../../../org/apache/juneau/CoreObject.html" title="class in org.apache.juneau">CoreObject</a></h3> -<code><a href="../../../../org/apache/juneau/CoreObject.html#createContext-java.lang.Class-">createContext</a>, <a href="../../../../org/apache/juneau/CoreObject.html#createPropertyStore--">createPropertyStore</a>, <a href="../../../../org/apache/juneau/CoreObject.html#getBeanContext--">getBeanContext</a>, <a href="../../../../org/apache/juneau/CoreObject.html#getOverrideProperties--">getOverrideProperties</a>, <a href="../../../../org/apache/juneau/CoreObject.html#object--">object</a>, <a href="../../../../org/apache/juneau/CoreObject.html#string--">string</a></code></li> +<code><a href="../../../../org/apache/juneau/CoreObject.html#createContext-java.lang.Class-">createContext</a>, <a href="../../../../org/apache/juneau/CoreObject.html#createPropertyStore--">createPropertyStore</a>, <a href="../../../../org/apache/juneau/CoreObject.html#getBeanContext--">getBeanContext</a>, <a href="../../../../org/apache/juneau/CoreObject.html#object--">object</a>, <a href="../../../../org/apache/juneau/CoreObject.html#string--">string</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> @@ -448,7 +385,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>builder</h4> -<pre>public <a href="../../../../org/apache/juneau/parser/ParserBuilder.html" title="class in org.apache.juneau.parser">ParserBuilder</a> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.167">builder</a>()</pre> +<pre>public <a href="../../../../org/apache/juneau/parser/ParserBuilder.html" title="class in org.apache.juneau.parser">ParserBuilder</a> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.165">builder</a>()</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/CoreObject.html#builder--">CoreObject</a></code></span></div> <div class="block">Creates a new builder class for this object so that a new object can be created that expands upon the current object's settings.</div> @@ -460,41 +397,13 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in </dl> </li> </ul> -<a name="doParse-org.apache.juneau.parser.ParserSession-org.apache.juneau.ClassMeta-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>doParse</h4> -<pre>protected abstract <T> T <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.191">doParse</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><T> type) - 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">Workhorse method. Subclasses are expected to implement this method.</div> -<dl> -<dt><span class="paramLabel">Type Parameters:</span></dt> -<dd><code>T</code> - The class type of the object to create.</dd> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>session</code> - The runtime session object returned by <a href="../../../../org/apache/juneau/parser/Parser.html#createSession-java.lang.Object-org.apache.juneau.ObjectMap-java.lang.reflect.Method-java.lang.Object-java.util.Locale-java.util.TimeZone-org.apache.juneau.http.MediaType-"><code>createSession(Object, ObjectMap, Method, Object, - Locale, TimeZone, MediaType)</code></a>. - If <jk>null</jk>, one will be created using <a href="../../../../org/apache/juneau/parser/Parser.html#createSession-java.lang.Object-"><code>createSession(Object)</code></a>.</dd> -<dd><code>type</code> - The class type of the object to create. - If <jk>null</jk> or <code>Object.<jk>class</jk></code>, object type is based on what's being parsed. - For example, when parsing JSON text, it may return a <code>String</code>, <code>Number</code>, - <code>ObjectMap</code>, etc...</dd> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>The parsed object.</dd> -<dt><span class="throwsLabel">Throws:</span></dt> -<dd><code><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></code> - If thrown from underlying stream, or if the input contains a syntax error or is malformed.</dd> -</dl> -</li> -</ul> <a name="isReaderParser--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isReaderParser</h4> -<pre>public abstract boolean <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.198">isReaderParser</a>()</pre> +<pre>public abstract boolean <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.179">isReaderParser</a>()</pre> <div class="block">Returns <jk>true</jk> if this parser subclasses from <a href="../../../../org/apache/juneau/parser/ReaderParser.html" title="class in org.apache.juneau.parser"><code>ReaderParser</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -502,31 +411,23 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in </dl> </li> </ul> -<a name="parseSession-org.apache.juneau.parser.ParserSession-org.apache.juneau.ClassMeta-"> +<a name="createSession-org.apache.juneau.parser.ParserSessionArgs-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>parseSession</h4> -<pre>public final <T> T <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.220">parseSession</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><T> type) - throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre> -<div class="block">Entry point for all parsing calls. +<h4>createSession</h4> +<pre>public abstract <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.192">createSession</a>(<a href="../../../../org/apache/juneau/parser/ParserSessionArgs.html" title="class in org.apache.juneau.parser">ParserSessionArgs</a> args)</pre> +<div class="block">Create the session object that will be passed in to the parse method. <p> - Calls the <a href="../../../../org/apache/juneau/parser/Parser.html#doParse-org.apache.juneau.parser.ParserSession-org.apache.juneau.ClassMeta-"><code>doParse(ParserSession, ClassMeta)</code></a> implementation class and catches/re-wraps any exceptions - thrown.</div> + It's up to implementers to decide what the session object looks like, although typically it's going to be a + subclass of <a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser"><code>ParserSession</code></a>.</div> <dl> -<dt><span class="paramLabel">Type Parameters:</span></dt> -<dd><code>T</code> - The class type of the object to create.</dd> <dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>session</code> - The runtime session returned by <a href="../../../../org/apache/juneau/parser/Parser.html#createSession-java.lang.Object-org.apache.juneau.ObjectMap-java.lang.reflect.Method-java.lang.Object-java.util.Locale-java.util.TimeZone-org.apache.juneau.http.MediaType-"><code>createSession(Object, ObjectMap, Method, Object, Locale, - TimeZone, MediaType)</code></a>.</dd> -<dd><code>type</code> - The class type of the object to create.</dd> +<dd><code>args</code> - Runtime arguments.</dd> <dt><span class="returnLabel">Returns:</span></dt> -<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> +<dd>The new session.</dd> </dl> </li> </ul> @@ -536,7 +437,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.317">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.275">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> @@ -624,7 +525,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.357">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.319">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. @@ -671,7 +572,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.378">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.344">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> @@ -693,57 +594,18 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in </dl> </li> </ul> -<a name="createSession-java.lang.Object-org.apache.juneau.ObjectMap-java.lang.reflect.Method-java.lang.Object-java.util.Locale-java.util.TimeZone-org.apache.juneau.http.MediaType-"> +<a name="createSession--"> <!-- --> </a> <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.407">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, - <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> locale, - <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> timeZone, - <a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a> mediaType)</pre> -<div class="block">Create the session object that will be passed in to the parse method. - - <p> - It's up to implementers to decide what the session object looks like, although typically it's going to be a - subclass of <a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser"><code>ParserSession</code></a>.</div> -<dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>input</code> - The input. - See <a href="../../../../org/apache/juneau/parser/Parser.html#parse-java.lang.Object-org.apache.juneau.ClassMeta-"><code>parse(Object, ClassMeta)</code></a> for supported input types.</dd> -<dd><code>op</code> - Optional additional properties.</dd> -<dd><code>javaMethod</code> - Java method that invoked this parser. - When using the REST API, this is the Java method invoked by the REST call. - Can be used to access annotations defined on the method or class.</dd> -<dd><code>outer</code> - The outer object for instantiating top-level non-static inner classes.</dd> -<dd><code>locale</code> - The session locale. - If <jk>null</jk>, then the locale defined on the context is used.</dd> -<dd><code>timeZone</code> - The session timezone. - If <jk>null</jk>, then the timezone defined on the context is used.</dd> -<dd><code>mediaType</code> - The session media type (e.g. <js>"application/json"</js>).</dd> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>The new session.</dd> -</dl> -</li> -</ul> -<a name="createSession-java.lang.Object-"> -<!-- --> -</a> -<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.421">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>public 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.361">createSession</a>()</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> <dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>input</code> - The input. See <a href="../../../../org/apache/juneau/parser/Parser.html#parse-java.lang.Object-org.apache.juneau.ClassMeta-"><code>parse(Object, ClassMeta)</code></a> for supported input types.</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>The new context.</dd> </dl> @@ -755,7 +617,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.454">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.394">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) @@ -789,43 +651,13 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in </dl> </li> </ul> -<a name="doParseIntoMap-org.apache.juneau.parser.ParserSession-java.util.Map-java.lang.reflect.Type-java.lang.reflect.Type-"> -<!-- --> -</a> -<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.483">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) - 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. - - <p> - Default implementation throws an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><code>UnsupportedOperationException</code></a>.</div> -<dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>session</code> - The runtime session object returned by - <a href="../../../../org/apache/juneau/parser/Parser.html#createSession-java.lang.Object-org.apache.juneau.ObjectMap-java.lang.reflect.Method-java.lang.Object-java.util.Locale-java.util.TimeZone-org.apache.juneau.http.MediaType-"><code>createSession(Object, ObjectMap, Method, Object, Locale, TimeZone, MediaType)</code></a>. - If <jk>null</jk>, one will be created using <a href="../../../../org/apache/juneau/parser/Parser.html#createSession-java.lang.Object-"><code>createSession(Object)</code></a>.</dd> -<dd><code>m</code> - The map being loaded.</dd> -<dd><code>keyType</code> - The class type of the keys, or <jk>null</jk> to default to <code>String.<jk>class</jk></code>.</dd> -<dd><code>valueType</code> - The class type of the values, or <jk>null</jk> to default to whatever is being parsed.</dd> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>The same map that was passed in to allow this method to be chained.</dd> -<dt><span class="throwsLabel">Throws:</span></dt> -<dd><code><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></code> - If thrown from underlying stream, or if the input contains a syntax error or is malformed.</dd> -</dl> -</li> -</ul> <a name="parseIntoCollection-java.lang.Object-java.util.Collection-java.lang.reflect.Type-"> <!-- --> </a> <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.507">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.423">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> @@ -853,41 +685,13 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in </dl> </li> </ul> -<a name="doParseIntoCollection-org.apache.juneau.parser.ParserSession-java.util.Collection-java.lang.reflect.Type-"> -<!-- --> -</a> -<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.536">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> -<div class="block">Implementation method. - - <p> - Default implementation throws an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><code>UnsupportedOperationException</code></a>.</div> -<dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>session</code> - The runtime session object returned by <a href="../../../../org/apache/juneau/parser/Parser.html#createSession-java.lang.Object-org.apache.juneau.ObjectMap-java.lang.reflect.Method-java.lang.Object-java.util.Locale-java.util.TimeZone-org.apache.juneau.http.MediaType-"><code>createSession(Object, ObjectMap, Method, Object, - Locale, TimeZone, MediaType)</code></a>. - If <jk>null</jk>, one will be created using <a href="../../../../org/apache/juneau/parser/Parser.html#createSession-java.lang.Object-"><code>createSession(Object)</code></a>.</dd> -<dd><code>c</code> - The collection being loaded.</dd> -<dd><code>elementType</code> - The class type of the elements, or <jk>null</jk> to default to whatever is being parsed.</dd> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>The same collection that was passed in to allow this method to be chained.</dd> -<dt><span class="throwsLabel">Throws:</span></dt> -<dd><code><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></code> - If thrown from underlying stream, or if the input contains a syntax error or is malformed.</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.561">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.453">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">Parses the specified array input with each entry in the object defined by the <code>argTypes</code> @@ -914,84 +718,13 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in </dl> </li> </ul> -<a name="convertAttrToType-org.apache.juneau.parser.ParserSession-java.lang.Object-java.lang.String-org.apache.juneau.ClassMeta-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>convertAttrToType</h4> -<pre>protected <T> T <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.595">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) - 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">Converts the specified string to the specified type.</div> -<dl> -<dt><span class="paramLabel">Type Parameters:</span></dt> -<dd><code>T</code> - The class type to convert the string to.</dd> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>session</code> - The session object.</dd> -<dd><code>outer</code> - The outer object if we're converting to an inner object that needs to be created within the context - of an outer object.</dd> -<dd><code>s</code> - The string to convert.</dd> -<dd><code>type</code> - The class type to convert the string to.</dd> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>The string converted as an object of the specified type.</dd> -<dt><span class="throwsLabel">Throws:</span></dt> -<dd><code><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></code> - If the input contains a syntax error or is malformed, or is not valid for the specified type.</dd> -</dl> -</li> -</ul> -<a name="setParent-org.apache.juneau.ClassMeta-java.lang.Object-java.lang.Object-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>setParent</h4> -<pre>protected void <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.636">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> -<div class="block">Convenience method for calling the <a href="../../../../org/apache/juneau/annotation/ParentProperty.html" title="annotation in org.apache.juneau.annotation"><code>@ParentProperty</code></a> method on the specified object if it - exists.</div> -<dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>cm</code> - The class type of the object.</dd> -<dd><code>o</code> - The object.</dd> -<dd><code>parent</code> - The parent to set.</dd> -<dt><span class="throwsLabel">Throws:</span></dt> -<dd><code><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></code></dd> -</dl> -</li> -</ul> -<a name="setName-org.apache.juneau.ClassMeta-java.lang.Object-java.lang.Object-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>setName</h4> -<pre>protected void <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.650">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> -<div class="block">Convenience method for calling the <a href="../../../../org/apache/juneau/annotation/NameProperty.html" title="annotation in org.apache.juneau.annotation"><code>@NameProperty</code></a> method on the specified object if it exists.</div> -<dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>cm</code> - The class type of the object.</dd> -<dd><code>o</code> - The object.</dd> -<dd><code>name</code> - The name to set.</dd> -<dt><span class="throwsLabel">Throws:</span></dt> -<dd><code><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></code></dd> -</dl> -</li> -</ul> <a name="getMediaTypes--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getMediaTypes</h4> -<pre>public <a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>[] <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.666">getMediaTypes</a>()</pre> +<pre>public <a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>[] <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.477">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> @@ -1008,7 +741,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/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.675">getPrimaryMediaType</a>()</pre> +<pre>public <a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a> <a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.486">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>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/ebea5c00/content/site/apidocs/org/apache/juneau/parser/ParserBuilder.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/parser/ParserBuilder.html b/content/site/apidocs/org/apache/juneau/parser/ParserBuilder.html index b0dec7d..d3a8dc0 100644 --- a/content/site/apidocs/org/apache/juneau/parser/ParserBuilder.html +++ b/content/site/apidocs/org/apache/juneau/parser/ParserBuilder.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>ParserBuilder (Apache Juneau (incubating) 6.3.1-incubating-SNAPSHOT)</title> +<title>ParserBuilder (Apache Juneau (incubating) 6.3.2-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="ParserBuilder (Apache Juneau (incubating) 6.3.1-incubating-SNAPSHOT)"; + parent.document.title="ParserBuilder (Apache Juneau (incubating) 6.3.2-incubating-SNAPSHOT)"; } } catch(err) { http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/ebea5c00/content/site/apidocs/org/apache/juneau/parser/ParserContext.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/parser/ParserContext.html b/content/site/apidocs/org/apache/juneau/parser/ParserContext.html index bc4b089..06b24a0 100644 --- a/content/site/apidocs/org/apache/juneau/parser/ParserContext.html +++ b/content/site/apidocs/org/apache/juneau/parser/ParserContext.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>ParserContext (Apache Juneau (incubating) 6.3.1-incubating-SNAPSHOT)</title> +<title>ParserContext (Apache Juneau (incubating) 6.3.2-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="ParserContext (Apache Juneau (incubating) 6.3.1-incubating-SNAPSHOT)"; + parent.document.title="ParserContext (Apache Juneau (incubating) 6.3.2-incubating-SNAPSHOT)"; } } catch(err) { @@ -144,30 +144,36 @@ extends <a href="../../../../org/apache/juneau/BeanContext.html" title="class in <th class="colLast" scope="col">Field and Description</th> </tr> <tr class="altColor"> +<td class="colFirst"><code>protected static <a href="../../../../org/apache/juneau/parser/ParserContext.html" title="class in org.apache.juneau.parser">ParserContext</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/ParserContext.html#DEFAULT">DEFAULT</a></span></code> +<div class="block">Default context with all default values.</div> +</td> +</tr> +<tr class="rowColor"> <td class="colFirst"><code>static <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></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/ParserContext.html#PARSER_fileCharset">PARSER_fileCharset</a></span></code> <div class="block"><b>Configuration property:</b> File charset.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static <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></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/ParserContext.html#PARSER_inputStreamCharset">PARSER_inputStreamCharset</a></span></code> <div class="block"><b>Configuration property:</b> Input stream charset.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>static <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></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/ParserContext.html#PARSER_listener">PARSER_listener</a></span></code> <div class="block"><b>Configuration property:</b> Parser listener.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static <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></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/ParserContext.html#PARSER_strict">PARSER_strict</a></span></code> <div class="block"><b>Configuration property:</b> Strict mode.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>static <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></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/parser/ParserContext.html#PARSER_trimStrings">PARSER_trimStrings</a></span></code> <div class="block"><b>Configuration property:</b> Trim parsed strings.</div> @@ -179,7 +185,7 @@ extends <a href="../../../../org/apache/juneau/BeanContext.html" title="class in <!-- --> </a> <h3>Fields inherited from class org.apache.juneau.<a href="../../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a></h3> -<code><a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanClassVisibility">BEAN_beanClassVisibility</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanConstructorVisibility">BEAN_beanConstructorVisibility</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanDictionary">BEAN_beanDictionary</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanDictionary_add">BEAN_beanDictionary_add</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanDictionary_remove">BEAN_beanDictionary_remove</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanFieldVisibility">BEAN_beanFieldVisibility</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanFilters">BEAN_beanFilters</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanFilters_add">BEAN_beanFilters_add</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanFilters_remove">BEAN_beanFilters_remove</a>, <a hr ef="../../../../org/apache/juneau/BeanContext.html#BEAN_beanMapPutReturnsOldValue">BEAN_beanMapPutReturnsOldValue</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beansRequireDefaultConstructor">BEAN_beansRequireDefaultConstructor</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beansRequireSerializable">BEAN_beansRequireSerializable</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beansRequireSettersForGetters">BEAN_beansRequireSettersForGetters</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beansRequireSomeProperties">BEAN_beansRequireSomeProperties</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanTypePropertyName">BEAN_beanTypePropertyName</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_debug">BEAN_debug</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_defaultParser">BEAN_defaultParser</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_exclu deProperties">BEAN_excludeProperties</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_excludeProperties_put">BEAN_excludeProperties_put</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_ignoreInvocationExceptionsOnGetters">BEAN_ignoreInvocationExceptionsOnGetters</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_ignoreInvocationExceptionsOnSetters">BEAN_ignoreInvocationExceptionsOnSetters</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_ignorePropertiesWithoutSetters">BEAN_ignorePropertiesWithoutSetters</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_ignoreUnknownBeanProperties">BEAN_ignoreUnknownBeanProperties</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_ignoreUnknownNullBeanProperties">BEAN_ignoreUnknownNullBeanProperties</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_implClasses">BEAN_implClasses</a>, <a href="../../../../org/apache/juneau/BeanContext.html#B EAN_implClasses_put">BEAN_implClasses_put</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_includeProperties">BEAN_includeProperties</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_includeProperties_put">BEAN_includeProperties_put</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_locale">BEAN_locale</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_mediaType">BEAN_mediaType</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_methodVisibility">BEAN_methodVisibility</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_notBeanClasses">BEAN_notBeanClasses</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_notBeanClasses_add">BEAN_notBeanClasses_add</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_notBeanClasses_remove">BEAN_notBeanClasses_remove</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_notBeanPackages">BEAN_notBeanPackages</a>, <a href=". ./../../../org/apache/juneau/BeanContext.html#BEAN_notBeanPackages_add">BEAN_notBeanPackages_add</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_notBeanPackages_remove">BEAN_notBeanPackages_remove</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_pojoSwaps">BEAN_pojoSwaps</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_pojoSwaps_add">BEAN_pojoSwaps_add</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_pojoSwaps_remove">BEAN_pojoSwaps_remove</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_sortProperties">BEAN_sortProperties</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_timeZone">BEAN_timeZone</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_useInterfaceProxies">BEAN_useInterfaceProxies</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_useJavaBeanIntrospector">BEAN_useJavaBeanIntrospector</a>, <a href="../../../../org/apache/juneau/BeanContext.html #DEFAULT">DEFAULT</a>, <a href="../../../../org/apache/juneau/BeanContext.html#DEFAULT_SORTED">DEFAULT_SORTED</a></code></li> +<code><a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanClassVisibility">BEAN_beanClassVisibility</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanConstructorVisibility">BEAN_beanConstructorVisibility</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanDictionary">BEAN_beanDictionary</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanDictionary_add">BEAN_beanDictionary_add</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanDictionary_remove">BEAN_beanDictionary_remove</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanFieldVisibility">BEAN_beanFieldVisibility</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanFilters">BEAN_beanFilters</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanFilters_add">BEAN_beanFilters_add</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanFilters_remove">BEAN_beanFilters_remove</a>, <a hr ef="../../../../org/apache/juneau/BeanContext.html#BEAN_beanMapPutReturnsOldValue">BEAN_beanMapPutReturnsOldValue</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beansRequireDefaultConstructor">BEAN_beansRequireDefaultConstructor</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beansRequireSerializable">BEAN_beansRequireSerializable</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beansRequireSettersForGetters">BEAN_beansRequireSettersForGetters</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beansRequireSomeProperties">BEAN_beansRequireSomeProperties</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_beanTypePropertyName">BEAN_beanTypePropertyName</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_debug">BEAN_debug</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_defaultParser">BEAN_defaultParser</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_exclu deProperties">BEAN_excludeProperties</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_excludeProperties_put">BEAN_excludeProperties_put</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_ignoreInvocationExceptionsOnGetters">BEAN_ignoreInvocationExceptionsOnGetters</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_ignoreInvocationExceptionsOnSetters">BEAN_ignoreInvocationExceptionsOnSetters</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_ignorePropertiesWithoutSetters">BEAN_ignorePropertiesWithoutSetters</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_ignoreUnknownBeanProperties">BEAN_ignoreUnknownBeanProperties</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_ignoreUnknownNullBeanProperties">BEAN_ignoreUnknownNullBeanProperties</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_implClasses">BEAN_implClasses</a>, <a href="../../../../org/apache/juneau/BeanContext.html#B EAN_implClasses_put">BEAN_implClasses_put</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_includeProperties">BEAN_includeProperties</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_includeProperties_put">BEAN_includeProperties_put</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_locale">BEAN_locale</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_mediaType">BEAN_mediaType</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_methodVisibility">BEAN_methodVisibility</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_notBeanClasses">BEAN_notBeanClasses</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_notBeanClasses_add">BEAN_notBeanClasses_add</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_notBeanClasses_remove">BEAN_notBeanClasses_remove</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_notBeanPackages">BEAN_notBeanPackages</a>, <a href=". ./../../../org/apache/juneau/BeanContext.html#BEAN_notBeanPackages_add">BEAN_notBeanPackages_add</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_notBeanPackages_remove">BEAN_notBeanPackages_remove</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_pojoSwaps">BEAN_pojoSwaps</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_pojoSwaps_add">BEAN_pojoSwaps_add</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_pojoSwaps_remove">BEAN_pojoSwaps_remove</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_sortProperties">BEAN_sortProperties</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_timeZone">BEAN_timeZone</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_useInterfaceProxies">BEAN_useInterfaceProxies</a>, <a href="../../../../org/apache/juneau/BeanContext.html#BEAN_useJavaBeanIntrospector">BEAN_useJavaBeanIntrospector</a>, <a href="../../../../org/apache/juneau/BeanContext.html #DEFAULT_SORTED">DEFAULT_SORTED</a></code></li> </ul> </li> </ul> @@ -226,7 +232,7 @@ extends <a href="../../../../org/apache/juneau/BeanContext.html" title="class in <!-- --> </a> <h3>Methods inherited from class org.apache.juneau.<a href="../../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a></h3> -<code><a href="../../../../org/apache/juneau/BeanContext.html#Z:Z_class--">_class</a>, <a href="../../../../org/apache/juneau/BeanContext.html#createSession--">createSession</a>, <a href="../../../../org/apache/juneau/BeanContext.html#createSession-org.apache.juneau.ObjectMap-java.util.Locale-java.util.TimeZone-org.apache.juneau.http.MediaType-">createSession</a>, <a href="../../../../org/apache/juneau/BeanContext.html#dumpCacheStats--">dumpCacheStats</a>, <a href="../../../../org/apache/juneau/BeanContext.html#equals-java.lang.Object-">equals</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getBeanMeta-java.lang.Class-">getBeanMeta</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getBeanRegistry--">getBeanRegistry</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getBeanTypePropertyName--">getBeanTypePropertyName</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getClassMeta-java.lang.Class-">getClassMeta</a>, <a href="../../../../org/a pache/juneau/BeanContext.html#getClassMeta-java.lang.reflect.Type-java.lang.reflect.Type...-">getClassMeta</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getClassMetaForObject-T-">getClassMetaForObject</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getExcludeProperties-java.lang.Class-">getExcludeProperties</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getImplClassConstructor-java.lang.Class-org.apache.juneau.Visibility-">getImplClassConstructor</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getIncludeProperties-java.lang.Class-">getIncludeProperties</a>, <a href="../../../../org/apache/juneau/BeanContext.html#hashCode--">hashCode</a>, <a href="../../../../org/apache/juneau/BeanContext.html#hasSameCache-org.apache.juneau.BeanContext-">hasSameCache</a>, <a href="../../../../org/apache/juneau/BeanContext.html#isBean-java.lang.Object-">isBean</a>, <a href="../../../../org/apache/juneau/BeanContext.html#isNotABean-java.lang.Class- ">isNotABean</a>, <a href="../../../../org/apache/juneau/BeanContext.html#object--">object</a>, <a href="../../../../org/apache/juneau/BeanContext.html#resolveClassMeta-org.apache.juneau.annotation.BeanProperty-java.lang.reflect.Type-java.util.Map-">resolveClassMeta</a>, <a href="../../../../org/apache/juneau/BeanContext.html#string--">string</a></code></li> +<code><a href="../../../../org/apache/juneau/BeanContext.html#Z:Z_class--">_class</a>, <a href="../../../../org/apache/juneau/BeanContext.html#createSession--">createSession</a>, <a href="../../../../org/apache/juneau/BeanContext.html#createSession-org.apache.juneau.BeanSessionArgs-">createSession</a>, <a href="../../../../org/apache/juneau/BeanContext.html#dumpCacheStats--">dumpCacheStats</a>, <a href="../../../../org/apache/juneau/BeanContext.html#equals-java.lang.Object-">equals</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getBeanMeta-java.lang.Class-">getBeanMeta</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getBeanRegistry--">getBeanRegistry</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getBeanTypePropertyName--">getBeanTypePropertyName</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getClassMeta-java.lang.Class-">getClassMeta</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getClassMeta-java.lang.reflect.Ty pe-java.lang.reflect.Type...-">getClassMeta</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getClassMetaForObject-T-">getClassMetaForObject</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getExcludeProperties-java.lang.Class-">getExcludeProperties</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getImplClassConstructor-java.lang.Class-org.apache.juneau.Visibility-">getImplClassConstructor</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getIncludeProperties-java.lang.Class-">getIncludeProperties</a>, <a href="../../../../org/apache/juneau/BeanContext.html#hashCode--">hashCode</a>, <a href="../../../../org/apache/juneau/BeanContext.html#hasSameCache-org.apache.juneau.BeanContext-">hasSameCache</a>, <a href="../../../../org/apache/juneau/BeanContext.html#isBean-java.lang.Object-">isBean</a>, <a href="../../../../org/apache/juneau/BeanContext.html#isNotABean-java.lang.Class-">isNotABean</a>, <a href="../../../../org/apache/juneau/BeanCo ntext.html#object--">object</a>, <a href="../../../../org/apache/juneau/BeanContext.html#resolveClassMeta-org.apache.juneau.annotation.BeanProperty-java.lang.reflect.Type-java.util.Map-">resolveClassMeta</a>, <a href="../../../../org/apache/juneau/BeanContext.html#string--">string</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.Context"> @@ -256,13 +262,23 @@ extends <a href="../../../../org/apache/juneau/BeanContext.html" title="class in <!-- --> </a> <h3>Field Detail</h3> +<a name="DEFAULT"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>DEFAULT</h4> +<pre>protected static final <a href="../../../../org/apache/juneau/parser/ParserContext.html" title="class in org.apache.juneau.parser">ParserContext</a> <a href="../../../../src-html/org/apache/juneau/parser/ParserContext.html#line.27">DEFAULT</a></pre> +<div class="block">Default context with all default values.</div> +</li> +</ul> <a name="PARSER_trimStrings"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>PARSER_trimStrings</h4> -<pre>public static final <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/parser/ParserContext.html#line.37">PARSER_trimStrings</a></pre> +<pre>public static final <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/parser/ParserContext.html#line.43">PARSER_trimStrings</a></pre> <div class="block"><b>Configuration property:</b> Trim parsed strings. <ul> @@ -287,7 +303,7 @@ extends <a href="../../../../org/apache/juneau/BeanContext.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>PARSER_strict</h4> -<pre>public static final <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/parser/ParserContext.html#line.79">PARSER_strict</a></pre> +<pre>public static final <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/parser/ParserContext.html#line.85">PARSER_strict</a></pre> <div class="block"><b>Configuration property:</b> Strict mode. <ul> @@ -338,7 +354,7 @@ extends <a href="../../../../org/apache/juneau/BeanContext.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>PARSER_inputStreamCharset</h4> -<pre>public static final <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/parser/ParserContext.html#line.97">PARSER_inputStreamCharset</a></pre> +<pre>public static final <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/parser/ParserContext.html#line.103">PARSER_inputStreamCharset</a></pre> <div class="block"><b>Configuration property:</b> Input stream charset. <ul> @@ -365,7 +381,7 @@ extends <a href="../../../../org/apache/juneau/BeanContext.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>PARSER_fileCharset</h4> -<pre>public static final <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/parser/ParserContext.html#line.118">PARSER_fileCharset</a></pre> +<pre>public static final <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/parser/ParserContext.html#line.124">PARSER_fileCharset</a></pre> <div class="block"><b>Configuration property:</b> File charset. <ul> @@ -395,7 +411,7 @@ extends <a href="../../../../org/apache/juneau/BeanContext.html" title="class in <ul class="blockListLast"> <li class="blockList"> <h4>PARSER_listener</h4> -<pre>public static final <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/parser/ParserContext.html#line.133">PARSER_listener</a></pre> +<pre>public static final <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/parser/ParserContext.html#line.139">PARSER_listener</a></pre> <div class="block"><b>Configuration property:</b> Parser listener. <ul> @@ -427,7 +443,7 @@ extends <a href="../../../../org/apache/juneau/BeanContext.html" title="class in <ul class="blockListLast"> <li class="blockList"> <h4>ParserContext</h4> -<pre>public <a href="../../../../src-html/org/apache/juneau/parser/ParserContext.html#line.145">ParserContext</a>(<a href="../../../../org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau">PropertyStore</a> ps)</pre> +<pre>public <a href="../../../../src-html/org/apache/juneau/parser/ParserContext.html#line.151">ParserContext</a>(<a href="../../../../org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau">PropertyStore</a> ps)</pre> <div class="block">Constructor.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -449,7 +465,7 @@ extends <a href="../../../../org/apache/juneau/BeanContext.html" title="class in <ul class="blockListLast"> <li class="blockList"> <h4>asMap</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/parser/ParserContext.html#line.155">asMap</a>()</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/parser/ParserContext.html#line.161">asMap</a>()</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/Context.html#asMap--">Context</a></code></span></div> <div class="block">Returns the properties defined on this bean context as a simple map for debugging purposes.</div> <dl> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/ebea5c00/content/site/apidocs/org/apache/juneau/parser/ParserGroup.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/parser/ParserGroup.html b/content/site/apidocs/org/apache/juneau/parser/ParserGroup.html index e810426..97e054c 100644 --- a/content/site/apidocs/org/apache/juneau/parser/ParserGroup.html +++ b/content/site/apidocs/org/apache/juneau/parser/ParserGroup.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>ParserGroup (Apache Juneau (incubating) 6.3.1-incubating-SNAPSHOT)</title> +<title>ParserGroup (Apache Juneau (incubating) 6.3.2-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="ParserGroup (Apache Juneau (incubating) 6.3.1-incubating-SNAPSHOT)"; + parent.document.title="ParserGroup (Apache Juneau (incubating) 6.3.2-incubating-SNAPSHOT)"; } } catch(err) { http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/ebea5c00/content/site/apidocs/org/apache/juneau/parser/ParserGroupBuilder.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/parser/ParserGroupBuilder.html b/content/site/apidocs/org/apache/juneau/parser/ParserGroupBuilder.html index 486add9..769fa52 100644 --- a/content/site/apidocs/org/apache/juneau/parser/ParserGroupBuilder.html +++ b/content/site/apidocs/org/apache/juneau/parser/ParserGroupBuilder.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>ParserGroupBuilder (Apache Juneau (incubating) 6.3.1-incubating-SNAPSHOT)</title> +<title>ParserGroupBuilder (Apache Juneau (incubating) 6.3.2-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="ParserGroupBuilder (Apache Juneau (incubating) 6.3.1-incubating-SNAPSHOT)"; + parent.document.title="ParserGroupBuilder (Apache Juneau (incubating) 6.3.2-incubating-SNAPSHOT)"; } } catch(err) {
