http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1b5bde65/content/site/apidocs/org/apache/juneau/BeanMeta.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/BeanMeta.html b/content/site/apidocs/org/apache/juneau/BeanMeta.html index 7cb43f7..12c4fb5 100644 --- a/content/site/apidocs/org/apache/juneau/BeanMeta.html +++ b/content/site/apidocs/org/apache/juneau/BeanMeta.html @@ -116,31 +116,34 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public class <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.57">BeanMeta</a><T> +<pre>public class <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.60">BeanMeta</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></pre> <div class="block">Encapsulates all access to the properties of a bean class (like a souped-up <a href="http://docs.oracle.com/javase/7/docs/api/java/beans/BeanInfo.html?is-external=true" title="class or interface in java.beans"><code>BeanInfo</code></a>). <h5 class='section'>Description:</h5> - <p> + Uses introspection to find all the properties associated with this class. If the <a href="../../../org/apache/juneau/annotation/Bean.html" title="annotation in org.apache.juneau.annotation"><code>@Bean</code></a> annotation is present on the class, or the class has a <a href="../../../org/apache/juneau/transform/BeanFilter.html" title="class in org.apache.juneau.transform"><code>BeanFilter</code></a> registered with it in the bean context, then that information is used to determine the properties on the class. Otherwise, the <code>BeanInfo</code> functionality in Java is used to determine the properties on the class. <h6 class='topic'>Bean property ordering</h6> - <p> + The order of the properties are as follows: <ul class='spaced-list'> - <li>If <a href="../../../org/apache/juneau/annotation/Bean.html" title="annotation in org.apache.juneau.annotation"><code>@Bean</code></a> annotation is specified on class, then the order is the same as the list of properties + <li> + If <a href="../../../org/apache/juneau/annotation/Bean.html" title="annotation in org.apache.juneau.annotation"><code>@Bean</code></a> annotation is specified on class, then the order is the same as the list of properties in the annotation. - <li>If <a href="../../../org/apache/juneau/annotation/Bean.html" title="annotation in org.apache.juneau.annotation"><code>@Bean</code></a> annotation is not specified on the class, then the order is based on the following. + <li> + If <a href="../../../org/apache/juneau/annotation/Bean.html" title="annotation in org.apache.juneau.annotation"><code>@Bean</code></a> annotation is not specified on the class, then the order is based on the following. <ul> <li>Public fields (same order as <code>Class.getFields()</code>). <li>Properties returned by <code>BeanInfo.getPropertyDescriptors()</code>. <li>Non-standard getters/setters with <a href="../../../org/apache/juneau/annotation/BeanProperty.html" title="annotation in org.apache.juneau.annotation"><code>@BeanProperty</code></a> annotation defined on them. </ul> </ul> - <br> + + <p> The order can also be overridden through the use of an <a href="../../../org/apache/juneau/transform/BeanFilter.html" title="class in org.apache.juneau.transform"><code>BeanFilter</code></a>.</div> </li> </ul> @@ -298,8 +301,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <tr id="i6" class="altColor"> <td class="colFirst"><code><a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanMeta.html#getTypeProperty--">getTypeProperty</a></span>()</code> -<div class="block">Returns a mock bean property that resolves to the name <js>"_type"</js> and whose value always resolves - to the dictionary name of the bean.</div> +<div class="block">Returns a mock bean property that resolves to the name <js>"_type"</js> and whose value always resolves to the + dictionary name of the bean.</div> </td> </tr> <tr id="i7" class="rowColor"> @@ -340,7 +343,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>classMeta</h4> -<pre>protected final <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.60">classMeta</a></pre> +<pre>protected final <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.63">classMeta</a></pre> <div class="block">The target class type that this meta object describes.</div> </li> </ul> @@ -350,7 +353,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>c</h4> -<pre>protected final <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/BeanMeta.html" title="type parameter in BeanMeta">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.63">c</a></pre> +<pre>protected final <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/BeanMeta.html" title="type parameter in BeanMeta">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.66">c</a></pre> <div class="block">The target class that this meta object describes.</div> </li> </ul> @@ -360,7 +363,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>properties</h4> -<pre>protected final <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="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.66">properties</a></pre> +<pre>protected final <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="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.69">properties</a></pre> <div class="block">The properties on the target class.</div> </li> </ul> @@ -370,7 +373,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getterProps</h4> -<pre>protected final <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/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</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/BeanMeta.html#line.69">getterProps</a></pre> +<pre>protected final <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/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</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/BeanMeta.html#line.72">getterProps</a></pre> <div class="block">The getter properties on the target class.</div> </li> </ul> @@ -380,7 +383,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>setterProps</h4> -<pre>protected final <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/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</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/BeanMeta.html#line.72">setterProps</a></pre> +<pre>protected final <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/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</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/BeanMeta.html#line.75">setterProps</a></pre> <div class="block">The setter properties on the target class.</div> </li> </ul> @@ -390,7 +393,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>ctx</h4> -<pre>protected final <a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.75">ctx</a></pre> +<pre>protected final <a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.78">ctx</a></pre> <div class="block">The bean context that created this metadata object.</div> </li> </ul> @@ -400,7 +403,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>beanFilter</h4> -<pre>protected final <a href="../../../org/apache/juneau/transform/BeanFilter.html" title="class in org.apache.juneau.transform">BeanFilter</a> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.78">beanFilter</a></pre> +<pre>protected final <a href="../../../org/apache/juneau/transform/BeanFilter.html" title="class in org.apache.juneau.transform">BeanFilter</a> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.81">beanFilter</a></pre> <div class="block">Optional bean filter associated with the target class.</div> </li> </ul> @@ -410,7 +413,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>typeVarImpls</h4> -<pre>protected final <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/Class.html?is-external=true" title="class or interface in java.lang">Class</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/BeanMeta.html#line.81">typeVarImpls</a></pre> +<pre>protected final <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/Class.html?is-external=true" title="class or interface in java.lang">Class</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/BeanMeta.html#line.84">typeVarImpls</a></pre> <div class="block">Type variables implemented by this bean.</div> </li> </ul> @@ -420,7 +423,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>constructor</h4> -<pre>protected final <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><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.84">constructor</a></pre> +<pre>protected final <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><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.87">constructor</a></pre> <div class="block">The constructor for this bean.</div> </li> </ul> @@ -430,7 +433,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>constructorArgs</h4> -<pre>protected 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/BeanMeta.html#line.87">constructorArgs</a></pre> +<pre>protected 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/BeanMeta.html#line.90">constructorArgs</a></pre> <div class="block">For beans with constructors with BeanConstructor annotation, this is the list of constructor arg properties.</div> </li> </ul> @@ -448,7 +451,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>BeanMeta</h4> -<pre>protected <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.108">BeanMeta</a>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> classMeta, +<pre>protected <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.111">BeanMeta</a>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> classMeta, <a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a> ctx, <a href="../../../org/apache/juneau/transform/BeanFilter.html" title="class in org.apache.juneau.transform">BeanFilter</a> beanFilter, <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>[] pNames)</pre> @@ -477,7 +480,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <li class="blockList"> <h4>getClassMeta</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="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.460">getClassMeta</a>()</pre> +public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.463">getClassMeta</a>()</pre> <div class="block">Returns the <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> of this bean.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -491,11 +494,11 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <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/BeanMeta.html#line.469">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/BeanMeta.html#line.472">getDictionaryName</a>()</pre> <div class="block">Returns the dictionary name for this bean as defined through the <a href="../../../org/apache/juneau/annotation/Bean.html#typeName--"><code>Bean.typeName()</code></a> annotation.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> -<dd>The dictioanry name for this bean, or <jk>null</jk> if it has no dictionary name defined.</dd> +<dd>The dictionary name for this bean, or <jk>null</jk> if it has no dictionary name defined.</dd> </dl> </li> </ul> @@ -505,9 +508,9 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getTypeProperty</h4> -<pre>public <a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.479">getTypeProperty</a>()</pre> -<div class="block">Returns a mock bean property that resolves to the name <js>"_type"</js> and whose value always resolves - to the dictionary name of the bean.</div> +<pre>public <a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.482">getTypeProperty</a>()</pre> +<div class="block">Returns a mock bean property that resolves to the name <js>"_type"</js> and whose value always resolves to the + dictionary name of the bean.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>The type name property.</dd> @@ -520,7 +523,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getPropertyMetas</h4> -<pre>public <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><<a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.655">getPropertyMetas</a>()</pre> +<pre>public <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><<a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.658">getPropertyMetas</a>()</pre> <div class="block">Returns the metadata on all properties associated with this bean.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -534,7 +537,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getPropertyMetas</h4> -<pre>public <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><<a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.665">getPropertyMetas</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>... pNames)</pre> +<pre>public <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><<a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a>> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.668">getPropertyMetas</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>... pNames)</pre> <div class="block">Returns the metadata on the specified list of properties.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -550,7 +553,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/BeanMetaExtended.html" title="class in org.apache.juneau">BeanMetaExtended</a>> M <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.680">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> metaDataClass)</pre> +<pre>public <M extends <a href="../../../org/apache/juneau/BeanMetaExtended.html" title="class in org.apache.juneau">BeanMetaExtended</a>> M <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.683">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> metaDataClass)</pre> <div class="block">Returns the language-specified extended metadata on this bean class.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -566,14 +569,13 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>getPropertyMeta</h4> -<pre>public <a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.691">getPropertyMeta</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> name)</pre> +<pre>public <a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.693">getPropertyMeta</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> name)</pre> <div class="block">Returns metadata about the specified property.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>name</code> - The name of the property on this bean.</dd> <dt><span class="returnLabel">Returns:</span></dt> -<dd>The metadata about the property, or <jk>null</jk> if no such property exists - on this bean.</dd> +<dd>The metadata about the property, or <jk>null</jk> if no such property exists on this bean.</dd> </dl> </li> </ul> @@ -583,7 +585,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <ul class="blockList"> <li class="blockList"> <h4>newBean</h4> -<pre>protected <a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.709">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>protected <a href="../../../org/apache/juneau/BeanMeta.html" title="type parameter in BeanMeta">T</a> <a href="../../../src-html/org/apache/juneau/BeanMeta.html#line.711">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) 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>, @@ -608,7 +610,7 @@ public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in <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/BeanMeta.html#line.792">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/BeanMeta.html#line.800">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/1b5bde65/content/site/apidocs/org/apache/juneau/BeanMetaExtended.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/BeanMetaExtended.html b/content/site/apidocs/org/apache/juneau/BeanMetaExtended.html index 922412a..d97631b 100644 --- a/content/site/apidocs/org/apache/juneau/BeanMetaExtended.html +++ b/content/site/apidocs/org/apache/juneau/BeanMetaExtended.html @@ -112,12 +112,13 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public class <a href="../../../src-html/org/apache/juneau/BeanMetaExtended.html#line.21">BeanMetaExtended</a> +<pre>public class <a href="../../../src-html/org/apache/juneau/BeanMetaExtended.html#line.22">BeanMetaExtended</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">Defines extended language-specific metadata associated with a bean. + <p> - Serializers and parsers can implement their own language-specific metadata on a bean and retrieve - the metadata using the <a href="../../../org/apache/juneau/BeanMeta.html#getExtendedMeta-java.lang.Class-"><code>BeanMeta.getExtendedMeta(Class)</code></a> method.</div> + Serializers and parsers can implement their own language-specific metadata on a bean and retrieve the metadata using + the <a href="../../../org/apache/juneau/BeanMeta.html#getExtendedMeta-java.lang.Class-"><code>BeanMeta.getExtendedMeta(Class)</code></a> method.</div> </li> </ul> </div> @@ -189,7 +190,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>BeanMetaExtended</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/BeanMetaExtended.html#line.30">BeanMetaExtended</a>(<a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau">BeanMeta</a><?> bm) +<pre>public <a href="../../../src-html/org/apache/juneau/BeanMetaExtended.html#line.32">BeanMetaExtended</a>(<a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau">BeanMeta</a><?> bm) throws <a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau">BeanRuntimeException</a></pre> <div class="block">Constructor.</div> <dl> @@ -214,7 +215,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>getBeanMeta</h4> -<pre>protected <a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau">BeanMeta</a><?> <a href="../../../src-html/org/apache/juneau/BeanMetaExtended.html#line.38">getBeanMeta</a>()</pre> +<pre>protected <a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau">BeanMeta</a><?> <a href="../../../src-html/org/apache/juneau/BeanMetaExtended.html#line.41">getBeanMeta</a>()</pre> <div class="block">Returns the bean metadata that was passed into the constructor.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1b5bde65/content/site/apidocs/org/apache/juneau/BeanMetaFiltered.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/BeanMetaFiltered.html b/content/site/apidocs/org/apache/juneau/BeanMetaFiltered.html index 01cc42d..ce2c8c1 100644 --- a/content/site/apidocs/org/apache/juneau/BeanMetaFiltered.html +++ b/content/site/apidocs/org/apache/juneau/BeanMetaFiltered.html @@ -113,8 +113,8 @@ <br> <pre>public final class <a href="../../../src-html/org/apache/juneau/BeanMetaFiltered.html#line.25">BeanMetaFiltered</a><T> extends <a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau">BeanMeta</a><T></pre> -<div class="block">Sames as <a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau"><code>BeanMeta</code></a>, except the list of bean properties are limited - by a <a href="../../../org/apache/juneau/annotation/BeanProperty.html#properties--"><code>BeanProperty.properties()</code></a> annotation.</div> +<div class="block">Same as <a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau"><code>BeanMeta</code></a>, except the list of bean properties are limited by a <a href="../../../org/apache/juneau/annotation/BeanProperty.html#properties--"><code>BeanProperty.properties()</code></a> + annotation.</div> </li> </ul> </div> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1b5bde65/content/site/apidocs/org/apache/juneau/BeanPropertyMeta.Builder.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/BeanPropertyMeta.Builder.html b/content/site/apidocs/org/apache/juneau/BeanPropertyMeta.Builder.html index f95ca27..9758ed8 100644 --- a/content/site/apidocs/org/apache/juneau/BeanPropertyMeta.Builder.html +++ b/content/site/apidocs/org/apache/juneau/BeanPropertyMeta.Builder.html @@ -112,7 +112,7 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public static class <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.73">BeanPropertyMeta.Builder</a> +<pre>public static class <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.75">BeanPropertyMeta.Builder</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">BeanPropertyMeta builder class.</div> </li> @@ -187,7 +187,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>Builder</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.Builder.html#line.109">Builder</a>(<a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau">BeanMeta</a><?> beanMeta, +<pre>public <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.Builder.html#line.111">Builder</a>(<a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau">BeanMeta</a><?> beanMeta, <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> name, <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> overrideValue, <a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a> delegateFor)</pre> @@ -215,7 +215,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>build</h4> -<pre>public <a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a> <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.Builder.html#line.221">build</a>()</pre> +<pre>public <a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a> <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.Builder.html#line.223">build</a>()</pre> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>A new BeanPropertyMeta object using this builder.</dd> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1b5bde65/content/site/apidocs/org/apache/juneau/BeanPropertyMeta.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/BeanPropertyMeta.html b/content/site/apidocs/org/apache/juneau/BeanPropertyMeta.html index dfa8ec7..59b4f8b 100644 --- a/content/site/apidocs/org/apache/juneau/BeanPropertyMeta.html +++ b/content/site/apidocs/org/apache/juneau/BeanPropertyMeta.html @@ -108,15 +108,17 @@ var activeTableTab = "activeTableTab"; <li class="blockList"> <hr> <br> -<pre>public class <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.46">BeanPropertyMeta</a> +<pre>public class <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.48">BeanPropertyMeta</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">Contains metadata about a bean property. + <p> - Contains information such as type of property (e.g. field/getter/setter), class type of property value, - and whether any transforms are associated with this property. + Contains information such as type of property (e.g. field/getter/setter), class type of property value, and whether + any transforms are associated with this property. + <p> - Developers will typically not need access to this class. The information provided by it is already - exposed through several methods on the <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau"><code>BeanMap</code></a> API.</div> + Developers will typically not need access to this class. The information provided by it is already exposed through + several methods on the <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau"><code>BeanMap</code></a> API.</div> </li> </ul> </div> @@ -298,8 +300,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanPropertyMeta.html#set-org.apache.juneau.BeanMap-java.lang.String-java.lang.Object-">set</a></span>(<a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><?> m, <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> pName, <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)</code> -<div class="block">Equivalent to calling <a href="../../../org/apache/juneau/BeanMap.html#put-java.lang.String-java.lang.Object-"><code>BeanMap.put(String, Object)</code></a>, but is faster since it avoids - looking up the property meta.</div> +<div class="block">Equivalent to calling <a href="../../../org/apache/juneau/BeanMap.html#put-java.lang.String-java.lang.Object-"><code>BeanMap.put(String, Object)</code></a>, but is faster since it avoids looking up the property + meta.</div> </td> </tr> <tr id="i19" class="rowColor"> @@ -341,7 +343,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>BeanPropertyMeta</h4> -<pre>protected <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.266">BeanPropertyMeta</a>(<a href="../../../org/apache/juneau/BeanPropertyMeta.Builder.html" title="class in org.apache.juneau">BeanPropertyMeta.Builder</a> b)</pre> +<pre>protected <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.268">BeanPropertyMeta</a>(<a href="../../../org/apache/juneau/BeanPropertyMeta.Builder.html" title="class in org.apache.juneau">BeanPropertyMeta.Builder</a> b)</pre> <div class="block">Creates a new BeanPropertyMeta using the contents of the specified builder.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -363,7 +365,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getName</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/BeanPropertyMeta.html#line.290">getName</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/BeanPropertyMeta.html#line.292">getName</a>()</pre> <div class="block">Returns the name of this bean property.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -378,7 +380,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <li class="blockList"> <h4>getBeanMeta</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/BeanMeta.html" title="class in org.apache.juneau">BeanMeta</a><?> <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.300">getBeanMeta</a>()</pre> +public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau">BeanMeta</a><?> <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.302">getBeanMeta</a>()</pre> <div class="block">Returns the bean meta that this property belongs to.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -392,7 +394,7 @@ public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in o <ul class="blockList"> <li class="blockList"> <h4>getGetter</h4> -<pre>public <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/BeanPropertyMeta.html#line.309">getGetter</a>()</pre> +<pre>public <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/BeanPropertyMeta.html#line.311">getGetter</a>()</pre> <div class="block">Returns the getter method for this property.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -406,7 +408,7 @@ public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in o <ul class="blockList"> <li class="blockList"> <h4>getSetter</h4> -<pre>public <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/BeanPropertyMeta.html#line.318">getSetter</a>()</pre> +<pre>public <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/BeanPropertyMeta.html#line.320">getSetter</a>()</pre> <div class="block">Returns the setter method for this property.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -420,7 +422,7 @@ public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in o <ul class="blockList"> <li class="blockList"> <h4>getField</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a> <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.327">getField</a>()</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a> <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.329">getField</a>()</pre> <div class="block">Returns the field for this property.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -434,11 +436,12 @@ public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in o <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/BeanPropertyMeta.html#line.341">getClassMeta</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/BeanPropertyMeta.html#line.344">getClassMeta</a>()</pre> <div class="block">Returns the <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> of the class of this property. + <p> - If this property or the property type class has a <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> associated with it, this - method returns the transformed class meta. + If this property or the property type class has a <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> associated with it, this method returns the + transformed class meta. This matches the class type that is used by the <a href="../../../org/apache/juneau/BeanPropertyMeta.html#get-org.apache.juneau.BeanMap-java.lang.String-"><code>get(BeanMap,String)</code></a> and <a href="../../../org/apache/juneau/BeanPropertyMeta.html#set-org.apache.juneau.BeanMap-java.lang.String-java.lang.Object-"><code>set(BeanMap,String,Object)</code></a> methods.</div> <dl> @@ -453,8 +456,10 @@ public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in o <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/BeanPropertyMeta.html#line.354">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/BeanPropertyMeta.html#line.360">getBeanRegistry</a>()</pre> <div class="block">Returns the bean dictionary in use for this bean property. + + <p> The order of lookup for the dictionary is as follows: <ol> <li>Dictionary defined via <a href="../../../org/apache/juneau/annotation/BeanProperty.html#beanDictionary--"><code>BeanProperty.beanDictionary()</code></a>. @@ -472,11 +477,12 @@ public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in o <ul class="blockList"> <li class="blockList"> <h4>isUri</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.370">isUri</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.377">isUri</a>()</pre> <div class="block">Returns <jk>true</jk> if this bean property is a URI. + <p> A bean property can be considered a URI if any of the following are true: - <ul class='spaced-list'> + <ul> <li>Property class type is <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> or <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>. <li>Property class type is annotated with <a href="../../../org/apache/juneau/annotation/URI.html" title="annotation in org.apache.juneau.annotation"><code>URI</code></a>. <li>Property getter, setter, or field is annotated with <a href="../../../org/apache/juneau/annotation/URI.html" title="annotation in org.apache.juneau.annotation"><code>URI</code></a>. @@ -493,7 +499,7 @@ public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in o <ul class="blockList"> <li class="blockList"> <h4>isDyna</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.378">isDyna</a>()</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.386">isDyna</a>()</pre> <div class="block">Returns <jk>true</jk> if this bean property is named <js>"*"</js>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -507,7 +513,7 @@ public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in o <ul class="blockList"> <li class="blockList"> <h4>getProperties</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/BeanPropertyMeta.html#line.388">getProperties</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/BeanPropertyMeta.html#line.396">getProperties</a>()</pre> <div class="block">Returns the override list of properties defined through a <a href="../../../org/apache/juneau/annotation/BeanProperty.html#properties--"><code>BeanProperty.properties()</code></a> annotation on this property.</div> <dl> @@ -522,7 +528,7 @@ public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in o <ul class="blockList"> <li class="blockList"> <h4>getExtendedMeta</h4> -<pre>public <M extends <a href="../../../org/apache/juneau/BeanPropertyMetaExtended.html" title="class in org.apache.juneau">BeanPropertyMetaExtended</a>> M <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.398">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/BeanPropertyMetaExtended.html" title="class in org.apache.juneau">BeanPropertyMetaExtended</a>> M <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.406">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 bean property.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -538,7 +544,7 @@ public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in o <ul class="blockList"> <li class="blockList"> <h4>get</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.411">get</a>(<a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><?> m, +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.419">get</a>(<a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><?> m, <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> pName)</pre> <div class="block">Equivalent to calling <a href="../../../org/apache/juneau/BeanMap.html#get-java.lang.Object-"><code>BeanMap.get(Object)</code></a>, but is faster since it avoids looking up the property meta.</div> <dl> @@ -556,7 +562,7 @@ public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in o <ul class="blockList"> <li class="blockList"> <h4>getRaw</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.440">getRaw</a>(<a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><?> m, +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.448">getRaw</a>(<a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><?> m, <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> pName)</pre> <div class="block">Equivalent to calling <a href="../../../org/apache/juneau/BeanMap.html#getRaw-java.lang.Object-"><code>BeanMap.getRaw(Object)</code></a>, but is faster since it avoids looking up the property meta.</div> <dl> @@ -574,12 +580,12 @@ public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in o <ul class="blockList"> <li class="blockList"> <h4>set</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.503">set</a>(<a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><?> m, +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.511">set</a>(<a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><?> m, <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> pName, <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) throws <a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau">BeanRuntimeException</a></pre> -<div class="block">Equivalent to calling <a href="../../../org/apache/juneau/BeanMap.html#put-java.lang.String-java.lang.Object-"><code>BeanMap.put(String, Object)</code></a>, but is faster since it avoids - looking up the property meta.</div> +<div class="block">Equivalent to calling <a href="../../../org/apache/juneau/BeanMap.html#put-java.lang.String-java.lang.Object-"><code>BeanMap.put(String, Object)</code></a>, but is faster since it avoids looking up the property + meta.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>m</code> - The bean map to set the property value on.</dd> @@ -598,18 +604,21 @@ public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in o <ul class="blockList"> <li class="blockList"> <h4>getDynaMap</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/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.724">getDynaMap</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> bean) +<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/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.736">getDynaMap</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> bean) 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>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/InvocationTargetException.html?is-external=true" title="class or interface in java.lang.reflect">InvocationTargetException</a></pre> <div class="block">Returns the <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> object returned by the DynaBean getter. + <p> - The DynaBean property is the property whose name is <js>"*"</js> and returns a map of "extra" properties on the bean.</div> + The DynaBean property is the property whose name is <js>"*"</js> and returns a map of "extra" properties on the + bean.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>bean</code> - The bean.</dd> <dt><span class="returnLabel">Returns:</span></dt> -<dd>The map returned by the getter, or an empty map if the getter returned <jk>null</jk> or this isn't a DynaBean property.</dd> +<dd>The map returned by the getter, or an empty map if the getter returned <jk>null</jk> or this isn't a DynaBean + property.</dd> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code><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></code> - Thrown by method invocation.</dd> <dd><code><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></code> - Thrown by method invocation.</dd> @@ -623,12 +632,14 @@ public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in o <ul class="blockList"> <li class="blockList"> <h4>setArray</h4> -<pre>protected void <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.745">setArray</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> bean, +<pre>protected void <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.759">setArray</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> bean, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a> l) 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>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/InvocationTargetException.html?is-external=true" title="class or interface in java.lang.reflect">InvocationTargetException</a></pre> <div class="block">Sets an array field on this bean. + + <p> Works on both <code>Object</code> and primitive arrays.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -647,13 +658,15 @@ public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in o <ul class="blockList"> <li class="blockList"> <h4>add</h4> -<pre>public void <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.760">add</a>(<a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><?> m, +<pre>public void <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.776">add</a>(<a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><?> m, <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> pName, <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) throws <a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau">BeanRuntimeException</a></pre> <div class="block">Adds a value to a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> or array property. - Note that adding values to an array property is inefficient for large - arrays since it must copy the array into a larger array on each operation.</div> + + <p> + Note that adding values to an array property is inefficient for large arrays since it must copy the array into a + larger array on each operation.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>m</code> - The bean of the field being set.</dd> @@ -670,7 +683,7 @@ public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in o <ul class="blockList"> <li class="blockList"> <h4>add</h4> -<pre>public void <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.837">add</a>(<a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><?> m, +<pre>public void <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.853">add</a>(<a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><?> m, <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> pName, <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> key, <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) @@ -693,11 +706,12 @@ public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in o <ul class="blockList"> <li class="blockList"> <h4>findAnnotations</h4> -<pre>public <A extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>> <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><A> <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.914">findAnnotations</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> a)</pre> +<pre>public <A extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>> <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><A> <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.931">findAnnotations</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> a)</pre> <div class="block">Returns all instances of the specified annotation in the hierarchy of this bean property. + <p> - Searches through the class hierarchy (e.g. superclasses, interfaces, packages) for all - instances of the specified annotation.</div> + Searches through the class hierarchy (e.g. superclasses, interfaces, packages) for all instances of the + specified annotation.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>a</code> - The class to find annotations for.</dd> @@ -712,8 +726,9 @@ public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in o <ul class="blockList"> <li class="blockList"> <h4>getAnnotation</h4> -<pre>public <A extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>> A <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.942">getAnnotation</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> a)</pre> +<pre>public <A extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>> A <a href="../../../src-html/org/apache/juneau/BeanPropertyMeta.html#line.960">getAnnotation</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> a)</pre> <div class="block">Returns the specified annotation on the field or methods that define this property. + <p> This method will search up the parent class/interface hierarchy chain to search for the annotation on overridden getters and setters.</div> @@ -731,7 +746,7 @@ public <a href="../../../org/apache/juneau/BeanMeta.html" title="class in o <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/BeanPropertyMeta.html#line.1007">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/BeanPropertyMeta.html#line.1025">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/1b5bde65/content/site/apidocs/org/apache/juneau/BeanPropertyMetaExtended.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/BeanPropertyMetaExtended.html b/content/site/apidocs/org/apache/juneau/BeanPropertyMetaExtended.html index 26f8261..c58e780 100644 --- a/content/site/apidocs/org/apache/juneau/BeanPropertyMetaExtended.html +++ b/content/site/apidocs/org/apache/juneau/BeanPropertyMetaExtended.html @@ -112,9 +112,10 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public class <a href="../../../src-html/org/apache/juneau/BeanPropertyMetaExtended.html#line.21">BeanPropertyMetaExtended</a> +<pre>public class <a href="../../../src-html/org/apache/juneau/BeanPropertyMetaExtended.html#line.22">BeanPropertyMetaExtended</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">Defines extended language-specific metadata associated with a bean property. + <p> Serializers and parsers can implement their own language-specific metadata on a bean property and retrieve the metadata using the <a href="../../../org/apache/juneau/BeanPropertyMeta.html#getExtendedMeta-java.lang.Class-"><code>BeanPropertyMeta.getExtendedMeta(Class)</code></a> method.</div> @@ -189,7 +190,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>BeanPropertyMetaExtended</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/BeanPropertyMetaExtended.html#line.30">BeanPropertyMetaExtended</a>(<a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a> bpm) +<pre>public <a href="../../../src-html/org/apache/juneau/BeanPropertyMetaExtended.html#line.32">BeanPropertyMetaExtended</a>(<a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a> bpm) throws <a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau">BeanRuntimeException</a></pre> <div class="block">Constructor.</div> <dl> @@ -214,7 +215,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>getBeanPropertyMeta</h4> -<pre>protected <a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a> <a href="../../../src-html/org/apache/juneau/BeanPropertyMetaExtended.html#line.38">getBeanPropertyMeta</a>()</pre> +<pre>protected <a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a> <a href="../../../src-html/org/apache/juneau/BeanPropertyMetaExtended.html#line.41">getBeanPropertyMeta</a>()</pre> <div class="block">Returns the bean property metadata that was passed into the constructor.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1b5bde65/content/site/apidocs/org/apache/juneau/BeanPropertyValue.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/BeanPropertyValue.html b/content/site/apidocs/org/apache/juneau/BeanPropertyValue.html index 5533808..b73dd01 100644 --- a/content/site/apidocs/org/apache/juneau/BeanPropertyValue.html +++ b/content/site/apidocs/org/apache/juneau/BeanPropertyValue.html @@ -112,11 +112,10 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public class <a href="../../../src-html/org/apache/juneau/BeanPropertyValue.html#line.19">BeanPropertyValue</a> +<pre>public class <a href="../../../src-html/org/apache/juneau/BeanPropertyValue.html#line.18">BeanPropertyValue</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> implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../org/apache/juneau/BeanPropertyValue.html" title="class in org.apache.juneau">BeanPropertyValue</a>></pre> -<div class="block">Represents a simple bean property value and the meta-data associated with it. - <p></div> +<div class="block">Represents a simple bean property value and the meta-data associated with it.</div> </li> </ul> </div> @@ -223,7 +222,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl <ul class="blockListLast"> <li class="blockList"> <h4>BeanPropertyValue</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/BeanPropertyValue.html#line.34">BeanPropertyValue</a>(<a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a> pMeta, +<pre>public <a href="../../../src-html/org/apache/juneau/BeanPropertyValue.html#line.33">BeanPropertyValue</a>(<a href="../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a> pMeta, <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> name, <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/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> thrown)</pre> @@ -265,7 +264,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl <ul class="blockList"> <li class="blockList"> <h4>getClassMeta</h4> -<pre>public final <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> <a href="../../../src-html/org/apache/juneau/BeanPropertyValue.html#line.53">getClassMeta</a>()</pre> +<pre>public final <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> <a href="../../../src-html/org/apache/juneau/BeanPropertyValue.html#line.54">getClassMeta</a>()</pre> <div class="block">Returns the bean property metadata.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -279,7 +278,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl <ul class="blockList"> <li class="blockList"> <h4>getName</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/BeanPropertyValue.html#line.61">getName</a>()</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/BeanPropertyValue.html#line.63">getName</a>()</pre> <div class="block">Returns the bean property name.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -293,7 +292,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl <ul class="blockList"> <li class="blockList"> <h4>getValue</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/BeanPropertyValue.html#line.69">getValue</a>()</pre> +<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/BeanPropertyValue.html#line.72">getValue</a>()</pre> <div class="block">Returns the bean property value.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -307,7 +306,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl <ul class="blockList"> <li class="blockList"> <h4>getThrown</h4> -<pre>public final <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/BeanPropertyValue.html#line.77">getThrown</a>()</pre> +<pre>public final <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/BeanPropertyValue.html#line.81">getThrown</a>()</pre> <div class="block">Returns the exception thrown by calling the property getter.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -321,7 +320,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl <ul class="blockList"> <li class="blockList"> <h4>compareTo</h4> -<pre>public int <a href="../../../src-html/org/apache/juneau/BeanPropertyValue.html#line.82">compareTo</a>(<a href="../../../org/apache/juneau/BeanPropertyValue.html" title="class in org.apache.juneau">BeanPropertyValue</a> o)</pre> +<pre>public int <a href="../../../src-html/org/apache/juneau/BeanPropertyValue.html#line.86">compareTo</a>(<a href="../../../org/apache/juneau/BeanPropertyValue.html" title="class in org.apache.juneau">BeanPropertyValue</a> o)</pre> <dl> <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true#compareTo-T-" title="class or interface in java.lang">compareTo</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../org/apache/juneau/BeanPropertyValue.html" title="class in org.apache.juneau">BeanPropertyValue</a>></code></dd> @@ -334,7 +333,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl <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/BeanPropertyValue.html#line.87">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/BeanPropertyValue.html#line.91">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/1b5bde65/content/site/apidocs/org/apache/juneau/BeanProxyInvocationHandler.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/BeanProxyInvocationHandler.html b/content/site/apidocs/org/apache/juneau/BeanProxyInvocationHandler.html index 7833784..a9cc4e3 100644 --- a/content/site/apidocs/org/apache/juneau/BeanProxyInvocationHandler.html +++ b/content/site/apidocs/org/apache/juneau/BeanProxyInvocationHandler.html @@ -116,13 +116,14 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public class <a href="../../../src-html/org/apache/juneau/BeanProxyInvocationHandler.html#line.28">BeanProxyInvocationHandler</a><T> +<pre>public class <a href="../../../src-html/org/apache/juneau/BeanProxyInvocationHandler.html#line.29">BeanProxyInvocationHandler</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/InvocationHandler.html?is-external=true" title="class or interface in java.lang.reflect">InvocationHandler</a></pre> <div class="block">Provides an <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"><code>InvocationHandler</code></a> for creating beans from bean interfaces. + <p> - If the <code>useInterfaceProxies</code> setting is enabled in <a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau"><code>BeanContext</code></a>, this - is the class that creates instances of beans from interfaces.</div> + If the <code>useInterfaceProxies</code> setting is enabled in <a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau"><code>BeanContext</code></a>, this is the class that creates + instances of beans from interfaces.</div> </li> </ul> </div> @@ -196,7 +197,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/I <ul class="blockListLast"> <li class="blockList"> <h4>BeanProxyInvocationHandler</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/BeanProxyInvocationHandler.html#line.38">BeanProxyInvocationHandler</a>(<a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau">BeanMeta</a><<a href="../../../org/apache/juneau/BeanProxyInvocationHandler.html" title="type parameter in BeanProxyInvocationHandler">T</a>> meta)</pre> +<pre>public <a href="../../../src-html/org/apache/juneau/BeanProxyInvocationHandler.html#line.39">BeanProxyInvocationHandler</a>(<a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau">BeanMeta</a><<a href="../../../org/apache/juneau/BeanProxyInvocationHandler.html" title="type parameter in BeanProxyInvocationHandler">T</a>> meta)</pre> <div class="block">Constructs with the specified <a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau"><code>BeanMeta</code></a>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -218,7 +219,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/I <ul class="blockListLast"> <li class="blockList"> <h4>invoke</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/BeanProxyInvocationHandler.html#line.47">invoke</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> proxy, +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/BeanProxyInvocationHandler.html#line.48">invoke</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> proxy, <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> method, <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>[] args)</pre> <div class="block">Implemented to handle the method called.</div> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1b5bde65/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 d5181b6..d7591ef 100644 --- a/content/site/apidocs/org/apache/juneau/BeanRegistry.html +++ b/content/site/apidocs/org/apache/juneau/BeanRegistry.html @@ -108,13 +108,16 @@ var activeTableTab = "activeTableTab"; <li class="blockList"> <hr> <br> -<pre>public class <a href="../../../src-html/org/apache/juneau/BeanRegistry.html#line.39">BeanRegistry</a> +<pre>public class <a href="../../../src-html/org/apache/juneau/BeanRegistry.html#line.42">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> In a nutshell, provides a simple mapping of bean class objects to identifying names. + <p> Class names are defined through the <a href="../../../org/apache/juneau/annotation/Bean.html#typeName--"><code>Bean.typeName()</code></a> annotation. + <p> The dictionary is used by the framework in the following ways: <ul> @@ -191,12 +194,12 @@ 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.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> +<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.127">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> <dd><code>typeName</code> - The bean type name as defined by <a href="../../../org/apache/juneau/annotation/Bean.html#typeName--"><code>Bean.typeName()</code></a>. - Can include multi-dimensional array type names (e.g. <js>"X^^"</js>).</dd> + Can include multi-dimensional array type names (e.g. <js>"X^^"</js>).</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>The class metadata for the bean.</dd> </dl> @@ -208,7 +211,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.148">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.152">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> @@ -224,7 +227,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.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> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/BeanRegistry.html#line.164">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> @@ -240,7 +243,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.165">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.169">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>
