http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/89e089cf/content/site/apidocs/org/apache/juneau/BeanRegistry.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/BeanRegistry.html b/content/site/apidocs/org/apache/juneau/BeanRegistry.html index 0b54dcf..d5181b6 100644 --- a/content/site/apidocs/org/apache/juneau/BeanRegistry.html +++ b/content/site/apidocs/org/apache/juneau/BeanRegistry.html @@ -108,7 +108,7 @@ var activeTableTab = "activeTableTab"; <li class="blockList"> <hr> <br> -<pre>public class <a href="../../../src-html/org/apache/juneau/BeanRegistry.html#line.38">BeanRegistry</a> +<pre>public class <a href="../../../src-html/org/apache/juneau/BeanRegistry.html#line.39">BeanRegistry</a> extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> <div class="block">A lookup table for resolving bean types by name. <p> @@ -118,8 +118,9 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <p> The dictionary is used by the framework in the following ways: <ul> - <li>If a class type cannot be inferred through reflection during parsing, then a helper <js>"_type"</js> is added to the serialized output - using the name defined for that class in this dictionary. This helps determine the real class at parse time. + <li>If a class type cannot be inferred through reflection during parsing, then a helper <js>"_type"</js> is added + to the serialized output using the name defined for that class in this dictionary. This helps determine the + real class at parse time. <li>The dictionary name is used as element names when serialized to XML. </ul></div> </li> @@ -190,7 +191,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getClassMeta</h4> -<pre>public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> <a href="../../../src-html/org/apache/juneau/BeanRegistry.html#line.122">getClassMeta</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> typeName)</pre> +<pre>public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> <a href="../../../src-html/org/apache/juneau/BeanRegistry.html#line.123">getClassMeta</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> typeName)</pre> <div class="block">Gets the class metadata for the specified bean type name.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -207,7 +208,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getTypeName</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanRegistry.html#line.147">getTypeName</a>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> c)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanRegistry.html#line.148">getTypeName</a>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> c)</pre> <div class="block">Given the specified class, return the dictionary name for it.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -223,7 +224,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>hasName</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/BeanRegistry.html#line.159">hasName</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> typeName)</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/BeanRegistry.html#line.160">hasName</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> typeName)</pre> <div class="block">Returns <jk>true</jk> if this dictionary has an entry for the specified type name.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -239,7 +240,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>toString</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanRegistry.html#line.164">toString</a>()</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanRegistry.html#line.165">toString</a>()</pre> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <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></dd>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/89e089cf/content/site/apidocs/org/apache/juneau/BeanSession.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/BeanSession.html b/content/site/apidocs/org/apache/juneau/BeanSession.html index 30ba077..6fafaf9 100644 --- a/content/site/apidocs/org/apache/juneau/BeanSession.html +++ b/content/site/apidocs/org/apache/juneau/BeanSession.html @@ -203,7 +203,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code> <div class="block">Same as <a href="../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-java.lang.Class-"><code>convertToType(Object, Class)</code></a>, except used for instantiating inner member classes that must - be instantiated within another class instance.</div> + be instantiated within another class instance.</div> </td> </tr> <tr id="i6" class="altColor"> @@ -551,7 +551,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <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/InvalidDataConversionException.html" title="class in org.apache.juneau">InvalidDataConversionException</a></pre> <div class="block">Same as <a href="../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-java.lang.Class-"><code>convertToType(Object, Class)</code></a>, except used for instantiating inner member classes that must - be instantiated within another class instance.</div> + be instantiated within another class instance.</div> <dl> <dt><span class="paramLabel">Type Parameters:</span></dt> <dd><code>T</code> - The class type to convert the value to.</dd> @@ -573,133 +573,140 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>convertToType</h4> -<pre>public final <T> T <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.295">convertToType</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, +<pre>public final <T> T <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.302">convertToType</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> type) throws <a href="../../../org/apache/juneau/InvalidDataConversionException.html" title="class in org.apache.juneau">InvalidDataConversionException</a></pre> <div class="block">Casts the specified value into the specified type. <p> - If the value isn't an instance of the specified type, then converts - the value if possible.<br> + If the value isn't an instance of the specified type, then converts the value if possible. <p> The following conversions are valid: - <table class='styled'> - <tr><th>Convert to type</th><th>Valid input value types</th><th>Notes</th></tr> - <tr> - <td> - A class that is the normal type of a registered <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a>. - </td> - <td> - A value whose class matches the transformed type of that registered <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a>. - </td> - <td> </td> - </tr> - <tr> - <td> - A class that is the transformed type of a registered <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a>. - </td> - <td> - A value whose class matches the normal type of that registered <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a>. - </td> - <td> </td> - </tr> - <tr> - <td> - <code>Number</code> (e.g. <code>Integer</code>, <code>Short</code>, <code>Float</code>,...)<br> - <code>Number.<jsf>TYPE</jsf></code> (e.g. <code>Integer.<jsf>TYPE</jsf></code>, <code>Short.<jsf>TYPE</jsf></code>, <code>Float.<jsf>TYPE</jsf></code>,...) - </td> - <td> - <code>Number</code>, <code>String</code>, <jk>null</jk> - </td> - <td> - For primitive <code>TYPES</code>, <jk>null</jk> returns the JVM default value for that type. - </td> - </tr> - <tr> - <td> - <code>Map</code> (e.g. <code>Map</code>, <code>HashMap</code>, <code>TreeMap</code>, <code>ObjectMap</code>) - </td> - <td> - <code>Map</code> - </td> - <td> - If <code>Map</code> is not constructible, a <code>ObjectMap</code> is created. - </td> - </tr> - <tr> - <td> - <code>Collection</code> (e.g. <code>List</code>, <code>LinkedList</code>, <code>HashSet</code>, <code>ObjectList</code>) - </td> - <td> - <code>Collection<Object></code><br> - <code>Object[]</code> - </td> - <td> - If <code>Collection</code> is not constructible, a <code>ObjectList</code> is created. - </td> - </tr> - <tr> - <td> - <code>X[]</code> (array of any type X)<br> - </td> - <td> - <code>List<X></code><br> - </td> - <td> </td> - </tr> - <tr> - <td> - <code>X[][]</code> (multi-dimensional arrays)<br> - </td> - <td> - <code>List<List<X>></code><br> - <code>List<X[]></code><br> - <code>List[]<X></code><br> - </td> - <td> </td> - </tr> - <tr> - <td> - <code>Enum</code><br> - </td> - <td> - <code>String</code><br> - </td> - <td> </td> - </tr> - <tr> - <td> - Bean<br> - </td> - <td> - <code>Map</code><br> - </td> + <table class='styled'> + <tr><th>Convert to type</th><th>Valid input value types</th><th>Notes</th></tr> + <tr> + <td> + A class that is the normal type of a registered <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a>. + </td> + <td> + A value whose class matches the transformed type of that registered <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a>. + </td> + <td> </td> + </tr> + <tr> + <td> + A class that is the transformed type of a registered <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a>. + </td> + <td> + A value whose class matches the normal type of that registered <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a>. + </td> + <td> </td> + </tr> + <tr> + <td> + <code>Number</code> (e.g. <code>Integer</code>, <code>Short</code>, <code>Float</code>,...) + <br> + <code>Number.<jsf>TYPE</jsf></code> (e.g. <code>Integer.<jsf>TYPE</jsf></code>, + <code>Short.<jsf>TYPE</jsf></code>, <code>Float.<jsf>TYPE</jsf></code>,...) + </td> + <td> + <code>Number</code>, <code>String</code>, <jk>null</jk> + </td> + <td> + For primitive <code>TYPES</code>, <jk>null</jk> returns the JVM default value for that type. + </td> + </tr> + <tr> + <td> + <code>Map</code> (e.g. <code>Map</code>, <code>HashMap</code>, <code>TreeMap</code>, <code>ObjectMap</code>) + </td> + <td> + <code>Map</code> + </td> + <td> + If <code>Map</code> is not constructible, a <code>ObjectMap</code> is created. + </td> + </tr> + <tr> + <td> + <code>Collection</code> (e.g. <code>List</code>, <code>LinkedList</code>, <code>HashSet</code>, <code>ObjectList</code>) + </td> + <td> + <code>Collection<Object></code> + <br> + <code>Object[]</code> + </td> + <td> + If <code>Collection</code> is not constructible, a <code>ObjectList</code> is created. + </td> + </tr> + <tr> + <td> + <code>X[]</code> (array of any type X) + </td> + <td> + <code>List<X></code> + </td> + <td> </td> + </tr> + <tr> + <td> + <code>X[][]</code> (multi-dimensional arrays) + </td> + <td> + <code>List<List<X>></code> + <br> + <code>List<X[]></code> + <br> + <code>List[]<X></code> + </td> <td> </td> - </tr> - <tr> - <td> - <code>String</code><br> - </td> - <td> - Anything<br> - </td> - <td> - Arrays are converted to JSON arrays<br> - </td> - </tr> - <tr> - <td> - Anything with one of the following methods:<br> - <code><jk>public static</jk> T fromString(String)</code><br> - <code><jk>public static</jk> T valueOf(String)</code><br> - <code><jk>public</jk> T(String)</code><br> - </td> - <td> - <code>String</code><br> - </td> - <td> - <br> - </td> - </tr> + </tr> + <tr> + <td> + <code>Enum</code> + </td> + <td> + <code>String</code> + </td> + <td> </td> + </tr> + <tr> + <td> + Bean + </td> + <td> + <code>Map</code> + </td> + <td> </td> + </tr> + <tr> + <td> + <code>String</code> + </td> + <td> + Anything + </td> + <td> + Arrays are converted to JSON arrays + </td> + </tr> + <tr> + <td> + Anything with one of the following methods: + <br> + <code><jk>public static</jk> T fromString(String)</code> + <br> + <code><jk>public static</jk> T valueOf(String)</code> + <br> + <code><jk>public</jk> T(String)</code> + </td> + <td> + <code>String</code> + </td> + <td> + <br> + </td> + </tr> </table></div> <dl> <dt><span class="paramLabel">Type Parameters:</span></dt> @@ -720,7 +727,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>convertToType</h4> -<pre>public final <T> T <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.311">convertToType</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> outer, +<pre>public final <T> T <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.318">convertToType</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> outer, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> type) throws <a href="../../../org/apache/juneau/InvalidDataConversionException.html" title="class in org.apache.juneau">InvalidDataConversionException</a></pre> @@ -747,7 +754,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>toArray</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/BeanSession.html#line.638">toArray</a>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> type, +<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/BeanSession.html#line.645">toArray</a>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> type, <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><?> list)</pre> <div class="block">Converts the contents of the specified list into an array. <p> @@ -773,10 +780,11 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>toBeanMap</h4> -<pre>public final <T> <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.678">toBeanMap</a>(T o)</pre> +<pre>public final <T> <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.686">toBeanMap</a>(T o)</pre> <div class="block">Wraps an object inside a <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau"><code>BeanMap</code></a> object (i.e. a modifiable <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>). <p> - If object is not a true bean, then throws a <a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau"><code>BeanRuntimeException</code></a> with an explanation of why it's not a bean. + If object is not a true bean, then throws a <a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau"><code>BeanRuntimeException</code></a> with an explanation of why it's not a + bean. <h5 class='section'>Example:</h5> <p class='bcode'> @@ -799,7 +807,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>isBean</h4> -<pre>public final boolean <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.688">isBean</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> +<pre>public final boolean <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.696">isBean</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> <div class="block">Determines whether the specified object matches the requirements on this context of being a bean.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -815,7 +823,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>isBean</h4> -<pre>public final boolean <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.700">isBean</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre> +<pre>public final boolean <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.708">isBean</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre> <div class="block">Determines whether the specified class matches the requirements on this context of being a bean.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -833,7 +841,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>toBeanMap</h4> -<pre>public final <T> <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.728">toBeanMap</a>(T o, +<pre>public final <T> <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.736">toBeanMap</a>(T o, <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><? super T> c) throws <a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau">BeanRuntimeException</a></pre> <div class="block">Wraps an object inside a <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau"><code>BeanMap</code></a> object (i.e.: a modifiable <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>) @@ -871,10 +879,12 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>newBeanMap</h4> -<pre>public final <T> <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.758">newBeanMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</pre> -<div class="block">Creates a new <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau"><code>BeanMap</code></a> object (i.e. a modifiable <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>) of the given class with uninitialized property values. +<pre>public final <T> <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.768">newBeanMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</pre> +<div class="block">Creates a new <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau"><code>BeanMap</code></a> object (i.e. a modifiable <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>) of the given class with uninitialized + property values. <p> - If object is not a true bean, then throws a <a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau"><code>BeanRuntimeException</code></a> with an explanation of why it's not a bean. + If object is not a true bean, then throws a <a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau"><code>BeanRuntimeException</code></a> with an explanation of why it's not a + bean. <h5 class='section'>Example:</h5> <p class='bcode'> @@ -897,7 +907,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>newBeanMap</h4> -<pre>public final <T> <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.772">newBeanMap</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> outer, +<pre>public final <T> <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.782">newBeanMap</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> outer, <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> c)</pre> <div class="block">Same as <a href="../../../org/apache/juneau/BeanSession.html#newBeanMap-java.lang.Class-"><code>newBeanMap(Class)</code></a>, except used for instantiating inner member classes that must be instantiated within another class instance.</div> @@ -919,7 +929,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>newBean</h4> -<pre>public final <T> T <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.797">newBean</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c) +<pre>public final <T> T <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.807">newBean</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c) throws <a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau">BeanRuntimeException</a></pre> <div class="block">Creates a new empty bean of the specified type, except used for instantiating inner member classes that must be instantiated within another class instance. @@ -947,7 +957,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>newBean</h4> -<pre>public final <T> T <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.812">newBean</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> outer, +<pre>public final <T> T <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.822">newBean</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> outer, <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> c) throws <a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau">BeanRuntimeException</a></pre> <div class="block">Same as <a href="../../../org/apache/juneau/BeanSession.html#newBean-java.lang.Class-"><code>newBean(Class)</code></a>, except used for instantiating inner member classes that must @@ -972,7 +982,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>getBeanMeta</h4> -<pre>public final <T> <a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau">BeanMeta</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.837">getBeanMeta</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</pre> +<pre>public final <T> <a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau">BeanMeta</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.847">getBeanMeta</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</pre> <div class="block">Returns the <a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau"><code>BeanMeta</code></a> class for the specified class.</div> <dl> <dt><span class="paramLabel">Type Parameters:</span></dt> @@ -991,7 +1001,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>getClassMeta</h4> -<pre>public final <T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.850">getClassMeta</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</pre> +<pre>public final <T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.860">getClassMeta</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</pre> <div class="block">Returns a <code>ClassMeta</code> wrapper around a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> object.</div> <dl> <dt><span class="paramLabel">Type Parameters:</span></dt> @@ -1009,14 +1019,16 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>getClassMeta</h4> -<pre>public final <T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.883">getClassMeta</a>(<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, +<pre>public final <T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.901">getClassMeta</a>(<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)</pre> <div class="block">Used to resolve <code>ClassMetas</code> of type <code>Collection</code> and <code>Map</code> that have <code>ClassMeta</code> values that themselves could be collections or maps. <p> - <code>Collection</code> meta objects are assumed to be followed by zero or one meta objects indicating the element type. + <code>Collection</code> meta objects are assumed to be followed by zero or one meta objects indicating the + element type. <p> - <code>Map</code> meta objects are assumed to be followed by zero or two meta objects indicating the key and value types. + <code>Map</code> meta objects are assumed to be followed by zero or two meta objects indicating the key and value + types. <p> The array can be arbitrarily long to indicate arbitrarily complex data structures. @@ -1025,18 +1037,24 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <li><code>getClassMeta(String.<jk>class</jk>);</code> - A normal type. <li><code>getClassMeta(List.<jk>class</jk>);</code> - A list containing objects. <li><code>getClassMeta(List.<jk>class</jk>, String.<jk>class</jk>);</code> - A list containing strings. - <li><code>getClassMeta(LinkedList.<jk>class</jk>, String.<jk>class</jk>);</code> - A linked-list containing strings. - <li><code>getClassMeta(LinkedList.<jk>class</jk>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);</code> - A linked-list containing linked-lists of strings. + <li><code>getClassMeta(LinkedList.<jk>class</jk>, String.<jk>class</jk>);</code> - A linked-list containing + strings. + <li><code>getClassMeta(LinkedList.<jk>class</jk>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);</code> - + A linked-list containing linked-lists of strings. <li><code>getClassMeta(Map.<jk>class</jk>);</code> - A map containing object keys/values. - <li><code>getClassMeta(Map.<jk>class</jk>, String.<jk>class</jk>, String.<jk>class</jk>);</code> - A map containing string keys/values. - <li><code>getClassMeta(Map.<jk>class</jk>, String.<jk>class</jk>, List.<jk>class</jk>, MyBean.<jk>class</jk>);</code> - A map containing string keys and values of lists containing beans. + <li><code>getClassMeta(Map.<jk>class</jk>, String.<jk>class</jk>, String.<jk>class</jk>);</code> - A map + containing string keys/values. + <li><code>getClassMeta(Map.<jk>class</jk>, String.<jk>class</jk>, List.<jk>class</jk>, MyBean.<jk>class</jk>);</code> - + A map containing string keys and values of lists containing beans. </ul></div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>type</code> - The class to resolve. - <br>Can be any of the following: <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a></dd> + <br>Can be any of the following: <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a></dd> <dd><code>args</code> - The type arguments of the class if it's a collection or map. - <br>Can be any of the following: <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a> + <br>Can be any of the following: <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a> <br>Ignored if the main type is not a map or collection.</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>The class meta.</dd> @@ -1049,7 +1067,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>getArgsClassMeta</h4> -<pre>public final <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</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>[]> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.894">getArgsClassMeta</a>(<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>[] classes)</pre> +<pre>public final <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</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>[]> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.912">getArgsClassMeta</a>(<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>[] classes)</pre> <div class="block">Given an array of <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"><code>Type</code></a> objects, returns a <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> representing those arguments. Constructs a new meta on each call.</div> <dl> @@ -1068,7 +1086,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>getClassMetaForObject</h4> -<pre>public final <T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.909">getClassMetaForObject</a>(T o)</pre> +<pre>public final <T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.927">getClassMetaForObject</a>(T o)</pre> <div class="block">Shortcut for calling <code>getClassMeta(o.getClass())</code>.</div> <dl> <dt><span class="paramLabel">Type Parameters:</span></dt> @@ -1086,7 +1104,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>getBeanTypePropertyName</h4> -<pre>public 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/BeanSession.html#line.922">getBeanTypePropertyName</a>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a> cm)</pre> +<pre>public 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/BeanSession.html#line.940">getBeanTypePropertyName</a>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a> cm)</pre> <div class="block">Returns the type property name as defined by <a href="../../../org/apache/juneau/BeanContext.html#BEAN_beanTypePropertyName"><code>BeanContext.BEAN_beanTypePropertyName</code></a>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1103,7 +1121,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>getBeanRegistry</h4> -<pre>public final <a href="../../../org/apache/juneau/BeanRegistry.html" title="class in org.apache.juneau">BeanRegistry</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.932">getBeanRegistry</a>()</pre> +<pre>public final <a href="../../../org/apache/juneau/BeanRegistry.html" title="class in org.apache.juneau">BeanRegistry</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.950">getBeanRegistry</a>()</pre> <div class="block">Returns the bean registry defined in this bean context defined by <a href="../../../org/apache/juneau/BeanContext.html#BEAN_beanDictionary"><code>BeanContext.BEAN_beanDictionary</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1117,7 +1135,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>getStringBuilder</h4> -<pre>public final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.943">getStringBuilder</a>()</pre> +<pre>public final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.961">getStringBuilder</a>()</pre> <div class="block">Creates a reusable <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang"><code>StringBuilder</code></a> object from an internal pool. <p> String builders are returned to the pool by calling <a href="../../../org/apache/juneau/BeanSession.html#returnStringBuilder-java.lang.StringBuilder-"><code>returnStringBuilder(StringBuilder)</code></a>.</div> @@ -1133,7 +1151,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>returnStringBuilder</h4> -<pre>public final void <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.954">returnStringBuilder</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> sb)</pre> +<pre>public final void <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.972">returnStringBuilder</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> sb)</pre> <div class="block">Returns a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang"><code>StringBuilder</code></a> object back into the internal reuse pool.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1147,7 +1165,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>object</h4> -<pre>public final <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</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>> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.972">object</a>()</pre> +<pre>public final <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</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>> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.990">object</a>()</pre> <div class="block">Returns a reusable <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> representation for the class <code>Object</code>. <p> This <code>ClassMeta</code> is often used to represent "any object type" when an object type @@ -1167,7 +1185,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>string</h4> -<pre>public final <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.986">string</a>()</pre> +<pre>public final <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1004">string</a>()</pre> <div class="block">Returns a reusable <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> representation for the class <code>String</code>. <p> This <code>ClassMeta</code> is often used to represent key types in maps. @@ -1186,7 +1204,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>_class</h4> -<pre>public final <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1000">_class</a>()</pre> +<pre>public final <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1018">_class</a>()</pre> <div class="block">Returns a reusable <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> representation for the class <code>Class</code>. <p> This <code>ClassMeta</code> is often used to represent key types in maps. @@ -1205,7 +1223,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>getClassLoader</h4> -<pre>public final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1009">getClassLoader</a>()</pre> +<pre>public final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1027">getClassLoader</a>()</pre> <div class="block">Returns the classloader associated with this bean context.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1219,7 +1237,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>getMediaType</h4> -<pre>public final <a href="../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1020">getMediaType</a>()</pre> +<pre>public final <a href="../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1038">getMediaType</a>()</pre> <div class="block">Returns the media type specified for this session. <p> For example, <js>"application/json"</js>.</div> @@ -1235,7 +1253,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>asMap</h4> -<pre>public final <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1025">asMap</a>()</pre> +<pre>public final <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1043">asMap</a>()</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../org/apache/juneau/Session.html#asMap--">Session</a></code></span></div> <div class="block">Returns the properties defined on this bean context as a simple map for debugging purposes.</div> <dl> @@ -1252,7 +1270,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockListLast"> <li class="blockList"> <h4>close</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1035">close</a>() +<pre>public boolean <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1053">close</a>() throws <a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau">BeanRuntimeException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../org/apache/juneau/Session.html#close--">Session</a></code></span></div> <div class="block">Perform cleanup on this context object if necessary.</div>
