http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/afa6a1d0/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 2b6ae36..5d584bc 100644 --- a/content/site/apidocs/org/apache/juneau/BeanMeta.html +++ b/content/site/apidocs/org/apache/juneau/BeanMeta.html @@ -120,7 +120,7 @@ var activeTableTab = "activeTableTab"; 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>). - <h6 class='topic'>Description</h6> + <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,
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/afa6a1d0/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 4422a48..62e7b0b 100644 --- a/content/site/apidocs/org/apache/juneau/BeanRegistry.html +++ b/content/site/apidocs/org/apache/juneau/BeanRegistry.html @@ -186,7 +186,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>cast</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/BeanRegistry.html#line.95">cast</a>(<a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> m)</pre> +<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/BeanRegistry.html#line.113">cast</a>(<a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> m)</pre> <div class="block">Converts the specified object map into a bean if it contains a <js>"_type"</js> entry in it.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -202,7 +202,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getClassMeta</h4> -<pre>public <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> <a href="../../../src-html/org/apache/juneau/BeanRegistry.html#line.126">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.144">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> @@ -219,7 +219,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>hasName</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/BeanRegistry.html#line.150">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.168">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> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/afa6a1d0/content/site/apidocs/org/apache/juneau/BeanSession.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/BeanSession.html b/content/site/apidocs/org/apache/juneau/BeanSession.html index 22cbbd0..b84bf50 100644 --- a/content/site/apidocs/org/apache/juneau/BeanSession.html +++ b/content/site/apidocs/org/apache/juneau/BeanSession.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -247,105 +247,80 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap </tr> <tr id="i12" class="altColor"> <td class="colFirst"><code><T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#getClassMeta-java.lang.Object...-">getClassMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... c)</code> -<div class="block">Returns a <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> wrapper around a <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 <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> class.</div> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#getClassMeta-java.lang.reflect.Type-java.lang.reflect.Type...-">getClassMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)</code> +<div class="block">Used to resolve <code>ClassMetas</code> of type <code>Collection</code> and <code>Map</code> that have + <code>ClassMeta</code> values that themselves could be collections or maps.</div> </td> </tr> <tr id="i13" class="rowColor"> <td class="colFirst"><code><T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#getClassMeta-java.lang.Object-">getClassMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> c)</code> -<div class="block">Returns a <code>ClassMeta</code> wrapper around a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> or <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect"><code>Type</code></a> object.</div> -</td> -</tr> -<tr id="i14" class="altColor"> -<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/BeanSession.html#getClassMeta-java.lang.reflect.Type-">getClassMeta</a></span>(<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> o)</code> -<div class="block">Constructs a ClassMeta object given the specified object and parameters.</div> -</td> -</tr> -<tr id="i15" class="rowColor"> -<td class="colFirst"><code><T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#getClassMetaForObject-T-">getClassMetaForObject</a></span>(T o)</code> <div class="block">Shortcut for calling <code>getClassMeta(o.getClass())</code>.</div> </td> </tr> -<tr id="i16" class="altColor"> +<tr id="i14" class="altColor"> <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/BeanSession.html#getClassMetas-java.lang.Class:A-">getClassMetas</a></span>(<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><?>[] classes)</code> <div class="block">Given an array of <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> objects, returns an array of corresponding <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> objects.</div> </td> </tr> -<tr id="i17" class="rowColor"> -<td class="colFirst"><code><E,T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><E>><br><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#getCollectionClassMeta-java.lang.Class-java.lang.Class-">getCollectionClassMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, - <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><E> elementType)</code> -<div class="block">Convenience method for creating 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> class meta.</div> -</td> -</tr> -<tr id="i18" class="altColor"> +<tr id="i15" class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#getLocale--">getLocale</a></span>()</code> <div class="block">Returns the locale defined on this session.</div> </td> </tr> -<tr id="i19" class="rowColor"> -<td class="colFirst"><code><K,V,T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V>><br><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#getMapClassMeta-java.lang.Class-java.lang.Class-java.lang.Class-">getMapClassMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, - <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><K> keyType, - <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><V> valueType)</code> -<div class="block">Convenience method for creating a <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> class meta.</div> -</td> -</tr> -<tr id="i20" class="altColor"> +<tr id="i16" class="altColor"> <td class="colFirst"><code><a href="../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#getMediaType--">getMediaType</a></span>()</code> <div class="block">Returns the media type specified for this session.</div> </td> </tr> -<tr id="i21" class="rowColor"> +<tr id="i17" class="rowColor"> <td class="colFirst"><code><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></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#getStringBuilder--">getStringBuilder</a></span>()</code> <div class="block">Creates a reusable <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang"><code>StringBuilder</code></a> object from an internal pool.</div> </td> </tr> -<tr id="i22" class="altColor"> +<tr id="i18" class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#getTimeZone--">getTimeZone</a></span>()</code> <div class="block">Returns the timezone defined on this session.</div> </td> </tr> -<tr id="i23" class="rowColor"> +<tr id="i19" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#isBean-java.lang.Class-">isBean</a></span>(<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)</code> <div class="block">Determines whether the specified class matches the requirements on this context of being a bean.</div> </td> </tr> -<tr id="i24" class="altColor"> +<tr id="i20" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#isBean-java.lang.Object-">isBean</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> <div class="block">Determines whether the specified object matches the requirements on this context of being a bean.</div> </td> </tr> -<tr id="i25" class="rowColor"> +<tr id="i21" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#isDebug--">isDebug</a></span>()</code> <div class="block">Returns the <a href="../../../org/apache/juneau/BeanContext.html#BEAN_debug"><code>BeanContext.BEAN_debug</code></a> setting value for this session.</div> </td> </tr> -<tr id="i26" class="altColor"> +<tr id="i22" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#isIgnoreUnknownBeanProperties--">isIgnoreUnknownBeanProperties</a></span>()</code> <div class="block">Bean property getter: <property>ignoreUnknownBeanProperties</property>.</div> </td> </tr> -<tr id="i27" class="rowColor"> +<tr id="i23" class="rowColor"> <td class="colFirst"><code><T> T</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#newBean-java.lang.Class-">newBean</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</code> <div class="block">Creates a new empty bean of the specified type, except used for instantiating inner member classes that must be instantiated within another class instance.</div> </td> </tr> -<tr id="i28" class="altColor"> +<tr id="i24" class="altColor"> <td class="colFirst"><code><T> T</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#newBean-java.lang.Object-java.lang.Class-">newBean</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> outer, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</code> @@ -353,13 +328,13 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap be instantiated within another class instance.</div> </td> </tr> -<tr id="i29" class="rowColor"> +<tr id="i25" class="rowColor"> <td class="colFirst"><code><T> <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><T></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#newBeanMap-java.lang.Class-">newBeanMap</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</code> <div class="block">Creates a new <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau"><code>BeanMap</code></a> object (i.e.</div> </td> </tr> -<tr id="i30" class="altColor"> +<tr id="i26" class="altColor"> <td class="colFirst"><code><T> <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><T></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#newBeanMap-java.lang.Object-java.lang.Class-">newBeanMap</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> outer, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</code> @@ -367,45 +342,38 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap be instantiated within another class instance.</div> </td> </tr> -<tr id="i31" class="rowColor"> -<td class="colFirst"><code><T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#normalizeClassMeta-org.apache.juneau.ClassMeta-">normalizeClassMeta</a></span>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> cm)</code> -<div class="block">Returns the class type bound to this bean context if the specified class type - is from another bean context.</div> -</td> -</tr> -<tr id="i32" class="altColor"> +<tr id="i27" class="rowColor"> <td class="colFirst"><code><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#object--">object</a></span>()</code> <div class="block">Returns a reusable <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> representation for the class <code>Object</code>.</div> </td> </tr> -<tr id="i33" class="rowColor"> +<tr id="i28" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#returnStringBuilder-java.lang.StringBuilder-">returnStringBuilder</a></span>(<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)</code> <div class="block">Returns a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang"><code>StringBuilder</code></a> object back into the internal reuse pool.</div> </td> </tr> -<tr id="i34" class="altColor"> +<tr id="i29" class="rowColor"> <td class="colFirst"><code><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#string--">string</a></span>()</code> <div class="block">Returns a reusable <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> representation for the class <code>String</code>.</div> </td> </tr> -<tr id="i35" class="rowColor"> +<tr id="i30" class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#toArray-org.apache.juneau.ClassMeta-java.util.Collection-">toArray</a></span>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> type, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><?> list)</code> <div class="block">Converts the contents of the specified list into an array.</div> </td> </tr> -<tr id="i36" class="altColor"> +<tr id="i31" class="rowColor"> <td class="colFirst"><code><T> <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><T></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#toBeanMap-T-">toBeanMap</a></span>(T o)</code> <div class="block">Wraps an object inside a <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau"><code>BeanMap</code></a> object (i.e.</div> </td> </tr> -<tr id="i37" class="rowColor"> +<tr id="i32" class="altColor"> <td class="colFirst"><code><T> <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><T></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#toBeanMap-T-java.lang.Class-">toBeanMap</a></span>(T o, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? super T> c)</code> @@ -810,7 +778,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <p> If object is not a true bean, then throws a <a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau"><code>BeanRuntimeException</code></a> with an explanation of why it's not a bean. - <h6 class='topic'>Example:</h6> + <h5 class='section'>Example:</h5> <p class='bcode'> <jc>// Construct a bean map around a bean instance</jc> BeanMap<Person> bm = BeanContext.<jsf>DEFAULT</jsf>.forBean(<jk>new</jk> Person()); @@ -873,7 +841,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <p> If object is not a true bean, throws a <a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau"><code>BeanRuntimeException</code></a> with an explanation of why it's not a bean. - <h6 class='topic'>Example:</h6> + <h5 class='section'>Example:</h5> <p class='bcode'> <jc>// Construct a bean map for new bean using only properties defined in a superclass</jc> BeanMap<MySubBean> bm = BeanContext.<jsf>DEFAULT</jsf>.forBean(<jk>new</jk> MySubBean(), MySuperBean.<jk>class</jk>); @@ -908,7 +876,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <p> If object is not a true bean, then throws a <a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau"><code>BeanRuntimeException</code></a> with an explanation of why it's not a bean. - <h6 class='topic'>Example:</h6> + <h5 class='section'>Example:</h5> <p class='bcode'> <jc>// Construct a new bean map wrapped around a new Person object</jc> BeanMap<Person> bm = BeanContext.<jsf>DEFAULT</jsf>.newBeanMap(Person.<jk>class</jk>); @@ -956,7 +924,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <div class="block">Creates a new empty bean of the specified type, except used for instantiating inner member classes that must be instantiated within another class instance. - <h6 class='topic'>Example:</h6> + <h5 class='section'>Example:</h5> <p class='bcode'> <jc>// Construct a new instance of the specified bean class</jc> Person p = BeanContext.<jsf>DEFAULT</jsf>.newBean(Person.<jk>class</jk>); @@ -1017,37 +985,13 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap </dl> </li> </ul> -<a name="normalizeClassMeta-org.apache.juneau.ClassMeta-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>normalizeClassMeta</h4> -<pre>public final <T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.812">normalizeClassMeta</a>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> cm)</pre> -<div class="block">Returns the class type bound to this bean context if the specified class type - is from another bean context. - <p> - For example, this method allows you to pass in an object from <code>BeanContext.<jsf>DEFAULT</jsf>.getMapClassMeta(...)</code> - to any of the <code>ReaderParser.parse(Reader, ClassMeta, ParserContext)</code> methods, and the parsers - will use this method to replace the class type with the one registered with the parser. - This ensures that registered transforms are applied correctly.</div> -<dl> -<dt><span class="paramLabel">Type Parameters:</span></dt> -<dd><code>T</code> - The class type.</dd> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>cm</code> - The class type.</dd> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>The class type bound by this bean context.</dd> -</dl> -</li> -</ul> <a name="getClassMeta-java.lang.Class-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getClassMeta</h4> -<pre>public final <T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.823">getClassMeta</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</pre> +<pre>public final <T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.806">getClassMeta</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</pre> <div class="block">Returns a <code>ClassMeta</code> wrapper around a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> object.</div> <dl> <dt><span class="paramLabel">Type Parameters:</span></dt> @@ -1059,119 +1003,43 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap </dl> </li> </ul> -<a name="getClassMeta-java.lang.Object-"> +<a name="getClassMeta-java.lang.reflect.Type-java.lang.reflect.Type...-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getClassMeta</h4> -<pre>public final <T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.834">getClassMeta</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> c)</pre> -<div class="block">Returns a <code>ClassMeta</code> wrapper around a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> or <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect"><code>Type</code></a> object.</div> -<dl> -<dt><span class="paramLabel">Type Parameters:</span></dt> -<dd><code>T</code> - The class type being wrapped.</dd> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>c</code> - The class being wrapped.</dd> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>The class meta object containing information about the class.</dd> -</dl> -</li> -</ul> -<a name="getClassMeta-java.lang.Object...-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getClassMeta</h4> -<pre>public final <T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.852">getClassMeta</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>... c)</pre> -<div class="block">Returns a <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> wrapper around a <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 <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> class. +<pre>public final <T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.839">getClassMeta</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)</pre> +<div class="block">Used to resolve <code>ClassMetas</code> of type <code>Collection</code> and <code>Map</code> that have + <code>ClassMeta</code> values that themselves could be collections or maps. <p> - Handles the following object arrays: - <ul> - <li><code>Object[2]</code> containing <code>{Class<? extends Collection>, Object}</code> - where the 2nd entry is the entry type which can be a Class/Type or another array. - <li><code>Object[3]</code> containing <code>{Class<? extends Map>, Object, Object}</code> - where the 2nd entry is the key type which can be a Class/Type and 3rd entry is the value type which can be a Class/Type or another array. - </ul></div> -<dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>c</code> - The object array being resolved.</dd> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>The class meta object containing information about the class.</dd> -</dl> -</li> -</ul> -<a name="getMapClassMeta-java.lang.Class-java.lang.Class-java.lang.Class-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getMapClassMeta</h4> -<pre>public final <K,V,T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V>> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.870">getMapClassMeta</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, - <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><K> keyType, - <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><V> valueType)</pre> -<div class="block">Convenience method for creating a <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> class meta. + <code>Collection</code> meta objects are assumed to be followed by zero or one meta objects indicating the element type. <p> - Equivalent to calling <code>getClassMeta(c, keyType, valueType)</code>.</div> -<dl> -<dt><span class="paramLabel">Type Parameters:</span></dt> -<dd><code>K</code> - The map key class type.</dd> -<dd><code>V</code> - The map value class type.</dd> -<dd><code>T</code> - The map class type.</dd> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>c</code> - The map class type.</dd> -<dd><code>keyType</code> - The map key class type.</dd> -<dd><code>valueType</code> - The map value class type.</dd> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>If the key and value types are Object, returns a cached <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> object.<br> - Otherwise, returns a new <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> object every time.</dd> -</dl> -</li> -</ul> -<a name="getCollectionClassMeta-java.lang.Class-java.lang.Class-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getCollectionClassMeta</h4> -<pre>public final <E,T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><E>> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.886">getCollectionClassMeta</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, - <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><E> elementType)</pre> -<div class="block">Convenience method for creating 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> class meta. + <code>Map</code> meta objects are assumed to be followed by zero or two meta objects indicating the key and value types. <p> - Equivalent to calling <code>getClassMeta(c, keyType, valueType)</code>.</div> -<dl> -<dt><span class="paramLabel">Type Parameters:</span></dt> -<dd><code>E</code> - The collection element class type.</dd> -<dd><code>T</code> - The collection class type.</dd> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>c</code> - The collection class type.</dd> -<dd><code>elementType</code> - The collection element class type.</dd> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>If the element type is <code>OBJECT</code>, returns a cached <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> object.<br> - Otherwise, returns a new <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> object every time.</dd> -</dl> -</li> -</ul> -<a name="getClassMeta-java.lang.reflect.Type-"> -<!-- --> -</a> -<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/BeanSession.html#line.903">getClassMeta</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> o)</pre> -<div class="block">Constructs a ClassMeta object given the specified object and parameters.</div> + The array can be arbitrarily long to indicate arbitrarily complex data structures. + + <h5 class='section'>Examples:</h5> + <ul> + <li><code>getClassMeta(String.<jk>class</jk>);</code> - A normal type. + <li><code>getClassMeta(List.<jk>class</jk>);</code> - A list containing objects. + <li><code>getClassMeta(List.<jk>class</jk>, String.<jk>class</jk>);</code> - A list containing strings. + <li><code>getClassMeta(LinkedList.<jk>class</jk>, String.<jk>class</jk>);</code> - A linked-list containing strings. + <li><code>getClassMeta(LinkedList.<jk>class</jk>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);</code> - A linked-list containing linked-lists of strings. + <li><code>getClassMeta(Map.<jk>class</jk>);</code> - A map containing object keys/values. + <li><code>getClassMeta(Map.<jk>class</jk>, String.<jk>class</jk>, String.<jk>class</jk>);</code> - A map containing string keys/values. + <li><code>getClassMeta(Map.<jk>class</jk>, String.<jk>class</jk>, List.<jk>class</jk>, MyBean.<jk>class</jk>);</code> - A map containing string keys and values of lists containing beans. + </ul></div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>o</code> - The parent class type. - Can be any of the following types: - <ul class='spaced-list'> - <li><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> object, which just returns the same object. - <li><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 (e.g. <code>String.<jk>class</jk></code>). - <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect"><code>Type</code></a> object (e.g. <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a> or <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a>. - <li>Anything else is interpreted as <code>getClassMeta(o.getClass(), parameters);</code> - </ul></dd> +<dd><code>type</code> - The class to resolve. + <br>Can be any of the following: <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a></dd> +<dd><code>args</code> - The type arguments of the class if it's a collection or map. + <br>Can be any of the following: <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a> + <br>Ignored if the main type is not a map or collection.</dd> <dt><span class="returnLabel">Returns:</span></dt> -<dd>A ClassMeta object, or <jk>null</jk> if the object is null.</dd> +<dd>The class meta.</dd> </dl> </li> </ul> @@ -1181,7 +1049,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>getClassMetas</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/BeanSession.html#line.914">getClassMetas</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><?>[] classes)</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/BeanSession.html#line.850">getClassMetas</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><?>[] classes)</pre> <div class="block">Given an array of <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> objects, returns an array of corresponding <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> objects. Constructs a new array on each call.</div> <dl> @@ -1200,7 +1068,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>getClassMetaForObject</h4> -<pre>public final <T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.929">getClassMetaForObject</a>(T o)</pre> +<pre>public final <T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.865">getClassMetaForObject</a>(T o)</pre> <div class="block">Shortcut for calling <code>getClassMeta(o.getClass())</code>.</div> <dl> <dt><span class="paramLabel">Type Parameters:</span></dt> @@ -1218,7 +1086,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>getBeanTypePropertyName</h4> -<pre>public final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.940">getBeanTypePropertyName</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/BeanSession.html#line.876">getBeanTypePropertyName</a>()</pre> <div class="block">Returns the type property name as defined by <a href="../../../org/apache/juneau/BeanContext.html#BEAN_beanTypePropertyName"><code>BeanContext.BEAN_beanTypePropertyName</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1232,7 +1100,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>getBeanRegistry</h4> -<pre>public final <a href="../../../org/apache/juneau/BeanRegistry.html" title="class in org.apache.juneau">BeanRegistry</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.949">getBeanRegistry</a>()</pre> +<pre>public final <a href="../../../org/apache/juneau/BeanRegistry.html" title="class in org.apache.juneau">BeanRegistry</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.885">getBeanRegistry</a>()</pre> <div class="block">Returns the bean registry defined in this bean context defined by <a href="../../../org/apache/juneau/BeanContext.html#BEAN_beanDictionary"><code>BeanContext.BEAN_beanDictionary</code></a>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1246,7 +1114,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>getStringBuilder</h4> -<pre>public final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.960">getStringBuilder</a>()</pre> +<pre>public final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.896">getStringBuilder</a>()</pre> <div class="block">Creates a reusable <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang"><code>StringBuilder</code></a> object from an internal pool. <p> String builders are returned to the pool by calling <a href="../../../org/apache/juneau/BeanSession.html#returnStringBuilder-java.lang.StringBuilder-"><code>returnStringBuilder(StringBuilder)</code></a>.</div> @@ -1262,7 +1130,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>returnStringBuilder</h4> -<pre>public final void <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.971">returnStringBuilder</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> sb)</pre> +<pre>public final void <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.907">returnStringBuilder</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> sb)</pre> <div class="block">Returns a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang"><code>StringBuilder</code></a> object back into the internal reuse pool.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1276,7 +1144,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>object</h4> -<pre>public final <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.989">object</a>()</pre> +<pre>public final <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.925">object</a>()</pre> <div class="block">Returns a reusable <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> representation for the class <code>Object</code>. <p> This <code>ClassMeta</code> is often used to represent "any object type" when an object type @@ -1296,7 +1164,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>string</h4> -<pre>public final <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1003">string</a>()</pre> +<pre>public final <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.939">string</a>()</pre> <div class="block">Returns a reusable <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> representation for the class <code>String</code>. <p> This <code>ClassMeta</code> is often used to represent key types in maps. @@ -1315,7 +1183,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>_class</h4> -<pre>public final <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1017">_class</a>()</pre> +<pre>public final <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.953">_class</a>()</pre> <div class="block">Returns a reusable <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> representation for the class <code>Class</code>. <p> This <code>ClassMeta</code> is often used to represent key types in maps. @@ -1334,7 +1202,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>getClassLoader</h4> -<pre>public final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1026">getClassLoader</a>()</pre> +<pre>public final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.962">getClassLoader</a>()</pre> <div class="block">Returns the classloader associated with this bean context.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1348,7 +1216,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>getMediaType</h4> -<pre>public final <a href="../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1037">getMediaType</a>()</pre> +<pre>public final <a href="../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.973">getMediaType</a>()</pre> <div class="block">Returns the media type specified for this session. <p> For example, <js>"application/json"</js>.</div> @@ -1364,7 +1232,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>asMap</h4> -<pre>public final <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1042">asMap</a>()</pre> +<pre>public final <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.978">asMap</a>()</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../org/apache/juneau/Session.html#asMap--">Session</a></code></span></div> <div class="block">Returns the properties defined on this bean context as a simple map for debugging purposes.</div> <dl> @@ -1381,7 +1249,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class in org.ap <ul class="blockListLast"> <li class="blockList"> <h4>close</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1052">close</a>() +<pre>public boolean <a href="../../../src-html/org/apache/juneau/BeanSession.html#line.988">close</a>() throws <a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau">BeanRuntimeException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../org/apache/juneau/Session.html#close--">Session</a></code></span></div> <div class="block">Perform cleanup on this context object if necessary.</div> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/afa6a1d0/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 ebdfbf4..33e486c 100644 --- a/content/site/apidocs/org/apache/juneau/ClassMeta.html +++ b/content/site/apidocs/org/apache/juneau/ClassMeta.html @@ -191,7 +191,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T </tr> <tr id="i6" class="altColor"> <td class="colFirst"><code>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></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#findNoArgConstructor-java.lang.Class-org.apache.juneau.Visibility-">findNoArgConstructor</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#findNoArgConstructor-java.lang.Class-org.apache.juneau.Visibility-">findNoArgConstructor</a></span>(<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)</code> <div class="block">Locates the no-arg constructor for the specified class.</div> </td> @@ -775,7 +775,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.742">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><T> 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.742">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. Constructor must match the visibility requirements specified by parameter 'v'. http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/afa6a1d0/content/site/apidocs/org/apache/juneau/CoreApi.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/CoreApi.html b/content/site/apidocs/org/apache/juneau/CoreApi.html index 78de3ba..9ae3f4f 100644 --- a/content/site/apidocs/org/apache/juneau/CoreApi.html +++ b/content/site/apidocs/org/apache/juneau/CoreApi.html @@ -125,7 +125,7 @@ var activeTableTab = "activeTableTab"; extends <a href="../../../org/apache/juneau/Lockable.html" title="class in org.apache.juneau">Lockable</a></pre> <div class="block">Common super class for all core-API serializers, parsers, and serializer/parser groups. - <h6 class='topic'>Description</h6> + <h5 class='section'>Description:</h5> <p> Maintains an inner <a href="../../../org/apache/juneau/ContextFactory.html" title="class in org.apache.juneau"><code>ContextFactory</code></a> instance that can be used by serializer and parser subclasses to work with beans in a consistent way. http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/afa6a1d0/content/site/apidocs/org/apache/juneau/FormattedException.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/FormattedException.html b/content/site/apidocs/org/apache/juneau/FormattedException.html index 33513f3..c89150d 100644 --- a/content/site/apidocs/org/apache/juneau/FormattedException.html +++ b/content/site/apidocs/org/apache/juneau/FormattedException.html @@ -211,7 +211,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.ht <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>message</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style message.</dd> -<dd><code>args</code> - The arguments in the message.</dd> +<dd><code>args</code> - Optional <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style arguments.</dd> </dl> </li> </ul> @@ -229,7 +229,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.ht <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>causedBy</code> - The cause of this exception.</dd> <dd><code>message</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style message.</dd> -<dd><code>args</code> - The arguments in the message.</dd> +<dd><code>args</code> - Optional <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style arguments.</dd> </dl> </li> </ul> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/afa6a1d0/content/site/apidocs/org/apache/juneau/FormattedRuntimeException.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/FormattedRuntimeException.html b/content/site/apidocs/org/apache/juneau/FormattedRuntimeException.html index 2cf3ec2..e00ef02 100644 --- a/content/site/apidocs/org/apache/juneau/FormattedRuntimeException.html +++ b/content/site/apidocs/org/apache/juneau/FormattedRuntimeException.html @@ -211,7 +211,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeExcep <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>message</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style message.</dd> -<dd><code>args</code> - The arguments in the message.</dd> +<dd><code>args</code> - Optional <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style arguments.</dd> </dl> </li> </ul> @@ -229,7 +229,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeExcep <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>causedBy</code> - The cause of this exception.</dd> <dd><code>message</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style message.</dd> -<dd><code>args</code> - The arguments in the message.</dd> +<dd><code>args</code> - Optional <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style arguments.</dd> </dl> </li> </ul> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/afa6a1d0/content/site/apidocs/org/apache/juneau/MediaRange.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/MediaRange.html b/content/site/apidocs/org/apache/juneau/MediaRange.html index a5091f3..1f9538c 100644 --- a/content/site/apidocs/org/apache/juneau/MediaRange.html +++ b/content/site/apidocs/org/apache/juneau/MediaRange.html @@ -228,7 +228,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl <pre>public <a href="../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a> <a href="../../../src-html/org/apache/juneau/MediaRange.html#line.121">getMediaType</a>()</pre> <div class="block">Returns the media type enclosed by this media range. - <h6 class='topic'>Examples:</h6> + <h5 class='section'>Examples:</h5> <ul> <li><js>"text/html"</js> <li><js>"text/*"</js> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/afa6a1d0/content/site/apidocs/org/apache/juneau/MediaType.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/MediaType.html b/content/site/apidocs/org/apache/juneau/MediaType.html index a5276af..e3a0bb7 100644 --- a/content/site/apidocs/org/apache/juneau/MediaType.html +++ b/content/site/apidocs/org/apache/juneau/MediaType.html @@ -442,21 +442,23 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>forString</h4> -<pre>public static <a href="../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a> <a href="../../../src-html/org/apache/juneau/MediaType.html#line.70">forString</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> s)</pre> +<pre>public static <a href="../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a> <a href="../../../src-html/org/apache/juneau/MediaType.html#line.72">forString</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> s)</pre> <div class="block">Returns the media type for the specified string. The same media type strings always return the same objects so that these objects can be compared for equality using '=='. <p> - Note: Spaces are replaced with <js>'+'</js> characters. - This gets around the issue where passing media type strings with <js>'+'</js> as HTTP GET parameters - get replaced with spaces by your browser. Since spaces aren't supported by the spec, this - is doesn't break anything. - <p> - Anything including and following the <js>';'</js> character is ignored (e.g. <js>";charset=X"</js>).</div> + <h5 class='section'>Notes:</h5> + <ul> + <li>Spaces are replaced with <js>'+'</js> characters. + This gets around the issue where passing media type strings with <js>'+'</js> as HTTP GET parameters + get replaced with spaces by your browser. Since spaces aren't supported by the spec, this + is doesn't break anything. + <li>Anything including and following the <js>';'</js> character is ignored (e.g. <js>";charset=X"</js>). + </ul></div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>s</code> - - The media type string. Will be lowercased. - Returns <jk>null</jk> if input is null.</dd> + <br>Returns <jk>null</jk> if input is null.</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>A cached media type object.</dd> </dl> @@ -468,7 +470,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getType</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/MediaType.html#line.104">getType</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/MediaType.html#line.106">getType</a>()</pre> <div class="block">Returns the <js>'type'</js> fragment of the <js>'type/subType'</js> string.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -482,7 +484,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getSubType</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/MediaType.html#line.113">getSubType</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/MediaType.html#line.115">getSubType</a>()</pre> <div class="block">Returns the <js>'subType'</js> fragment of the <js>'type/subType'</js> string.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -496,7 +498,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>matches</h4> -<pre>public final boolean <a href="../../../src-html/org/apache/juneau/MediaType.html#line.131">matches</a>(<a href="../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a> o)</pre> +<pre>public final boolean <a href="../../../src-html/org/apache/juneau/MediaType.html#line.133">matches</a>(<a href="../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a> o)</pre> <div class="block">Returns <jk>true</jk> if this media type is a match for the specified media type. <p> Matches if any of the following is true: @@ -520,7 +522,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <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/MediaType.html#line.143">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/MediaType.html#line.145">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> @@ -533,7 +535,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>hashCode</h4> -<pre>public int <a href="../../../src-html/org/apache/juneau/MediaType.html#line.148">hashCode</a>()</pre> +<pre>public int <a href="../../../src-html/org/apache/juneau/MediaType.html#line.150">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> @@ -546,7 +548,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>equals</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/MediaType.html#line.153">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> o)</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/MediaType.html#line.155">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> o)</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#equals-java.lang.Object-" title="class or interface in java.lang">equals</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/afa6a1d0/content/site/apidocs/org/apache/juneau/ObjectList.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/ObjectList.html b/content/site/apidocs/org/apache/juneau/ObjectList.html index c135db5..d604f0c 100644 --- a/content/site/apidocs/org/apache/juneau/ObjectList.html +++ b/content/site/apidocs/org/apache/juneau/ObjectList.html @@ -149,7 +149,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h constructor is provided for converting a JSON array string directly into 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"><code>List</code></a>. It also contains accessor methods for to avoid common typecasting when accessing elements in a list. - <h6 class='topic'>Example:</h6> + <h5 class='section'>Example:</h5> <p class='bcode'> <jc>// Construct an empty List</jc> List l = <jk>new</jk> ObjectList(); @@ -1006,7 +1006,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <p> See <a href="../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-org.apache.juneau.ClassMeta-"><code>BeanSession.convertToType(Object, ClassMeta)</code></a> for a description of valid conversions. - <h6 class='topic'>Example:</h6> + <h5 class='section'>Example:</h5> <p class='bcode'> <jc>// Iterate over a list of ObjectMaps.</jc> ObjectList l = <jk>new</jk> ObjectList(<js>"[{foo:'bar'},{baz:123}]"</js>); http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/afa6a1d0/content/site/apidocs/org/apache/juneau/ObjectMap.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/ObjectMap.html b/content/site/apidocs/org/apache/juneau/ObjectMap.html index 51411f1..51b2128 100644 --- a/content/site/apidocs/org/apache/juneau/ObjectMap.html +++ b/content/site/apidocs/org/apache/juneau/ObjectMap.html @@ -144,7 +144,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa constructor is provided for converting a JSON object string directly into a <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>. It also contains accessor methods for to avoid common typecasting when accessing elements in a list. - <h6 class='topic'>Example:</h6> + <h5 class='section'>Example:</h5> <p class='bcode'> <jc>// Construct an empty Map</jc> Map m = <jk>new</jk> ObjectMap(); http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/afa6a1d0/content/site/apidocs/org/apache/juneau/PropertyNamerDashedLC.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/PropertyNamerDashedLC.html b/content/site/apidocs/org/apache/juneau/PropertyNamerDashedLC.html index 063faea..a14c975 100644 --- a/content/site/apidocs/org/apache/juneau/PropertyNamerDashedLC.html +++ b/content/site/apidocs/org/apache/juneau/PropertyNamerDashedLC.html @@ -117,7 +117,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? implements <a href="../../../org/apache/juneau/PropertyNamer.html" title="interface in org.apache.juneau">PropertyNamer</a></pre> <div class="block">Converts property names to dashed-lower-case format. - <h6 class='topic'>Examples:</h6> + <h5 class='section'>Examples:</h5> <ul> <li><js>"fooBar"</js> -> <js>"foo-bar"</js> <li><js>"fooBarURL"</js> -> <js>"foo-bar-url"</js> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/afa6a1d0/content/site/apidocs/org/apache/juneau/PropertyNamerDefault.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/PropertyNamerDefault.html b/content/site/apidocs/org/apache/juneau/PropertyNamerDefault.html index 69decfb..39b9edd 100644 --- a/content/site/apidocs/org/apache/juneau/PropertyNamerDefault.html +++ b/content/site/apidocs/org/apache/juneau/PropertyNamerDefault.html @@ -117,7 +117,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? implements <a href="../../../org/apache/juneau/PropertyNamer.html" title="interface in org.apache.juneau">PropertyNamer</a></pre> <div class="block">Default property namer. - <h6 class='topic'>Examples:</h6> + <h5 class='section'>Examples:</h5> <ul> <li><js>"fooBar"</js> -> <js>"fooBar"</js> <li><js>"fooBarURL"</js> -> <js>"fooBarURL"</js> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/afa6a1d0/content/site/apidocs/org/apache/juneau/Session.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/Session.html b/content/site/apidocs/org/apache/juneau/Session.html index 86f58c1..ed565c9 100644 --- a/content/site/apidocs/org/apache/juneau/Session.html +++ b/content/site/apidocs/org/apache/juneau/Session.html @@ -357,7 +357,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>msg</code> - The warning message.</dd> -<dd><code>args</code> - Optional printf arguments to replace in the error message.</dd> +<dd><code>args</code> - Optional <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style arguments.</dd> </dl> </li> </ul> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/afa6a1d0/content/site/apidocs/org/apache/juneau/Visibility.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/Visibility.html b/content/site/apidocs/org/apache/juneau/Visibility.html index d9e62b0..b7f5eb5 100644 --- a/content/site/apidocs/org/apache/juneau/Visibility.html +++ b/content/site/apidocs/org/apache/juneau/Visibility.html @@ -397,7 +397,7 @@ not permitted.)</div> <pre>public boolean <a href="../../../src-html/org/apache/juneau/Visibility.html#line.60">isVisible</a>(int mod)</pre> <div class="block">Identifies if the specified mod matches this visibility. - <h6 class='topic'>Example:</h6> + <h5 class='section'>Example:</h5> <code> <jsf>PUBLIC</jsf>.isVisible(MyPublicClass.<jk>class</jk>.getModifiers()); <jc>//true</jk> <jsf>PUBLIC</jsf>.isVisible(MyPrivateClass.<jk>class</jk>.getModifiers()); <jc>//false</jk> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/afa6a1d0/content/site/apidocs/org/apache/juneau/annotation/Bean.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/annotation/Bean.html b/content/site/apidocs/org/apache/juneau/annotation/Bean.html index e3e1341..da16f47 100644 --- a/content/site/apidocs/org/apache/juneau/annotation/Bean.html +++ b/content/site/apidocs/org/apache/juneau/annotation/Bean.html @@ -218,7 +218,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea a simple name/value mapping of names to classes. Names do not need to be universally unique. However, they must be unique within a dictionary. - <h6 class='topic'>Example:</h6> + <h5 class='section'>Example:</h5> <p class='bcode'> <ja>@Bean</ja>(typeName=<js>"foo"</js>) <jk>public class</jk> Foo { @@ -277,7 +277,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <p> This annotation is an alternative to using the <a href="../../../../org/apache/juneau/transform/BeanFilter.html" title="class in org.apache.juneau.transform"><code>BeanFilter</code></a> class with an implemented <a href="../../../../org/apache/juneau/transform/BeanFilter.html#getProperties--"><code>BeanFilter.getProperties()</code></a> method. - <h6 class='topic'>Example:</h6> + <h5 class='section'>Example:</h5> <p class='bcode'> <jc>// Address class with only street/city/state properties (in that order).</jc> <jc>// All other properties are ignored.</jc> @@ -335,7 +335,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <p> This annotation is an alternative to using the <a href="../../../../org/apache/juneau/transform/BeanFilter.html" title="class in org.apache.juneau.transform"><code>BeanFilter</code></a> class with an implemented <a href="../../../../org/apache/juneau/transform/BeanFilter.html#getExcludeProperties--"><code>BeanFilter.getExcludeProperties()</code></a> method. - <h6 class='topic'>Example:</h6> + <h5 class='section'>Example:</h5> <p class='bcode'> <jc>// Address class with only street/city/state properties (in that order).</jc> <jc>// All other properties are ignored.</jc> @@ -367,7 +367,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <p> This annotation is an alternative to using the <a href="../../../../org/apache/juneau/transform/BeanFilter.html" title="class in org.apache.juneau.transform"><code>BeanFilter</code></a> class with an implemented <a href="../../../../org/apache/juneau/transform/BeanFilter.html#getPropertyNamer--"><code>BeanFilter.getPropertyNamer()</code></a> method. - <h6 class='topic'>Example:</h6> + <h5 class='section'>Example:</h5> <p class='bcode'> <jc>// Define a class with dashed-lowercase property names.</jc> <ja>@Bean</ja>(propertyNamer=PropertyNamerDashedLC.<jk>class</jk>) http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/afa6a1d0/content/site/apidocs/org/apache/juneau/annotation/BeanIgnore.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/annotation/BeanIgnore.html b/content/site/apidocs/org/apache/juneau/annotation/BeanIgnore.html index fded7f7..72c25b1 100644 --- a/content/site/apidocs/org/apache/juneau/annotation/BeanIgnore.html +++ b/content/site/apidocs/org/apache/juneau/annotation/BeanIgnore.html @@ -43,7 +43,7 @@ <div class="subNav"> <ul class="navList"> <li><a href="../../../../org/apache/juneau/annotation/BeanConstructor.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../org/apache/juneau/annotation/BeanProperty.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../org/apache/juneau/annotation/BeanParameter.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/apache/juneau/annotation/BeanIgnore.html" target="_top">Frames</a></li> @@ -132,7 +132,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <div class="subNav"> <ul class="navList"> <li><a href="../../../../org/apache/juneau/annotation/BeanConstructor.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../org/apache/juneau/annotation/BeanProperty.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../org/apache/juneau/annotation/BeanParameter.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/apache/juneau/annotation/BeanIgnore.html" target="_top">Frames</a></li>
