http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/62afb533/content/site/apidocs/org/apache/juneau/ClassMeta.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/ClassMeta.html b/content/site/apidocs/org/apache/juneau/ClassMeta.html index a1ca80e..65ccfc7 100644 --- a/content/site/apidocs/org/apache/juneau/ClassMeta.html +++ b/content/site/apidocs/org/apache/juneau/ClassMeta.html @@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab"; <hr> <br> <pre><a href="../../../org/apache/juneau/annotation/Bean.html" title="annotation in org.apache.juneau.annotation">@Bean</a>(<a href="../../../org/apache/juneau/annotation/Bean.html#properties--">properties</a>="innerClass,classCategory,elementType,keyType,valueType,notABeanReason,initException,beanMeta") -public final class <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.57">ClassMeta</a><T> +public final class <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.59">ClassMeta</a><T> 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> implements <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></pre> <div class="block">A wrapper class around the <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 that provides cached information about that class. @@ -322,8 +322,8 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T </tr> <tr id="i27" class="rowColor"> <td class="colFirst"><code><a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform">PojoSwap</a><<a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>,?></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#getPojoSwap--">getPojoSwap</a></span>()</code> -<div class="block">Returns the <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> associated with this class.</div> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#getPojoSwap-org.apache.juneau.BeanSession-">getPojoSwap</a></span>(<a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a> session)</code> +<div class="block">Returns the <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> associated with this class that's the best match for the specified session.</div> </td> </tr> <tr id="i28" class="altColor"> @@ -359,7 +359,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T </tr> <tr id="i33" class="rowColor"> <td class="colFirst"><code><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#getSerializedClassMeta--">getSerializedClassMeta</a></span>()</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#getSerializedClassMeta-org.apache.juneau.BeanSession-">getSerializedClassMeta</a></span>(<a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a> session)</code> <div class="block">Returns the serialized (swapped) form of this class if there is an <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> associated with it.</div> </td> </tr> @@ -663,7 +663,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T <ul class="blockList"> <li class="blockList"> <h4>getBeanTypePropertyName</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/ClassMeta.html#line.703">getBeanTypePropertyName</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/ClassMeta.html#line.721">getBeanTypePropertyName</a>()</pre> <div class="block">Returns the type property name associated with this class and subclasses. <p> @@ -681,7 +681,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T <ul class="blockList"> <li class="blockList"> <h4>getDictionaryName</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/ClassMeta.html#line.717">getDictionaryName</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/ClassMeta.html#line.735">getDictionaryName</a>()</pre> <div class="block">Returns the bean dictionary name associated with this class. <p> @@ -699,7 +699,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T <ul class="blockList"> <li class="blockList"> <h4>getBeanRegistry</h4> -<pre>public <a href="../../../org/apache/juneau/BeanRegistry.html" title="class in org.apache.juneau">BeanRegistry</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.731">getBeanRegistry</a>()</pre> +<pre>public <a href="../../../org/apache/juneau/BeanRegistry.html" title="class in org.apache.juneau">BeanRegistry</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.749">getBeanRegistry</a>()</pre> <div class="block">Returns the bean registry for this class. <p> @@ -718,7 +718,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T <ul class="blockList"> <li class="blockList"> <h4>getClassCategory</h4> -<pre>public org.apache.juneau.ClassMeta.ClassCategory <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.740">getClassCategory</a>()</pre> +<pre>public org.apache.juneau.ClassMeta.ClassCategory <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.758">getClassCategory</a>()</pre> <div class="block">Returns the category of this class.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -732,7 +732,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T <ul class="blockList"> <li class="blockList"> <h4>isAssignableFrom</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.750">isAssignableFrom</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 boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.768">isAssignableFrom</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">Returns <jk>true</jk> if this class is a superclass of or the same as the specified class.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -748,7 +748,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T <ul class="blockList"> <li class="blockList"> <h4>isInstanceOf</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.760">isInstanceOf</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 boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.778">isInstanceOf</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">Returns <jk>true</jk> if this class is a subclass of or the same as the specified class.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -764,7 +764,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T <ul class="blockList"> <li class="blockList"> <h4>hasChildPojoSwaps</h4> -<pre>protected boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.773">hasChildPojoSwaps</a>()</pre> +<pre>protected boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.791">hasChildPojoSwaps</a>()</pre> <div class="block">Returns <jk>true</jk> if this class or any child classes has a <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> associated with it. <p> @@ -782,7 +782,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T <ul class="blockList"> <li class="blockList"> <h4>getChildPojoSwapForSwap</h4> -<pre>protected <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform">PojoSwap</a><?,?> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.784">getChildPojoSwapForSwap</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><?> normalClass)</pre> +<pre>protected <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform">PojoSwap</a><?,?> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.802">getChildPojoSwapForSwap</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><?> normalClass)</pre> <div class="block">Returns the <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> where the specified class is the same/subclass of the normal class of one of the child POJO swaps associated with this class.</div> <dl> @@ -799,7 +799,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T <ul class="blockList"> <li class="blockList"> <h4>getChildPojoSwapForUnswap</h4> -<pre>protected <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform">PojoSwap</a><?,?> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.811">getChildPojoSwapForUnswap</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><?> swapClass)</pre> +<pre>protected <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform">PojoSwap</a><?,?> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.829">getChildPojoSwapForUnswap</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><?> swapClass)</pre> <div class="block">Returns the <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> where the specified class is the same/subclass of the swap class of one of the child POJO swaps associated with this class.</div> <dl> @@ -816,7 +816,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T <ul class="blockList"> <li class="blockList"> <h4>findNoArgConstructor</h4> -<pre>protected static <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><? extends T> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.844">findNoArgConstructor</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>protected static <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><? extends T> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.862">findNoArgConstructor</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, <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> v)</pre> <div class="block">Locates the no-arg constructor for the specified class. @@ -839,7 +839,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T <ul class="blockList"> <li class="blockList"> <h4>getInnerClass</h4> -<pre>public <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="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.862">getInnerClass</a>()</pre> +<pre>public <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="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.880">getInnerClass</a>()</pre> <div class="block">Returns the <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 that this class type wraps.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -847,16 +847,19 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T </dl> </li> </ul> -<a name="getSerializedClassMeta--"> +<a name="getSerializedClassMeta-org.apache.juneau.BeanSession-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getSerializedClassMeta</h4> <pre><a href="../../../org/apache/juneau/annotation/BeanIgnore.html" title="annotation in org.apache.juneau.annotation">@BeanIgnore</a> -public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.872">getSerializedClassMeta</a>()</pre> +public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.893">getSerializedClassMeta</a>(<a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a> session)</pre> <div class="block">Returns the serialized (swapped) form of this class if there is an <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> associated with it.</div> <dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>session</code> - The bean session. + <br>Required because the swap used may depend on the media type being serialized or parsed.</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>The serialized class type, or this object if no swap is associated with the class.</dd> </dl> @@ -868,7 +871,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getElementType</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/ClassMeta.html#line.882">getElementType</a>()</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/ClassMeta.html#line.904">getElementType</a>()</pre> <div class="block">For array and <code>Collection</code> types, returns the class type of the components of the array or <code>Collection</code>.</div> <dl> @@ -883,7 +886,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getKeyType</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/ClassMeta.html#line.891">getKeyType</a>()</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/ClassMeta.html#line.913">getKeyType</a>()</pre> <div class="block">For <code>Map</code> types, returns the class type of the keys of the <code>Map</code>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -897,7 +900,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getValueType</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/ClassMeta.html#line.900">getValueType</a>()</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/ClassMeta.html#line.922">getValueType</a>()</pre> <div class="block">For <code>Map</code> types, returns the class type of the values of the <code>Map</code>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -911,7 +914,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isDelegate</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.910">isDelegate</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.932">isDelegate</a>()</pre> <div class="block">Returns <jk>true</jk> if this class implements <a href="../../../org/apache/juneau/Delegate.html" title="interface in org.apache.juneau"><code>Delegate</code></a>, meaning it's a representation of some other object.</div> <dl> @@ -926,7 +929,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isMap</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.919">isMap</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.941">isMap</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is a subclass of <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>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -940,7 +943,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isMapOrBean</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.928">isMapOrBean</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.950">isMapOrBean</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is a subclass of <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> or it's a bean.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -954,7 +957,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isBeanMap</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.937">isBeanMap</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.959">isBeanMap</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau"><code>BeanMap</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -968,7 +971,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isCollection</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.946">isCollection</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.968">isCollection</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -982,7 +985,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isCollectionOrArray</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.955">isCollectionOrArray</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.977">isCollectionOrArray</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> or is an array.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -996,7 +999,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isClass</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.964">isClass</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.986">isClass</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is <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>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1010,7 +1013,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isMethod</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.973">isMethod</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.995">isMethod</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is <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"><code>Method</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1024,7 +1027,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isEnum</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.982">isEnum</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1004">isEnum</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><code>Enum</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1038,7 +1041,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isArray</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.991">isArray</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1013">isArray</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is an array.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1052,7 +1055,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isBean</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1000">isBean</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1022">isBean</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is a bean.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1066,7 +1069,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isObject</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1009">isObject</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1031">isObject</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1080,7 +1083,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isNotObject</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1018">isNotObject</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1040">isNotObject</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is not <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1094,7 +1097,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isNumber</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1027">isNumber</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1049">isNumber</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang"><code>Number</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1108,7 +1111,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isDecimal</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1036">isDecimal</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1058">isDecimal</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang"><code>Float</code></a> or <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang"><code>Double</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1122,7 +1125,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isBoolean</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1045">isBoolean</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1067">isBoolean</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1136,7 +1139,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isCharSequence</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1054">isCharSequence</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1076">isCharSequence</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang"><code>CharSequence</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1150,7 +1153,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isString</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1063">isString</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1085">isString</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is 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"><code>String</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1164,7 +1167,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isChar</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1072">isChar</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1094">isChar</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang"><code>Character</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1178,7 +1181,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isPrimitive</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1081">isPrimitive</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1103">isPrimitive</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is a primitive.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1192,7 +1195,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isDate</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1090">isDate</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1112">isDate</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a> or <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util"><code>Calendar</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1206,7 +1209,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isUri</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1099">isUri</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1121">isUri</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is a <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net"><code>URI</code></a> or <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net"><code>URL</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1220,7 +1223,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isReader</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1108">isReader</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1130">isReader</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is a <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1234,7 +1237,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isInputStream</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1117">isInputStream</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1139">isInputStream</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is an <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1248,7 +1251,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isVoid</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1126">isVoid</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1148">isVoid</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang"><code>Void</code></a> or <jk>void</jk>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1262,7 +1265,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isArgs</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1135">isArgs</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1157">isArgs</a>()</pre> <div class="block">Returns <jk>true</jk> if this metadata represents an array of argument types.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1276,7 +1279,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getArgs</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/ClassMeta.html#line.1144">getArgs</a>()</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/ClassMeta.html#line.1166">getArgs</a>()</pre> <div class="block">Returns the argument types of this meta.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1290,7 +1293,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getArg</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/ClassMeta.html#line.1155">getArg</a>(int index)</pre> +<pre>public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1177">getArg</a>(int index)</pre> <div class="block">Returns the argument metadata at the specified index if this is an args metadata object.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1308,7 +1311,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isNullable</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1170">isNullable</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1192">isNullable</a>()</pre> <div class="block">Returns <jk>true</jk> if instance of this object can be <jk>null</jk>. <p> @@ -1326,7 +1329,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isRemoteable</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1181">isRemoteable</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1203">isRemoteable</a>()</pre> <div class="block">Returns <jk>true</jk> if this class or one of it's methods are annotated with <a href="../../../org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><code>@Remotable</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1340,7 +1343,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isAbstract</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1190">isAbstract</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1212">isAbstract</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is abstract.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1354,7 +1357,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isMemberClass</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1199">isMemberClass</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1221">isMemberClass</a>()</pre> <div class="block">Returns <jk>true</jk> if this class is an inner class.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1368,7 +1371,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getRemoteableMethods</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="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="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>> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1212">getRemoteableMethods</a>()</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="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="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>> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1234">getRemoteableMethods</a>()</pre> <div class="block">All methods on this class annotated with <a href="../../../org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><code>@Remotable</code></a>, or all public methods if class is annotated. @@ -1386,7 +1389,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getPublicMethods</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="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="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>> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1224">getPublicMethods</a>()</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="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="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>> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1246">getPublicMethods</a>()</pre> <div class="block">All public methods on this class including static methods. <p> @@ -1397,17 +1400,21 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in </dl> </li> </ul> -<a name="getPojoSwap--"> +<a name="getPojoSwap-org.apache.juneau.BeanSession-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getPojoSwap</h4> -<pre>public <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform">PojoSwap</a><<a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>,?> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1235">getPojoSwap</a>()</pre> -<div class="block">Returns the <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> associated with this class.</div> +<pre>public <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform">PojoSwap</a><<a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>,?> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1261">getPojoSwap</a>(<a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a> session)</pre> +<div class="block">Returns the <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> associated with this class that's the best match for the specified session.</div> <dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>session</code> - The current bean session. + <br>If multiple swaps are associated with a class, only the first one with a matching media type will + be returned.</dd> <dt><span class="returnLabel">Returns:</span></dt> -<dd>The <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> associated with this class, or <jk>null</jk> if there is no POJO swap associated with +<dd>The <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> associated with this class, or <jk>null</jk> if there are no POJO swaps associated with this class.</dd> </dl> </li> @@ -1418,7 +1425,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getBeanMeta</h4> -<pre>public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau">BeanMeta</a><<a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1246">getBeanMeta</a>()</pre> +<pre>public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau">BeanMeta</a><<a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1286">getBeanMeta</a>()</pre> <div class="block">Returns the <a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau"><code>BeanMeta</code></a> associated with this class.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1433,7 +1440,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getConstructor</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><? extends <a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1255">getConstructor</a>()</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><? extends <a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1295">getConstructor</a>()</pre> <div class="block">Returns the no-arg constructor for this class.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1447,7 +1454,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getExtendedMeta</h4> -<pre>public <M extends <a href="../../../org/apache/juneau/ClassMetaExtended.html" title="class in org.apache.juneau">ClassMetaExtended</a>> M <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1265">getExtendedMeta</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><M> c)</pre> +<pre>public <M extends <a href="../../../org/apache/juneau/ClassMetaExtended.html" title="class in org.apache.juneau">ClassMetaExtended</a>> M <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1305">getExtendedMeta</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><M> c)</pre> <div class="block">Returns the language-specified extended metadata on this class.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1463,7 +1470,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getProxyInvocationHandler</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/InvocationHandler.html?is-external=true" title="class or interface in java.lang.reflect">InvocationHandler</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1274">getProxyInvocationHandler</a>()</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/InvocationHandler.html?is-external=true" title="class or interface in java.lang.reflect">InvocationHandler</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1314">getProxyInvocationHandler</a>()</pre> <div class="block">Returns the interface proxy invocation handler for this class.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1477,7 +1484,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>canCreateNewInstance</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1283">canCreateNewInstance</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1323">canCreateNewInstance</a>()</pre> <div class="block">Returns <jk>true</jk> if this class has a no-arg constructor or invocation handler.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1491,7 +1498,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>canCreateNewInstance</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1305">canCreateNewInstance</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> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1345">canCreateNewInstance</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> <div class="block">Returns <jk>true</jk> if this class has a no-arg constructor or invocation handler. Returns <jk>false</jk> if this is a non-static member class and the outer object does not match the class type of the defining class.</div> @@ -1509,7 +1516,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>canCreateNewBean</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1321">canCreateNewBean</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> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1361">canCreateNewBean</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> <div class="block">Returns <jk>true</jk> if this class can be instantiated as a bean. Returns <jk>false</jk> if this is a non-static member class and the outer object does not match the class type of the defining class.</div> @@ -1527,7 +1534,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>canCreateNewInstanceFromString</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1339">canCreateNewInstanceFromString</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> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1379">canCreateNewInstanceFromString</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> <div class="block">Returns <jk>true</jk> if this class can call the <a href="../../../org/apache/juneau/ClassMeta.html#newInstanceFromString-java.lang.Object-java.lang.String-"><code>newInstanceFromString(Object, String)</code></a> method.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1544,7 +1551,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>canCreateNewInstanceFromNumber</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1358">canCreateNewInstanceFromNumber</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> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1398">canCreateNewInstanceFromNumber</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> <div class="block">Returns <jk>true</jk> if this class can call the <a href="../../../org/apache/juneau/ClassMeta.html#newInstanceFromString-java.lang.Object-java.lang.String-"><code>newInstanceFromString(Object, String)</code></a> method.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1561,7 +1568,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getNewInstanceFromNumberClass</h4> -<pre>public <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><? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1373">getNewInstanceFromNumberClass</a>()</pre> +<pre>public <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><? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1413">getNewInstanceFromNumberClass</a>()</pre> <div class="block">Returns the class type of the parameter of the numeric constructor.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1575,7 +1582,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getNameProperty</h4> -<pre>public <a href="../../../org/apache/juneau/Setter.html" title="interface in org.apache.juneau">Setter</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1384">getNameProperty</a>()</pre> +<pre>public <a href="../../../org/apache/juneau/Setter.html" title="interface in org.apache.juneau">Setter</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1424">getNameProperty</a>()</pre> <div class="block">Returns the method or field annotated with <a href="../../../org/apache/juneau/annotation/NameProperty.html" title="annotation in org.apache.juneau.annotation"><code>@NameProperty</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1590,7 +1597,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getParentProperty</h4> -<pre>public <a href="../../../org/apache/juneau/Setter.html" title="interface in org.apache.juneau">Setter</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1395">getParentProperty</a>()</pre> +<pre>public <a href="../../../org/apache/juneau/Setter.html" title="interface in org.apache.juneau">Setter</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1435">getParentProperty</a>()</pre> <div class="block">Returns the method or field annotated with <a href="../../../org/apache/juneau/annotation/ParentProperty.html" title="annotation in org.apache.juneau.annotation"><code>@ParentProperty</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1605,7 +1612,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getNotABeanReason</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/ClassMeta.html#line.1404">getNotABeanReason</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/ClassMeta.html#line.1444">getNotABeanReason</a>()</pre> <div class="block">Returns the reason why this class is not a bean, or <jk>null</jk> if it is a bean.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1619,7 +1626,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getInitException</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1413">getInitException</a>()</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1453">getInitException</a>()</pre> <div class="block">Returns any exception that was throw in the <code>init()</code> method.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1633,7 +1640,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getBeanContext</h4> -<pre>public <a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1422">getBeanContext</a>()</pre> +<pre>public <a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1462">getBeanContext</a>()</pre> <div class="block">Returns the <a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau"><code>BeanContext</code></a> that created this object.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1647,7 +1654,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getPrimitiveDefault</h4> -<pre>public <a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1432">getPrimitiveDefault</a>()</pre> +<pre>public <a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1472">getPrimitiveDefault</a>()</pre> <div class="block">Returns the default value for primitives such as <jk>int</jk> or <jk>Integer</jk>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1661,7 +1668,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>newInstanceFromString</h4> -<pre>public <a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1461">newInstanceFromString</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 <a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1501">newInstanceFromString</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/String.html?is-external=true" title="class or interface in java.lang">String</a> arg) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalAccessException.html?is-external=true" title="class or interface in java.lang">IllegalAccessException</a>, @@ -1698,7 +1705,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>newInstanceFromNumber</h4> -<pre>public <a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1498">newInstanceFromNumber</a>(<a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a> session, +<pre>public <a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1538">newInstanceFromNumber</a>(<a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</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/Number.html?is-external=true" title="class or interface in java.lang">Number</a> arg) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a>, @@ -1736,7 +1743,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>newInstance</h4> -<pre>public <a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1533">newInstance</a>() +<pre>public <a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1573">newInstance</a>() throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InstantiationException.html?is-external=true" title="class or interface in java.lang">InstantiationException</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalAccessException.html?is-external=true" title="class or interface in java.lang">IllegalAccessException</a>, @@ -1771,7 +1778,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>newInstance</h4> -<pre>public <a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1573">newInstance</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 <a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1613">newInstance</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) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InstantiationException.html?is-external=true" title="class or interface in java.lang">InstantiationException</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalAccessException.html?is-external=true" title="class or interface in java.lang">IllegalAccessException</a>, @@ -1809,7 +1816,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>equals</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1586">equals</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> t)</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1626">equals</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> t)</pre> <div class="block">Checks to see if the specified class type is the same as this one.</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> @@ -1827,7 +1834,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>same</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1600">same</a>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> cm)</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1640">same</a>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> cm)</pre> <div class="block">Similar to <a href="../../../org/apache/juneau/ClassMeta.html#equals-java.lang.Object-"><code>equals(Object)</code></a> except primitive and Object types that are similar are considered the same. (e.g. <jk>boolean</jk> == <code>Boolean</code>).</div> <dl> @@ -1844,7 +1851,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>toString</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1607">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/ClassMeta.html#line.1647">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> @@ -1857,7 +1864,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>toString</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1617">toString</a>(boolean simple)</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/ClassMeta.html#line.1657">toString</a>(boolean simple)</pre> <div class="block">Same as <a href="../../../org/apache/juneau/ClassMeta.html#toString--"><code>toString()</code></a> except use simple class names.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1873,7 +1880,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>toString</h4> -<pre>protected <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/ClassMeta.html#line.1628">toString</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>protected <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/ClassMeta.html#line.1668">toString</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, boolean simple)</pre> <div class="block">Appends this object as a readable string to the specified string builder.</div> <dl> @@ -1891,7 +1898,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>isInstance</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1662">isInstance</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 boolean <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1702">isInstance</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">Returns <jk>true</jk> if the specified object is an instance of this class. <p> @@ -1910,7 +1917,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getReadableName</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/ClassMeta.html#line.1673">getReadableName</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/ClassMeta.html#line.1713">getReadableName</a>()</pre> <div class="block">Returns a readable name for this class (e.g. <js>"java.lang.String"</js>, <js>"boolean[]"</js>).</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1924,7 +1931,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockListLast"> <li class="blockList"> <h4>hashCode</h4> -<pre>public int <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1708">hashCode</a>()</pre> +<pre>public int <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1748">hashCode</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#hashCode--" title="class or interface in java.lang">hashCode</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/62afb533/content/site/apidocs/org/apache/juneau/CoreObjectBuilder.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/CoreObjectBuilder.html b/content/site/apidocs/org/apache/juneau/CoreObjectBuilder.html index ce214f0..f2980fd 100644 --- a/content/site/apidocs/org/apache/juneau/CoreObjectBuilder.html +++ b/content/site/apidocs/org/apache/juneau/CoreObjectBuilder.html @@ -2010,7 +2010,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? There are two category of classes that can be passed in through this method: <ul> <li>Subclasses of <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a>. - <li>Surrogate classes. A shortcut for defining a <a href="../../../org/apache/juneau/transform/SurrogateSwap.html" title="class in org.apache.juneau.transform"><code>SurrogateSwap</code></a>. + <li>Implementations of <a href="../../../org/apache/juneau/transform/Surrogate.html" title="interface in org.apache.juneau.transform"><code>Surrogate</code></a>. </ul> <h5 class='section'>Notes:</h5> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/62afb533/content/site/apidocs/org/apache/juneau/annotation/BeanProperty.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/annotation/BeanProperty.html b/content/site/apidocs/org/apache/juneau/annotation/BeanProperty.html index e2c606e..26c1540 100644 --- a/content/site/apidocs/org/apache/juneau/annotation/BeanProperty.html +++ b/content/site/apidocs/org/apache/juneau/annotation/BeanProperty.html @@ -96,7 +96,7 @@ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>={<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/ElementType.html?is-external=true#FIELD" title="class or interface in java.lang.annotation">FIELD</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/ElementType.html?is-external=true#METHOD" title="class or interface in java.lang.annotation">METHOD</a>}) <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</a>) <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Inherited.html?is-external=true" title="class or interface in java.lang.annotation">@Inherited</a> -public @interface <a href="../../../../src-html/org/apache/juneau/annotation/BeanProperty.html#line.59">BeanProperty</a></pre> +public @interface <a href="../../../../src-html/org/apache/juneau/annotation/BeanProperty.html#line.57">BeanProperty</a></pre> <div class="block">Used tailor how bean properties get interpreted by the framework. <p> @@ -177,18 +177,11 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea </tr> <tr class="rowColor"> <td class="colFirst"><code><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><?></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/annotation/BeanProperty.html#swap--">swap</a></span></code> -<div class="block">Associates a <a href="../../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> or <a href="../../../../org/apache/juneau/transform/SurrogateSwap.html" title="class in org.apache.juneau.transform"><code>SurrogateSwap</code></a> with this bean property that will swap the value object - with another object during serialization and parsing.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code><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><?></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/annotation/BeanProperty.html#type--">type</a></span></code> <div class="block">Identifies a specialized class type for the property.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code><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/annotation/BeanProperty.html#value--">value</a></span></code> <div class="block">A synonym for <a href="../../../../org/apache/juneau/annotation/BeanProperty.html#name--"><code>name()</code></a>.</div> @@ -215,7 +208,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <ul class="blockList"> <li class="blockList"> <h4>name</h4> -<pre>public abstract <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/annotation/BeanProperty.html#line.150">name</a></pre> +<pre>public abstract <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/annotation/BeanProperty.html#line.148">name</a></pre> <div class="block">Identifies the name of the property. <p> @@ -318,7 +311,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <ul class="blockList"> <li class="blockList"> <h4>value</h4> -<pre>public abstract <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/annotation/BeanProperty.html#line.164">value</a></pre> +<pre>public abstract <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/annotation/BeanProperty.html#line.162">value</a></pre> <div class="block">A synonym for <a href="../../../../org/apache/juneau/annotation/BeanProperty.html#name--"><code>name()</code></a>. <p> @@ -344,7 +337,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <ul class="blockList"> <li class="blockList"> <h4>type</h4> -<pre>public abstract <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/annotation/BeanProperty.html#line.188">type</a></pre> +<pre>public abstract <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/annotation/BeanProperty.html#line.186">type</a></pre> <div class="block">Identifies a specialized class type for the property. <p> @@ -380,7 +373,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <ul class="blockList"> <li class="blockList"> <h4>params</h4> -<pre>public abstract <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/annotation/BeanProperty.html#line.204">params</a></pre> +<pre>public abstract <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/annotation/BeanProperty.html#line.202">params</a></pre> <div class="block">For bean properties of maps and collections, this annotation can be used to identify the class types of the contents of the bean property object when the generic parameter types are interfaces or abstract classes. @@ -402,47 +395,13 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea </li> </ul> <ul class="blockList"> -<li class="blockList"><a name="swap--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>swap</h4> -<pre>public abstract <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/annotation/BeanProperty.html#line.226">swap</a></pre> -<div class="block">Associates a <a href="../../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> or <a href="../../../../org/apache/juneau/transform/SurrogateSwap.html" title="class in org.apache.juneau.transform"><code>SurrogateSwap</code></a> with this bean property that will swap the value object - with another object during serialization and parsing. - - <p> - This annotation supersedes any swaps associated with the bean property type class itself. - - <p> - Typically used for rendering <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Dates</code></a> and <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util"><code>Calendars</code></a> as a particular string format. - - <h5 class='section'>Example:</h5> - <p class='bcode'> - <jk>public class</jk> MyClass { - - <jc>// During serialization, convert to ISO8601 date-time string.</jc> - <ja>@BeanProperty</ja>(pojoSwap=CalendarSwap.ISO8601DT.<jk>class</jk>) - <jk>public</jk> Calendar getTime(); - } - </p></div> -<dl> -<dt>Default:</dt> -<dd>org.apache.juneau.annotation.Null.class</dd> -</dl> -</li> -</ul> -</li> -</ul> -<ul class="blockList"> <li class="blockList"><a name="properties--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>properties</h4> -<pre>public abstract <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/annotation/BeanProperty.html#line.258">properties</a></pre> +<pre>public abstract <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/annotation/BeanProperty.html#line.234">properties</a></pre> <div class="block">Used to limit which child properties are rendered by the serializers. <p> @@ -486,7 +445,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <ul class="blockList"> <li class="blockList"> <h4>beanDictionary</h4> -<pre>public abstract <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/annotation/BeanProperty.html#line.278">beanDictionary</a></pre> +<pre>public abstract <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/annotation/BeanProperty.html#line.254">beanDictionary</a></pre> <div class="block">The list of classes that make up the bean dictionary for this bean property. <p> @@ -518,7 +477,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <ul class="blockListLast"> <li class="blockList"> <h4>format</h4> -<pre>public abstract <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/annotation/BeanProperty.html#line.296">format</a></pre> +<pre>public abstract <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/annotation/BeanProperty.html#line.272">format</a></pre> <div class="block">Specifies a String format for converting the bean property value to a formatted string. <p>