http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/beb5f5d0/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 9ae3f4f..363d1b7 100644 --- a/content/site/apidocs/org/apache/juneau/CoreApi.html +++ b/content/site/apidocs/org/apache/juneau/CoreApi.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}; +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,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -121,7 +121,7 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public abstract class <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.27">CoreApi</a> +<pre>public abstract class <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.40">CoreApi</a> 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. @@ -170,100 +170,429 @@ extends <a href="../../../org/apache/juneau/Lockable.html" title="class in org.a </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#addBeanFilters-java.lang.Class...-">addBeanFilters</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">Shortcut for calling <code>getContextFactory().addBeanFilters(<jf>classes</jf>)</code>.</div> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#addBeanFilters-java.lang.Class...-">addBeanFilters</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><?>... values)</code> +<div class="block"><b>Configuration property:</b> Add to bean filters.</div> </td> </tr> <tr id="i1" class="rowColor"> -<td class="colFirst"><code><T> <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#addImplClass-java.lang.Class-java.lang.Class-">addImplClass</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> interfaceClass, - <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends T> implClass)</code> -<div class="block">Shortcut for calling <code>getContextFactory().addImplClass(<jf>interfaceClass</jf>, <jf>implClass</jf>)</code>.</div> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#addBeanFilters-java.util.Collection-">addBeanFilters</a></span>(<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>> values)</code> +<div class="block"><b>Configuration property:</b> Add to bean filters.</div> </td> </tr> <tr id="i2" class="altColor"> -<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#addNotBeanClasses-java.lang.Class...-">addNotBeanClasses</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">Shortcut for calling <code>getContextFactory().addNotBeanClasses(<jf>classes</jf>)</code>.</div> +<td class="colFirst"><code><T> <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#addImplClass-java.lang.Class-java.lang.Class-">addImplClass</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> interfaceClass, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends T> implClass)</code> +<div class="block"><b>Configuration property:</b> Implementation classes for interfaces and abstract classes.</div> </td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#addPojoSwaps-java.lang.Class...-">addPojoSwaps</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">Shortcut for calling <code>getContextFactory().addPojoSwaps(<jf>classes</jf>)</code>.</div> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#addNotBeanClasses-java.lang.Class...-">addNotBeanClasses</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><?>... values)</code> +<div class="block"><b>Configuration property:</b> Add to classes that should not be considered beans.</div> </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#addToDictionary-java.lang.Class...-">addToDictionary</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">Shortcut for calling <code>getContextFactory().addToDictionary(<jf>classes</jf>)</code>.</div> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#addNotBeanClasses-java.util.Collection-">addNotBeanClasses</a></span>(<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>> values)</code> +<div class="block"><b>Configuration property:</b> Add to classes that should not be considered beans.</div> </td> </tr> <tr id="i5" class="rowColor"> -<td class="colFirst"><code>void</code></td> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#addNotBeanPackages-java.util.Collection-">addNotBeanPackages</a></span>(<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> values)</code> +<div class="block"><b>Configuration property:</b> Add to packages whose classes should not be considered beans.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#addNotBeanPackages-java.lang.String...-">addNotBeanPackages</a></span>(<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>... values)</code> +<div class="block"><b>Configuration property:</b> Add to packages whose classes should not be considered beans.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#addPojoSwaps-java.lang.Class...-">addPojoSwaps</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><?>... values)</code> +<div class="block"><b>Configuration property:</b> Add to POJO swaps.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#addPojoSwaps-java.util.Collection-">addPojoSwaps</a></span>(<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>> values)</code> +<div class="block"><b>Configuration property:</b> Add to POJO swaps.</div> +</td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#addToBeanDictionary-java.lang.Class...-">addToBeanDictionary</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><?>... values)</code> +<div class="block"><b>Configuration property:</b> Add to bean dictionary.</div> +</td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#addToBeanDictionary-java.util.Collection-">addToBeanDictionary</a></span>(<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>> values)</code> +<div class="block"><b>Configuration property:</b> Add to bean dictionary.</div> +</td> +</tr> +<tr id="i11" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#addToProperty-java.lang.String-java.lang.Object-">addToProperty</a></span>(<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)</code> +<div class="block">Adds a value to a SET property.</div> +</td> +</tr> +<tr id="i12" class="altColor"> +<td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#checkLock--">checkLock</a></span>()</code> <div class="block">Causes a <a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau"><code>LockedException</code></a> to be thrown if this object has been locked.</div> </td> </tr> -<tr id="i6" class="altColor"> +<tr id="i13" class="rowColor"> <td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#clone--">clone</a></span>()</code> <div class="block">Creates an unlocked clone of this object.</div> </td> </tr> -<tr id="i7" class="rowColor"> +<tr id="i14" class="altColor"> <td class="colFirst"><code><a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#getBeanContext--">getBeanContext</a></span>()</code> <div class="block">Returns the bean context to use for this class.</div> </td> </tr> -<tr id="i8" class="altColor"> +<tr id="i15" class="rowColor"> <td class="colFirst"><code>protected <T extends <a href="../../../org/apache/juneau/Context.html" title="class in org.apache.juneau">Context</a>><br>T</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#getContext-java.lang.Class-">getContext</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> contextClass)</code> <div class="block">Creates a <a href="../../../org/apache/juneau/Context.html" title="class in org.apache.juneau"><code>Context</code></a> class instance of the specified type.</div> </td> </tr> -<tr id="i9" class="rowColor"> +<tr id="i16" class="altColor"> <td class="colFirst"><code><a href="../../../org/apache/juneau/ContextFactory.html" title="class in org.apache.juneau">ContextFactory</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#getContextFactory--">getContextFactory</a></span>()</code> <div class="block">Returns the <a href="../../../org/apache/juneau/ContextFactory.html" title="class in org.apache.juneau"><code>ContextFactory</code></a> object associated with this class.</div> </td> </tr> -<tr id="i10" class="altColor"> +<tr id="i17" class="rowColor"> <td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#lock--">lock</a></span>()</code> <div class="block">Locks this object so that settings on it cannot be modified.</div> </td> </tr> -<tr id="i11" class="rowColor"> +<tr id="i18" class="altColor"> <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/CoreApi.html#object--">object</a></span>()</code> -<div class="block">Shortcut for calling <a href="../../../org/apache/juneau/BeanContext.html#object--"><code>BeanContext.object()</code></a>.</div> +<div class="block">Returns the universal <code>Object</code> metadata object.</div> </td> </tr> -<tr id="i12" class="altColor"> +<tr id="i19" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#putToProperty-java.lang.String-java.lang.Object-">putToProperty</a></span>(<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)</code> +<div class="block">Adds or overwrites a value to a MAP property.</div> +</td> +</tr> +<tr id="i20" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#putToProperty-java.lang.String-java.lang.Object-java.lang.Object-">putToProperty</a></span>(<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> 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)</code> +<div class="block">Adds or overwrites a value to a MAP property.</div> +</td> +</tr> +<tr id="i21" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#removeBeanFilters-java.lang.Class...-">removeBeanFilters</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><?>... values)</code> +<div class="block"><b>Configuration property:</b> Remove from bean filters.</div> +</td> +</tr> +<tr id="i22" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#removeBeanFilters-java.util.Collection-">removeBeanFilters</a></span>(<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>> values)</code> +<div class="block"><b>Configuration property:</b> Remove from bean filters.</div> +</td> +</tr> +<tr id="i23" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#removeFromBeanDictionary-java.lang.Class...-">removeFromBeanDictionary</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><?>... values)</code> +<div class="block"><b>Configuration property:</b> Remove from bean dictionary.</div> +</td> +</tr> +<tr id="i24" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#removeFromBeanDictionary-java.util.Collection-">removeFromBeanDictionary</a></span>(<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>> values)</code> +<div class="block"><b>Configuration property:</b> Remove from bean dictionary.</div> +</td> +</tr> +<tr id="i25" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#removeFromProperty-java.lang.String-java.lang.Object-">removeFromProperty</a></span>(<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)</code> +<div class="block">Removes a value from a SET property.</div> +</td> +</tr> +<tr id="i26" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#removeNotBeanClasses-java.lang.Class...-">removeNotBeanClasses</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><?>... values)</code> +<div class="block"><b>Configuration property:</b> Remove from classes that should not be considered beans.</div> +</td> +</tr> +<tr id="i27" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#removeNotBeanClasses-java.util.Collection-">removeNotBeanClasses</a></span>(<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>> values)</code> +<div class="block"><b>Configuration property:</b> Remove from classes that should not be considered beans.</div> +</td> +</tr> +<tr id="i28" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#removeNotBeanPackages-java.util.Collection-">removeNotBeanPackages</a></span>(<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> values)</code> +<div class="block"><b>Configuration property:</b> Remove from packages whose classes should not be considered beans.</div> +</td> +</tr> +<tr id="i29" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#removeNotBeanPackages-java.lang.String...-">removeNotBeanPackages</a></span>(<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>... values)</code> +<div class="block"><b>Configuration property:</b> Remove from packages whose classes should not be considered beans.</div> +</td> +</tr> +<tr id="i30" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#removePojoSwaps-java.lang.Class...-">removePojoSwaps</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><?>... values)</code> +<div class="block"><b>Configuration property:</b> Remove from POJO swaps.</div> +</td> +</tr> +<tr id="i31" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#removePojoSwaps-java.util.Collection-">removePojoSwaps</a></span>(<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>> values)</code> +<div class="block"><b>Configuration property:</b> Remove from POJO swaps.</div> +</td> +</tr> +<tr id="i32" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setBeanClassVisibility-org.apache.juneau.Visibility-">setBeanClassVisibility</a></span>(<a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> value)</code> +<div class="block"><b>Configuration property:</b> Look for bean classes with the specified minimum visibility.</div> +</td> +</tr> +<tr id="i33" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setBeanConstructorVisibility-org.apache.juneau.Visibility-">setBeanConstructorVisibility</a></span>(<a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> value)</code> +<div class="block"><b>Configuration property:</b> Look for bean constructors with the specified minimum visibility.</div> +</td> +</tr> +<tr id="i34" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setBeanDictionary-java.lang.Class...-">setBeanDictionary</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><?>... values)</code> +<div class="block"><b>Configuration property:</b> Bean lookup dictionary.</div> +</td> +</tr> +<tr id="i35" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setBeanDictionary-java.util.Collection-">setBeanDictionary</a></span>(<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>> values)</code> +<div class="block"><b>Configuration property:</b> Bean lookup dictionary.</div> +</td> +</tr> +<tr id="i36" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setBeanFieldVisibility-org.apache.juneau.Visibility-">setBeanFieldVisibility</a></span>(<a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> value)</code> +<div class="block"><b>Configuration property:</b> Look for bean fields with the specified minimum visibility.</div> +</td> +</tr> +<tr id="i37" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setBeanFilters-java.lang.Class...-">setBeanFilters</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><?>... values)</code> +<div class="block"><b>Configuration property:</b> Bean filters to apply to beans.</div> +</td> +</tr> +<tr id="i38" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setBeanFilters-java.util.Collection-">setBeanFilters</a></span>(<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>> values)</code> +<div class="block"><b>Configuration property:</b> Bean filters to apply to beans.</div> +</td> +</tr> +<tr id="i39" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setBeanMapPutReturnsOldValue-boolean-">setBeanMapPutReturnsOldValue</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> <a href="../../../org/apache/juneau/BeanMap.html#put-java.lang.String-java.lang.Object-"><code>BeanMap.put()</code></a> method will return old property value.</div> +</td> +</tr> +<tr id="i40" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setBeansRequireDefaultConstructor-boolean-">setBeansRequireDefaultConstructor</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Beans require no-arg constructors.</div> +</td> +</tr> +<tr id="i41" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setBeansRequireSerializable-boolean-">setBeansRequireSerializable</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Beans require <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io"><code>Serializable</code></a> interface.</div> +</td> +</tr> +<tr id="i42" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setBeansRequireSettersForGetters-boolean-">setBeansRequireSettersForGetters</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Beans require setters for getters.</div> +</td> +</tr> +<tr id="i43" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setBeansRequireSomeProperties-boolean-">setBeansRequireSomeProperties</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Beans require at least one property.</div> +</td> +</tr> +<tr id="i44" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setBeanTypePropertyName-java.lang.String-">setBeanTypePropertyName</a></span>(<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> value)</code> +<div class="block"><b>Configuration property:</b> Name to use for the bean type properties used to represent a bean type.</div> +</td> +</tr> +<tr id="i45" class="rowColor"> <td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setClassLoader-java.lang.ClassLoader-">setClassLoader</a></span>(<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> classLoader)</code> -<div class="block">Shortcut for calling <code>getContextFactory().setClassLoader(<jf>classLoader</jf>)</code>.</div> +<div class="block">Sets the classloader used for created classes from class strings.</div> </td> </tr> -<tr id="i13" class="rowColor"> +<tr id="i46" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setDebug-boolean-">setDebug</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Debug mode.</div> +</td> +</tr> +<tr id="i47" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setDefaultParser-java.lang.Class-">setDefaultParser</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><?> value)</code> +<div class="block"><b>Configuration property:</b> Default parser to use when converting <code>Strings</code> to POJOs.</div> +</td> +</tr> +<tr id="i48" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setIgnoreInvocationExceptionsOnGetters-boolean-">setIgnoreInvocationExceptionsOnGetters</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Ignore invocation errors on getters.</div> +</td> +</tr> +<tr id="i49" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setIgnoreInvocationExceptionsOnSetters-boolean-">setIgnoreInvocationExceptionsOnSetters</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Ignore invocation errors on setters.</div> +</td> +</tr> +<tr id="i50" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setIgnorePropertiesWithoutSetters-boolean-">setIgnorePropertiesWithoutSetters</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Ignore properties without setters.</div> +</td> +</tr> +<tr id="i51" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setIgnoreUnknownBeanProperties-boolean-">setIgnoreUnknownBeanProperties</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Ignore unknown properties.</div> +</td> +</tr> +<tr id="i52" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setIgnoreUnknownNullBeanProperties-boolean-">setIgnoreUnknownNullBeanProperties</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Ignore unknown properties with null values.</div> +</td> +</tr> +<tr id="i53" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setImplClasses-java.util.Map-">setImplClasses</a></span>(<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><?>> values)</code> +<div class="block"><b>Configuration property:</b> Implementation classes for interfaces and abstract classes.</div> +</td> +</tr> +<tr id="i54" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setLocale-java.util.Locale-">setLocale</a></span>(<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> value)</code> +<div class="block"><b>Configuration property:</b> Locale.</div> +</td> +</tr> +<tr id="i55" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setMediaType-org.apache.juneau.MediaType-">setMediaType</a></span>(<a href="../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a> value)</code> +<div class="block"><b>Configuration property:</b> Media type.</div> +</td> +</tr> +<tr id="i56" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setMethodVisibility-org.apache.juneau.Visibility-">setMethodVisibility</a></span>(<a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> value)</code> +<div class="block"><b>Configuration property:</b> Look for bean methods with the specified minimum visibility.</div> +</td> +</tr> +<tr id="i57" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setNotBeanClasses-java.lang.Class...-">setNotBeanClasses</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><?>... values)</code> +<div class="block"><b>Configuration property:</b> Classes to be excluded from consideration as being beans.</div> +</td> +</tr> +<tr id="i58" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setNotBeanClasses-java.util.Collection-">setNotBeanClasses</a></span>(<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>> values)</code> +<div class="block"><b>Configuration property:</b> Classes to be excluded from consideration as being beans.</div> +</td> +</tr> +<tr id="i59" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setNotBeanPackages-java.util.Collection-">setNotBeanPackages</a></span>(<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> values)</code> +<div class="block"><b>Configuration property:</b> Packages whose classes should not be considered beans.</div> +</td> +</tr> +<tr id="i60" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setNotBeanPackages-java.lang.String...-">setNotBeanPackages</a></span>(<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>... values)</code> +<div class="block"><b>Configuration property:</b> Packages whose classes should not be considered beans.</div> +</td> +</tr> +<tr id="i61" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setPojoSwaps-java.lang.Class...-">setPojoSwaps</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><?>... values)</code> +<div class="block"><b>Configuration property:</b> POJO swaps to apply to Java objects.</div> +</td> +</tr> +<tr id="i62" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setPojoSwaps-java.util.Collection-">setPojoSwaps</a></span>(<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>> values)</code> +<div class="block"><b>Configuration property:</b> POJO swaps to apply to Java objects.</div> +</td> +</tr> +<tr id="i63" class="rowColor"> <td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setProperties-org.apache.juneau.ObjectMap-">setProperties</a></span>(<a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> properties)</code> -<div class="block">Shortcut for calling <code>getContextFactory().setProperties(<jf>properties</jf>);</code>.</div> +<div class="block">Sets multiple configuration properties on this object.</div> </td> </tr> -<tr id="i14" class="altColor"> +<tr id="i64" class="altColor"> <td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setProperty-java.lang.String-java.lang.Object-">setProperty</a></span>(<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> property, +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setProperty-java.lang.String-java.lang.Object-">setProperty</a></span>(<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)</code> -<div class="block">Shortcut for calling <code>getContextFactory().setProperty(<jf>property</jf>, <jf>value</jf>);</code>.</div> +<div class="block">Sets a configuration property on this object.</div> </td> </tr> -<tr id="i15" class="rowColor"> +<tr id="i65" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setSortProperties-boolean-">setSortProperties</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Sort bean properties in alphabetical order.</div> +</td> +</tr> +<tr id="i66" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setTimeZone-java.util.TimeZone-">setTimeZone</a></span>(<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> value)</code> +<div class="block"><b>Configuration property:</b> TimeZone.</div> +</td> +</tr> +<tr id="i67" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setUseInterfaceProxies-boolean-">setUseInterfaceProxies</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Use interface proxies.</div> +</td> +</tr> +<tr id="i68" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/CoreApi.html#setUseJavaBeanIntrospector-boolean-">setUseJavaBeanIntrospector</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Use Java <a href="http://docs.oracle.com/javase/7/docs/api/java/beans/Introspector.html?is-external=true" title="class or interface in java.beans"><code>Introspector</code></a> for determining bean properties.</div> +</td> +</tr> +<tr id="i69" 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/CoreApi.html#string--">string</a></span>()</code> -<div class="block">Shortcut for calling <a href="../../../org/apache/juneau/BeanContext.html#string--"><code>BeanContext.string()</code></a>.</div> +<div class="block">Returns the universal <code>String</code> metadata object.</div> </td> </tr> </table> @@ -301,7 +630,7 @@ extends <a href="../../../org/apache/juneau/Lockable.html" title="class in org.a <ul class="blockListLast"> <li class="blockList"> <h4>CoreApi</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.27">CoreApi</a>()</pre> +<pre>public <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.40">CoreApi</a>()</pre> </li> </ul> </li> @@ -318,17 +647,18 @@ extends <a href="../../../org/apache/juneau/Lockable.html" title="class in org.a <ul class="blockList"> <li class="blockList"> <h4>getContextFactory</h4> -<pre>public <a href="../../../org/apache/juneau/ContextFactory.html" title="class in org.apache.juneau">ContextFactory</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.46">getContextFactory</a>()</pre> +<pre>public <a href="../../../org/apache/juneau/ContextFactory.html" title="class in org.apache.juneau">ContextFactory</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.60">getContextFactory</a>()</pre> <div class="block">Returns the <a href="../../../org/apache/juneau/ContextFactory.html" title="class in org.apache.juneau"><code>ContextFactory</code></a> object associated with this class. <p> The context factory stores all configuration properties for this class. Adding/modifying properties on this factory will alter the behavior of this object. <p> - Calling the <a href="../../../org/apache/juneau/Lockable.html#lock--"><code>Lockable.lock()</code></a> method on the returned object will prevent - any further modifications to the configuration for this object - ANY ANY OTHERS THAT SHARE THE SAME FACTORY!. - Note that calling the <a href="../../../org/apache/juneau/CoreApi.html#lock--"><code>lock()</code></a> method on this class will only - lock the configuration for this particular instance of the class.</div> + <h5 class='section'>Notes:</h5> + <ul> + <li>Calling the <a href="../../../org/apache/juneau/Lockable.html#lock--"><code>Lockable.lock()</code></a> method on the returned object will prevent any further modifications to the configuration for this object + ANY ANY OTHERS THAT SHARE THE SAME FACTORY!. + <li>Calling the <a href="../../../org/apache/juneau/CoreApi.html#lock--"><code>lock()</code></a> method on this class will only lock the configuration for this particular instance of the class. + </ul></div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>The context factory associated with this object.</dd> @@ -341,7 +671,7 @@ extends <a href="../../../org/apache/juneau/Lockable.html" title="class in org.a <ul class="blockList"> <li class="blockList"> <h4>getBeanContext</h4> -<pre>public <a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.55">getBeanContext</a>()</pre> +<pre>public <a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.69">getBeanContext</a>()</pre> <div class="block">Returns the bean context to use for this class.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -355,8 +685,14 @@ extends <a href="../../../org/apache/juneau/Lockable.html" title="class in org.a <ul class="blockList"> <li class="blockList"> <h4>getContext</h4> -<pre>protected final <T extends <a href="../../../org/apache/juneau/Context.html" title="class in org.apache.juneau">Context</a>> T <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.67">getContext</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> contextClass)</pre> -<div class="block">Creates a <a href="../../../org/apache/juneau/Context.html" title="class in org.apache.juneau"><code>Context</code></a> class instance of the specified type.</div> +<pre>protected final <T extends <a href="../../../org/apache/juneau/Context.html" title="class in org.apache.juneau">Context</a>> T <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.87">getContext</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> contextClass)</pre> +<div class="block">Creates a <a href="../../../org/apache/juneau/Context.html" title="class in org.apache.juneau"><code>Context</code></a> class instance of the specified type. + <p> + For example, to create an <code>HtmlSerializerContext</code> object that contains a read-only snapshot + of all the current settings in this object... + <p class='bcode'> + HtmlSerializerContext ctx = htmlParser.getContext(HtmlDocSerializerContext.<jk>class</jk>); + </p></div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>contextClass</code> - The class instance to create.</dd> @@ -371,13 +707,18 @@ extends <a href="../../../org/apache/juneau/Lockable.html" title="class in org.a <ul class="blockList"> <li class="blockList"> <h4>setProperty</h4> -<pre>public <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.80">setProperty</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> property, +<pre>public <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.105">setProperty</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, <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/LockedException.html" title="class in org.apache.juneau">LockedException</a></pre> -<div class="block">Shortcut for calling <code>getContextFactory().setProperty(<jf>property</jf>, <jf>value</jf>);</code>.</div> +<div class="block">Sets a configuration property on this object. + <p> + <h5 class='section'>Notes:</h5> + <ul> + <li>This is equivalent to calling <code>getContextFactory().setProperty(name, value);</code>. + </ul></div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>property</code> - The property name.</dd> +<dd><code>name</code> - The property name.</dd> <dd><code>value</code> - The property value.</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>This class (for method chaining).</dd> @@ -394,9 +735,14 @@ extends <a href="../../../org/apache/juneau/Lockable.html" title="class in org.a <ul class="blockList"> <li class="blockList"> <h4>setProperties</h4> -<pre>public <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.94">setProperties</a>(<a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> properties) +<pre>public <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.124">setProperties</a>(<a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> properties) throws <a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></pre> -<div class="block">Shortcut for calling <code>getContextFactory().setProperties(<jf>properties</jf>);</code>.</div> +<div class="block">Sets multiple configuration properties on this object. + <p> + <h5 class='section'>Notes:</h5> + <ul> + <li>This is equivalent to calling <code>getContextFactory().setProperties(properties);</code>. + </ul></div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>properties</code> - The properties to set on this class.</dd> @@ -409,167 +755,1932 @@ extends <a href="../../../org/apache/juneau/Lockable.html" title="class in org.a </dl> </li> </ul> -<a name="addNotBeanClasses-java.lang.Class...-"> +<a name="addToProperty-java.lang.String-java.lang.Object-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>addNotBeanClasses</h4> -<pre>public <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.110">addNotBeanClasses</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) - throws <a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></pre> -<div class="block">Shortcut for calling <code>getContextFactory().addNotBeanClasses(<jf>classes</jf>)</code>.</div> +<h4>addToProperty</h4> +<pre>public <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.144">addToProperty</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, + <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/LockedException.html" title="class in org.apache.juneau">LockedException</a></pre> +<div class="block">Adds a value to a SET property. + <p> + <h5 class='section'>Notes:</h5> + <ul> + <li>This is equivalent to calling <code>getContextFactory().addToProperty(name, value);</code>. + </ul></div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>classes</code> - The new setting value for the bean context.</dd> +<dd><code>name</code> - The property name.</dd> +<dd><code>value</code> - The new value to add to the SET property.</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>This object (for method chaining).</dd> <dt><span class="throwsLabel">Throws:</span></dt> -<dd><code><a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></code> - If <a href="../../../org/apache/juneau/Lockable.html#lock--"><code>Lockable.lock()</code></a> was called on this class or the bean context.</dd> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../org/apache/juneau/ContextFactory.html#addToProperty-java.lang.String-java.lang.Object-"><code>ContextFactory.addToProperty(String,Object)</code></a>, -<a href="../../../org/apache/juneau/ContextFactory.html#addToProperty-java.lang.String-java.lang.Object-"><code>ContextFactory.addToProperty(String, Object)</code></a>, -<a href="../../../org/apache/juneau/BeanContext.html#BEAN_notBeanClasses"><code>BeanContext.BEAN_notBeanClasses</code></a></dd> +<dd><code><a href="../../../org/apache/juneau/ConfigException.html" title="class in org.apache.juneau">ConfigException</a></code> - If property is not a SET property.</dd> +<dd><code><a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></code> - If <a href="../../../org/apache/juneau/CoreApi.html#lock--"><code>lock()</code></a> has been called on this object.</dd> </dl> </li> </ul> -<a name="addBeanFilters-java.lang.Class...-"> +<a name="putToProperty-java.lang.String-java.lang.Object-java.lang.Object-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>addBeanFilters</h4> -<pre>public <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.125">addBeanFilters</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) - throws <a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></pre> -<div class="block">Shortcut for calling <code>getContextFactory().addBeanFilters(<jf>classes</jf>)</code>.</div> +<h4>putToProperty</h4> +<pre>public <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.165">putToProperty</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, + <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> 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) + throws <a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></pre> +<div class="block">Adds or overwrites a value to a MAP property. + <p> + <h5 class='section'>Notes:</h5> + <ul> + <li>This is equivalent to calling <code>getContextFactory().putToProperty(name, key, value);</code>. + </ul></div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>classes</code> - The new setting value for the bean context.</dd> +<dd><code>name</code> - The property name.</dd> +<dd><code>key</code> - The property value map key.</dd> +<dd><code>value</code> - The property value map value.</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>This object (for method chaining).</dd> <dt><span class="throwsLabel">Throws:</span></dt> -<dd><code><a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></code> - If <a href="../../../org/apache/juneau/Lockable.html#lock--"><code>Lockable.lock()</code></a> was called on this class or the bean context.</dd> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../org/apache/juneau/ContextFactory.html#addToProperty-java.lang.String-java.lang.Object-"><code>ContextFactory.addToProperty(String, Object)</code></a>, -<a href="../../../org/apache/juneau/BeanContext.html#BEAN_beanFilters"><code>BeanContext.BEAN_beanFilters</code></a></dd> +<dd><code><a href="../../../org/apache/juneau/ConfigException.html" title="class in org.apache.juneau">ConfigException</a></code> - If property is not a MAP property.</dd> +<dd><code><a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></code> - If <a href="../../../org/apache/juneau/CoreApi.html#lock--"><code>lock()</code></a> has been called on this object.</dd> </dl> </li> </ul> -<a name="addPojoSwaps-java.lang.Class...-"> +<a name="putToProperty-java.lang.String-java.lang.Object-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>addPojoSwaps</h4> -<pre>public <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.140">addPojoSwaps</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) - throws <a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></pre> -<div class="block">Shortcut for calling <code>getContextFactory().addPojoSwaps(<jf>classes</jf>)</code>.</div> +<h4>putToProperty</h4> +<pre>public <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.185">putToProperty</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, + <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/LockedException.html" title="class in org.apache.juneau">LockedException</a></pre> +<div class="block">Adds or overwrites a value to a MAP property. + <p> + <h5 class='section'>Notes:</h5> + <ul> + <li>This is equivalent to calling <code>getContextFactory().putToProperty(name, value);</code>. + </ul></div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>classes</code> - The new setting value for the bean context.</dd> +<dd><code>name</code> - The property value.</dd> +<dd><code>value</code> - The property value map value.</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>This object (for method chaining).</dd> <dt><span class="throwsLabel">Throws:</span></dt> -<dd><code><a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></code> - If <a href="../../../org/apache/juneau/Lockable.html#lock--"><code>Lockable.lock()</code></a> was called on this class or the bean context.</dd> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../org/apache/juneau/ContextFactory.html#addToProperty-java.lang.String-java.lang.Object-"><code>ContextFactory.addToProperty(String, Object)</code></a>, -<a href="../../../org/apache/juneau/BeanContext.html#BEAN_pojoSwaps"><code>BeanContext.BEAN_pojoSwaps</code></a></dd> +<dd><code><a href="../../../org/apache/juneau/ConfigException.html" title="class in org.apache.juneau">ConfigException</a></code> - If property is not a MAP property.</dd> +<dd><code><a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></code> - If <a href="../../../org/apache/juneau/CoreApi.html#lock--"><code>lock()</code></a> has been called on this object.</dd> </dl> </li> </ul> -<a name="addToDictionary-java.lang.Class...-"> +<a name="removeFromProperty-java.lang.String-java.lang.Object-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>addToDictionary</h4> -<pre>public <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.155">addToDictionary</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) - throws <a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></pre> -<div class="block">Shortcut for calling <code>getContextFactory().addToDictionary(<jf>classes</jf>)</code>.</div> +<h4>removeFromProperty</h4> +<pre>public <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.205">removeFromProperty</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, + <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/LockedException.html" title="class in org.apache.juneau">LockedException</a></pre> +<div class="block">Removes a value from a SET property. + <p> + <h5 class='section'>Notes:</h5> + <ul> + <li>This is equivalent to calling <code>getContextFactory().removeFromProperty(name, value);</code>. + </ul></div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>classes</code> - The bean classes (or BeanDictionaryBuilder) classes to add to the bean dictionary.</dd> +<dd><code>name</code> - The property name.</dd> +<dd><code>value</code> - The property value in the SET property.</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>This object (for method chaining).</dd> <dt><span class="throwsLabel">Throws:</span></dt> -<dd><code><a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></code> - If <a href="../../../org/apache/juneau/Lockable.html#lock--"><code>Lockable.lock()</code></a> was called on this class or the bean context.</dd> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../org/apache/juneau/ContextFactory.html#addToProperty-java.lang.String-java.lang.Object-"><code>ContextFactory.addToProperty(String, Object)</code></a>, -<a href="../../../org/apache/juneau/BeanContext.html#BEAN_beanDictionary"><code>BeanContext.BEAN_beanDictionary</code></a></dd> +<dd><code><a href="../../../org/apache/juneau/ConfigException.html" title="class in org.apache.juneau">ConfigException</a></code> - If property is not a SET property.</dd> +<dd><code><a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></code> - If <a href="../../../org/apache/juneau/CoreApi.html#lock--"><code>lock()</code></a> has been called on this object.</dd> </dl> </li> </ul> -<a name="addImplClass-java.lang.Class-java.lang.Class-"> +<a name="object--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>addImplClass</h4> -<pre>public <T> <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.172">addImplClass</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> interfaceClass, - <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends T> implClass) - throws <a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></pre> -<div class="block">Shortcut for calling <code>getContextFactory().addImplClass(<jf>interfaceClass</jf>, <jf>implClass</jf>)</code>.</div> +<h4>object</h4> +<pre>public <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/CoreApi.html#line.221">object</a>()</pre> +<div class="block">Returns the universal <code>Object</code> metadata object. + <p> + <h5 class='section'>Notes:</h5> + <ul> + <li>This is equivalent to calling <code>getBeanContext().object();</code>. + </ul></div> <dl> -<dt><span class="paramLabel">Type Parameters:</span></dt> -<dd><code>T</code> - The class type of the interface.</dd> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>interfaceClass</code> - The interface class.</dd> -<dd><code>implClass</code> - The implementation class.</dd> <dt><span class="returnLabel">Returns:</span></dt> -<dd>This object (for method chaining).</dd> -<dt><span class="throwsLabel">Throws:</span></dt> -<dd><code><a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></code> - If <a href="../../../org/apache/juneau/Lockable.html#lock--"><code>Lockable.lock()</code></a> was called on this class or the bean context.</dd> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../org/apache/juneau/ContextFactory.html#putToProperty-java.lang.String-java.lang.Object-java.lang.Object-"><code>ContextFactory.putToProperty(String, Object, Object)</code></a>, -<a href="../../../org/apache/juneau/BeanContext.html#BEAN_implClasses"><code>BeanContext.BEAN_implClasses</code></a></dd> +<dd>The reusable <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> for representing the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a> class.</dd> </dl> </li> </ul> -<a name="setClassLoader-java.lang.ClassLoader-"> +<a name="string--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>setClassLoader</h4> -<pre>public <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.186">setClassLoader</a>(<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> classLoader) - throws <a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></pre> -<div class="block">Shortcut for calling <code>getContextFactory().setClassLoader(<jf>classLoader</jf>)</code>.</div> +<h4>string</h4> +<pre>public <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/CoreApi.html#line.235">string</a>()</pre> +<div class="block">Returns the universal <code>String</code> metadata object. + <p> + <h5 class='section'>Notes:</h5> + <ul> + <li>This is equivalent to calling <code>getBeanContext().string();</code>. + </ul></div> <dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>classLoader</code> - The new classloader.</dd> <dt><span class="returnLabel">Returns:</span></dt> -<dd>This object (for method chaining).</dd> -<dt><span class="throwsLabel">Throws:</span></dt> -<dd><code><a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></code> - If <a href="../../../org/apache/juneau/Lockable.html#lock--"><code>Lockable.lock()</code></a> was called on this class or the bean context.</dd> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../org/apache/juneau/ContextFactory.html#setClassLoader-java.lang.ClassLoader-"><code>ContextFactory.setClassLoader(ClassLoader)</code></a></dd> +<dd>The reusable <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> for representing the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a> class.</dd> </dl> </li> </ul> -<a name="object--"> +<a name="setBeansRequireDefaultConstructor-boolean-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>object</h4> -<pre>public <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/CoreApi.html#line.197">object</a>()</pre> -<div class="block">Shortcut for calling <a href="../../../org/apache/juneau/BeanContext.html#object--"><code>BeanContext.object()</code></a>.</div> +<h4>setBeansRequireDefaultConstructor</h4> +<pre>public <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.269">setBeansRequireDefaultConstructor</a>(boolean value) + throws <a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></pre> +<div class="block"><b>Configuration property:</b> Beans require no-arg constructors. + <p> + <ul> + <li><b>Name:</b> <js>"BeanContext.beansRequireDefaultConstructor"</js> + <li><b>Data type:</b> <code>Boolean</code> + <li><b>Default:</b> <jk>false</jk> + <li><b>Session-overridable:</b> <jk>false</jk> + </ul> + <p> + If <jk>true</jk>, a Java class must implement a default no-arg constructor to be considered a bean. + Otherwise, the bean will be serialized as a string using the <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"><code>Object.toString()</code></a> method. + <p> + The <a href="../../../org/apache/juneau/annotation/Bean.html" title="annotation in org.apache.juneau.annotation"><code>@Bean</code></a> annotation can be used on a class to override this setting when <jk>true</jk>. + <p> + <h5 class='section'>Notes:</h5> + <ul> + <li>This is equivalent to calling <code>setProperty(<jsf>BEAN_beansRequireDefaultConstructor</jsf>, value)</code>. + </ul></div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>value</code> - The new value for this property.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>This object (for method chaining).</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></code> - If <a href="../../../org/apache/juneau/CoreApi.html#lock--"><code>lock()</code></a> was called on this class.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../org/apache/juneau/BeanContext.html#BEAN_beansRequireDefaultConstructor"><code>BeanContext.BEAN_beansRequireDefaultConstructor</code></a></dd> +</dl> +</li> +</ul> +<a name="setBeansRequireSerializable-boolean-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBeansRequireSerializable</h4> +<pre>public <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.298">setBeansRequireSerializable</a>(boolean value) + throws <a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></pre> +<div class="block"><b>Configuration property:</b> Beans require <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io"><code>Serializable</code></a> interface. + <p> + <ul> + <li><b>Name:</b> <js>"BeanContext.beansRequireSerializable"</js> + <li><b>Data type:</b> <code>Boolean</code> + <li><b>Default:</b> <jk>false</jk> + <li><b>Session-overridable:</b> <jk>false</jk> + </ul> + <p> + If <jk>true</jk>, a Java class must implement the <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io"><code>Serializable</code></a> interface to be considered a bean. + Otherwise, the bean will be serialized as a string using the <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"><code>Object.toString()</code></a> method. + <p> + The <a href="../../../org/apache/juneau/annotation/Bean.html" title="annotation in org.apache.juneau.annotation"><code>@Bean</code></a> annotation can be used on a class to override this setting when <jk>true</jk>. + <p> + <h5 class='section'>Notes:</h5> + <ul> + <li>This is equivalent to calling <code>setProperty(<jsf>BEAN_beansRequireSerializable</jsf>, value)</code>. + </ul></div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>value</code> - The new value for this property.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>This object (for method chaining).</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></code> - If <a href="../../../org/apache/juneau/CoreApi.html#lock--"><code>lock()</code></a> was called on this class.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../org/apache/juneau/BeanContext.html#BEAN_beansRequireSerializable"><code>BeanContext.BEAN_beansRequireSerializable</code></a></dd> +</dl> +</li> +</ul> +<a name="setBeansRequireSettersForGetters-boolean-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBeansRequireSettersForGetters</h4> +<pre>public <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.325">setBeansRequireSettersForGetters</a>(boolean value) + throws <a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></pre> +<div class="block"><b>Configuration property:</b> Beans require setters for getters. + <p> + <ul> + <li><b>Name:</b> <js>"BeanContext.beansRequireSettersForGetters"</js> + <li><b>Data type:</b> <code>Boolean</code> + <li><b>Default:</b> <jk>false</jk> + <li><b>Session-overridable:</b> <jk>false</jk> + </ul> + <p> + If <jk>true</jk>, only getters that have equivalent setters will be considered as properties on a bean. + Otherwise, they will be ignored. + <p> + <h5 class='section'>Notes:</h5> + <ul> + <li>This is equivalent to calling <code>setProperty(<jsf>BEAN_beansRequireSettersForGetters</jsf>, value)</code>. + </ul></div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>value</code> - The new value for this property.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>This object (for method chaining).</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></code> - If <a href="../../../org/apache/juneau/CoreApi.html#lock--"><code>lock()</code></a> was called on this class.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../org/apache/juneau/BeanContext.html#BEAN_beansRequireSettersForGetters"><code>BeanContext.BEAN_beansRequireSettersForGetters</code></a></dd> +</dl> +</li> +</ul> +<a name="setBeansRequireSomeProperties-boolean-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBeansRequireSomeProperties</h4> +<pre>public <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.354">setBeansRequireSomeProperties</a>(boolean value) + throws <a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></pre> +<div class="block"><b>Configuration property:</b> Beans require at least one property. + <p> + <ul> + <li><b>Name:</b> <js>"BeanContext.beansRequireSomeProperties"</js> + <li><b>Data type:</b> <code>Boolean</code> + <li><b>Default:</b> <jk>true</jk> + <li><b>Session-overridable:</b> <jk>false</jk> + </ul> + <p> + If <jk>true</jk>, then a Java class must contain at least 1 property to be considered a bean. + Otherwise, the bean will be serialized as a string using the <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"><code>Object.toString()</code></a> method. + <p> + The <a href="../../../org/apache/juneau/annotation/Bean.html" title="annotation in org.apache.juneau.annotation"><code>@Bean</code></a> annotation can be used on a class to override this setting when <jk>true</jk>. + <p> + <h5 class='section'>Notes:</h5> + <ul> + <li>This is equivalent to calling <code>setProperty(<jsf>BEAN_beansRequireSomeProperties</jsf>, value)</code>. + </ul></div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>value</code> - The new value for this property.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>This object (for method chaining).</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></code> - If <a href="../../../org/apache/juneau/CoreApi.html#lock--"><code>lock()</code></a> was called on this class.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../org/apache/juneau/BeanContext.html#BEAN_beansRequireSomeProperties"><code>BeanContext.BEAN_beansRequireSomeProperties</code></a></dd> +</dl> +</li> +</ul> +<a name="setBeanMapPutReturnsOldValue-boolean-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBeanMapPutReturnsOldValue</h4> +<pre>public <a href="../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a> <a href="../../../src-html/org/apache/juneau/CoreApi.html#line.383">setBeanMapPutReturnsOldValue</a>(boolean value) + throws <a href="../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></pre> +<div class="block"><b>Configuration property:</b> <a href="../../../org/apache/juneau/BeanMap.html#put-java.lang.String-java.lang.Object-"><code>BeanMap.put()</code></a> method will return old property value. + <p> + <ul> + <li><b>Name:</b> <js>"BeanContext.beanMapPutReturnsOldValue"</js> + <li><b>Data type:</b> <code>Boolean</code> + <li><b>Default:</b> <jk>false</jk> + <li>
<TRUNCATED>
