Repository: incubator-juneau-website Updated Branches: refs/heads/asf-site 7728cf94d -> beb5f5d00
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/beb5f5d0/content/site/apidocs/org/apache/juneau/urlencoding/UonSerializer.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/urlencoding/UonSerializer.html b/content/site/apidocs/org/apache/juneau/urlencoding/UonSerializer.html index e207e7f..60bc760 100644 --- a/content/site/apidocs/org/apache/juneau/urlencoding/UonSerializer.html +++ b/content/site/apidocs/org/apache/juneau/urlencoding/UonSerializer.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}; +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,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -137,7 +137,7 @@ var activeTableTab = "activeTableTab"; <hr> <br> <pre><a href="../../../../org/apache/juneau/annotation/Produces.html" title="annotation in org.apache.juneau.annotation">@Produces</a>(<a href="../../../../org/apache/juneau/annotation/Produces.html#value--">value</a>="text/uon") -public class <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.164">UonSerializer</a> +public class <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.163">UonSerializer</a> extends <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html" title="class in org.apache.juneau.serializer">WriterSerializer</a></pre> <div class="block">Serializes POJO models to UON (a notation for URL-encoded query parameter values). @@ -295,25 +295,25 @@ extends <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html" <tr class="altColor"> <td class="colFirst"><code>static class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.Encoding.html" title="class in org.apache.juneau.urlencoding">UonSerializer.Encoding</a></span></code> -<div class="block">Equivalent to <code><jk>new</jk> UonSerializer().setProperty(UonSerializerContext.<jsf>UON_encodeChars</jsf>,<jk>true</jk>);</code>.</div> +<div class="block">Equivalent to <code><jk>new</jk> UonSerializer().setEncodeChars(<jk>true</jk>);</code>.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.Readable.html" title="class in org.apache.juneau.urlencoding">UonSerializer.Readable</a></span></code> -<div class="block">Equivalent to <code><jk>new</jk> UonSerializer().setProperty(UonSerializerContext.<jsf>UON_useWhitespace</jsf>,<jk>true</jk>);</code>.</div> +<div class="block">Equivalent to <code><jk>new</jk> UonSerializer().setUseWhitespace(<jk>true</jk>).setUseIndentation(<jk>true</jk>);</code>.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.Simple.html" title="class in org.apache.juneau.urlencoding">UonSerializer.Simple</a></span></code> -<div class="block">Equivalent to <code><jk>new</jk> UonSerializer().setProperty(UonSerializerContext.<jsf>UON_simpleMode</jsf>,<jk>true</jk>);</code>.</div> +<div class="block">Equivalent to <code><jk>new</jk> UonSerializer().setSimpleMode(<jk>true</jk>);</code>.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.SimpleEncoding.html" title="class in org.apache.juneau.urlencoding">UonSerializer.SimpleEncoding</a></span></code> -<div class="block">Equivalent to <code><jk>new</jk> UonSerializer().setProperty(UonSerializerContext.<jsf>UON_simpleMode</jsf>,<jk>true</jk>).setProperty(UonSerializerContext.<jsf>UON_encodeChars</jsf>,<jk>true</jk>);</code>.</div> +<div class="block">Equivalent to <code><jk>new</jk> UonSerializer().setSimpleMode(<jk>true</jk>).setEncodeChars(<jk>true</jk>);</code>.</div> </td> </tr> </table> @@ -395,42 +395,85 @@ extends <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html" </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.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><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#clone--">clone</a></span>()</code> <div class="block">Creates an unlocked clone of this object.</div> </td> </tr> -<tr id="i6" class="altColor"> +<tr id="i13" class="rowColor"> <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializerSession.html" title="class in org.apache.juneau.urlencoding">UonSerializerSession</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#createSession-java.lang.Object-org.apache.juneau.ObjectMap-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">createSession</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> output, <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> op, @@ -441,20 +484,102 @@ extends <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html" <div class="block">Create the session object that will be passed in to the serialize method.</div> </td> </tr> -<tr id="i7" class="rowColor"> +<tr id="i14" class="altColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#doSerialize-org.apache.juneau.serializer.SerializerSession-java.lang.Object-">doSerialize</a></span>(<a href="../../../../org/apache/juneau/serializer/SerializerSession.html" title="class in org.apache.juneau.serializer">SerializerSession</a> session, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> <div class="block">Serializes a POJO to the specified output stream or writer.</div> </td> </tr> -<tr id="i8" class="altColor"> +<tr id="i15" class="rowColor"> <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i9" class="rowColor"> +<tr id="i16" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i17" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i18" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i19" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i20" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i21" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i22" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i23" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i24" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i25" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i26" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i27" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i28" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i29" class="rowColor"> <td class="colFirst"><code>protected <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html" title="class in org.apache.juneau.serializer">SerializerWriter</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#serializeAnything-org.apache.juneau.urlencoding.UonSerializerSession-org.apache.juneau.urlencoding.UonWriter-java.lang.Object-org.apache.juneau.ClassMeta-java.lang.String-org.apache.juneau.BeanPropertyMeta-boolean-boolean-">serializeAnything</a></span>(<a href="../../../../org/apache/juneau/urlencoding/UonSerializerSession.html" title="class in org.apache.juneau.urlencoding">UonSerializerSession</a> session, <a href="../../../../org/apache/juneau/urlencoding/UonWriter.html" title="class in org.apache.juneau.urlencoding">UonWriter</a> out, @@ -467,23 +592,335 @@ extends <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html" <div class="block">Workhorse method.</div> </td> </tr> -<tr id="i10" class="altColor"> +<tr id="i30" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setAbsolutePathUriBase-java.lang.String-">setAbsolutePathUriBase</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> URI base for relative URIs with absolute paths.</div> +</td> +</tr> +<tr id="i31" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setAddBeanTypeProperties-boolean-">setAddBeanTypeProperties</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Add <js>"_type"</js> properties when needed.</div> +</td> +</tr> +<tr id="i32" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i11" class="rowColor"> +<tr id="i46" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setDetectRecursions-boolean-">setDetectRecursions</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Automatically detect POJO recursions.</div> +</td> +</tr> +<tr id="i49" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setEncodeChars-boolean-">setEncodeChars</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Encode non-valid URI characters.</div> +</td> +</tr> +<tr id="i50" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i51" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i52" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i53" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setIgnoreRecursions-boolean-">setIgnoreRecursions</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Ignore recursion errors.</div> +</td> +</tr> +<tr id="i54" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setIgnoreUnknownBeanProperties-boolean-">setIgnoreUnknownBeanProperties</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Ignore unknown properties.</div> +</td> +</tr> +<tr id="i55" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i56" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i57" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setInitialDepth-int-">setInitialDepth</a></span>(int value)</code> +<div class="block"><b>Configuration property:</b> Initial depth.</div> +</td> +</tr> +<tr id="i58" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i59" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setMaxDepth-int-">setMaxDepth</a></span>(int value)</code> +<div class="block"><b>Configuration property:</b> Max serialization depth.</div> +</td> +</tr> +<tr id="i60" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i61" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i62" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i63" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i64" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i65" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i66" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i67" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i68" class="altColor"> <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i12" class="altColor"> +<tr id="i69" class="rowColor"> <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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/urlencoding/UonSerializer.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="i70" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setQuoteChar-char-">setQuoteChar</a></span>(char value)</code> +<div class="block"><b>Configuration property:</b> Quote character.</div> +</td> +</tr> +<tr id="i71" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setRelativeUriBase-java.lang.String-">setRelativeUriBase</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> URI base for relative URIs.</div> +</td> +</tr> +<tr id="i72" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setSimpleMode-boolean-">setSimpleMode</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Use simplified output.</div> +</td> +</tr> +<tr id="i73" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setSortCollections-boolean-">setSortCollections</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Sort arrays and collections alphabetically.</div> +</td> +</tr> +<tr id="i74" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setSortMaps-boolean-">setSortMaps</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Sort maps alphabetically.</div> +</td> +</tr> +<tr id="i75" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i76" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i77" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setTrimEmptyCollections-boolean-">setTrimEmptyCollections</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Trim empty lists and arrays.</div> +</td> +</tr> +<tr id="i78" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setTrimEmptyMaps-boolean-">setTrimEmptyMaps</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Trim empty maps.</div> +</td> +</tr> +<tr id="i79" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setTrimNullProperties-boolean-">setTrimNullProperties</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Trim null bean property values.</div> +</td> +</tr> +<tr id="i80" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setTrimStrings-boolean-">setTrimStrings</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Trim strings.</div> +</td> +</tr> +<tr id="i81" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setUseIndentation-boolean-">setUseIndentation</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Use indentation.</div> +</td> +</tr> +<tr id="i82" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setUseInterfaceProxies-boolean-">setUseInterfaceProxies</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Use interface proxies.</div> +</td> +</tr> +<tr id="i83" class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.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="i84" class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html#setUseWhitespace-boolean-">setUseWhitespace</a></span>(boolean value)</code> +<div class="block"><b>Configuration property:</b> Use whitespace.</div> </td> </tr> </table> @@ -542,7 +979,7 @@ extends <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html" <ul class="blockList"> <li class="blockList"> <h4>DEFAULT</h4> -<pre>public static final <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.167">DEFAULT</a></pre> +<pre>public static final <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.166">DEFAULT</a></pre> <div class="block">Reusable instance of <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding"><code>UonSerializer</code></a>, all default settings.</div> </li> </ul> @@ -552,7 +989,7 @@ extends <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html" <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_SIMPLE</h4> -<pre>public static final <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.170">DEFAULT_SIMPLE</a></pre> +<pre>public static final <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.169">DEFAULT_SIMPLE</a></pre> <div class="block">Reusable instance of <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.Simple.html" title="class in org.apache.juneau.urlencoding"><code>UonSerializer.Simple</code></a>.</div> </li> </ul> @@ -562,7 +999,7 @@ extends <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html" <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_READABLE</h4> -<pre>public static final <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.173">DEFAULT_READABLE</a></pre> +<pre>public static final <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.172">DEFAULT_READABLE</a></pre> <div class="block">Reusable instance of <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.Readable.html" title="class in org.apache.juneau.urlencoding"><code>UonSerializer.Readable</code></a>.</div> </li> </ul> @@ -572,7 +1009,7 @@ extends <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html" <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_ENCODING</h4> -<pre>public static final <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.176">DEFAULT_ENCODING</a></pre> +<pre>public static final <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.175">DEFAULT_ENCODING</a></pre> <div class="block">Reusable instance of <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.Encoding.html" title="class in org.apache.juneau.urlencoding"><code>UonSerializer.Encoding</code></a>.</div> </li> </ul> @@ -582,7 +1019,7 @@ extends <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html" <ul class="blockListLast"> <li class="blockList"> <h4>DEFAULT_SIMPLE_ENCODING</h4> -<pre>public static final <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.179">DEFAULT_SIMPLE_ENCODING</a></pre> +<pre>public static final <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.178">DEFAULT_SIMPLE_ENCODING</a></pre> <div class="block">Reusable instance of <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.SimpleEncoding.html" title="class in org.apache.juneau.urlencoding"><code>UonSerializer.SimpleEncoding</code></a>.</div> </li> </ul> @@ -600,7 +1037,7 @@ extends <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html" <ul class="blockListLast"> <li class="blockList"> <h4>UonSerializer</h4> -<pre>public <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.164">UonSerializer</a>()</pre> +<pre>public <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.163">UonSerializer</a>()</pre> </li> </ul> </li> @@ -617,7 +1054,7 @@ extends <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html" <ul class="blockList"> <li class="blockList"> <h4>serializeAnything</h4> -<pre>protected <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html" title="class in org.apache.juneau.serializer">SerializerWriter</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.242">serializeAnything</a>(<a href="../../../../org/apache/juneau/urlencoding/UonSerializerSession.html" title="class in org.apache.juneau.urlencoding">UonSerializerSession</a> session, +<pre>protected <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html" title="class in org.apache.juneau.serializer">SerializerWriter</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.241">serializeAnything</a>(<a href="../../../../org/apache/juneau/urlencoding/UonSerializerSession.html" title="class in org.apache.juneau.urlencoding">UonSerializerSession</a> session, <a href="../../../../org/apache/juneau/urlencoding/UonWriter.html" title="class in org.apache.juneau.urlencoding">UonWriter</a> out, <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, <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> eType, @@ -717,183 +1154,2910 @@ extends <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html" </dl> </li> </ul> -<a name="setProperty-java.lang.String-java.lang.Object-"> +<a name="setSimpleMode-boolean-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>setProperty</h4> -<pre>public <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.416">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, - <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"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/CoreApi.html#setProperty-java.lang.String-java.lang.Object-">CoreApi</a></code></span></div> -<div class="block">Shortcut for calling <code>getContextFactory().setProperty(<jf>property</jf>, <jf>value</jf>);</code>.</div> +<h4>setSimpleMode</h4> +<pre>public <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.489">setSimpleMode</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> Use simplified output. + <p> + <ul> + <li><b>Name:</b> <js>"UonSerializer.simpleMode"</js> + <li><b>Data type:</b> <code>Boolean</code> + <li><b>Default:</b> <jk>false</jk> + <li><b>Session-overridable:</b> <jk>true</jk> + </ul> + <p> + If <jk>true</jk>, type flags will not be prepended to values in most cases. + <p> + Use this setting if the data types of the values (e.g. object/array/boolean/number/string) + is known on the receiving end. + <p> + It should be noted that the default behavior produces a data structure that can + be losslessly converted into JSON, and any JSON can be losslessly represented + in a URL-encoded value. However, this strict equivalency does not exist + when simple mode is used. + <p> + <table class='styled'> + <tr> + <th>Input (in JSON)</th> + <th>Normal mode output</th> + <th>Simple mode output</th> + </tr> + <tr> + <td class='code'>{foo:'bar',baz:'bing'}</td> + <td class='code'>$o(foo=bar,baz=bing)</td> + <td class='code'>(foo=bar,baz=bing)</td> + </tr> + <tr> + <td class='code'>{foo:{bar:'baz'}}</td> + <td class='code'>$o(foo=$o(bar=baz))</td> + <td class='code'>(foo=(bar=baz))</td> + </tr> + <tr> + <td class='code'>['foo','bar']</td> + <td class='code'>$a(foo,bar)</td> + <td class='code'>(foo,bar)</td> + </tr> + <tr> + <td class='code'>['foo',['bar','baz']]</td> + <td class='code'>$a(foo,$a(bar,baz))</td> + <td class='code'>(foo,(bar,baz))</td> + </tr> + <tr> + <td class='code'>true</td> + <td class='code'>$b(true)</td> + <td class='code'>true</td> + </tr> + <tr> + <td class='code'>123</td> + <td class='code'>$n(123)</td> + <td class='code'>123</td> + </tr> + </table> + <p> + <h5 class='section'>Notes:</h5> + <ul> + <li>This is equivalent to calling <code>setProperty(<jsf>UON_simpleMode</jsf>, value)</code>. + <li>This introduces a slight performance penalty. + </ul></div> <dl> -<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> -<dd><code><a href="../../../../org/apache/juneau/serializer/Serializer.html#setProperty-java.lang.String-java.lang.Object-">setProperty</a></code> in class <code><a href="../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a></code></dd> <dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>property</code> - The property name.</dd> -<dd><code>value</code> - The property value.</dd> +<dd><code>value</code> - The new value for this property.</dd> <dt><span class="returnLabel">Returns:</span></dt> -<dd>This class (for method chaining).</dd> +<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>CoreApi.lock()</code></a> has been called on this object or <a href="../../../../org/apache/juneau/ContextFactory.html" title="class in org.apache.juneau"><code>ContextFactory</code></a> object.</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/urlencoding/UonSerializer.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/ContextFactory.html#setProperty-java.lang.String-java.lang.Object-"><code>ContextFactory.setProperty(String, Object)</code></a></dd> +<dd><a href="../../../../org/apache/juneau/urlencoding/UonSerializerContext.html#UON_simpleMode"><code>UonSerializerContext.UON_simpleMode</code></a></dd> </dl> </li> </ul> -<a name="setProperties-org.apache.juneau.ObjectMap-"> +<a name="setUseWhitespace-boolean-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>setProperties</h4> -<pre>public <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.422">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"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/CoreApi.html#setProperties-org.apache.juneau.ObjectMap-">CoreApi</a></code></span></div> -<div class="block">Shortcut for calling <code>getContextFactory().setProperties(<jf>properties</jf>);</code>.</div> +<h4>setUseWhitespace</h4> +<pre>public <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.516">setUseWhitespace</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> Use whitespace. + <p> + <ul> + <li><b>Name:</b> <js>"UonSerializer.useWhitespace"</js> + <li><b>Data type:</b> <code>Boolean</code> + <li><b>Default:</b> <jk>false</jk> + <li><b>Session-overridable:</b> <jk>true</jk> + </ul> + <p> + If <jk>true</jk>, whitespace is added to the output to improve readability. + <p> + <h5 class='section'>Notes:</h5> + <ul> + <li>This is equivalent to calling <code>setProperty(<jsf>UON_useWhitespace</jsf>, value)</code>. + <li>This introduces a slight performance penalty. + </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/urlencoding/UonSerializer.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/urlencoding/UonSerializerContext.html#UON_useWhitespace"><code>UonSerializerContext.UON_useWhitespace</code></a></dd> +</dl> +</li> +</ul> +<a name="setEncodeChars-boolean-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setEncodeChars</h4> +<pre>public <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.547">setEncodeChars</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> Encode non-valid URI characters. + <p> + <ul> + <li><b>Name:</b> <js>"UonSerializer.encodeChars"</js> + <li><b>Data type:</b> <code>Boolean</code> + <li><b>Default:</b> <jk>false</jk> for <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding"><code>UonSerializer</code></a>, <jk>true</jk> for <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding"><code>UrlEncodingSerializer</code></a> + <li><b>Session-overridable:</b> <jk>true</jk> + </ul> + <p> + Encode non-valid URI characters with <js>"%xx"</js> constructs. + <p> + If <jk>true</jk>, non-valid URI characters will be converted to <js>"%xx"</js> sequences. + Set to <jk>false</jk> if parameter value is being passed to some other code that will already + perform URL-encoding of non-valid URI characters. + <p> + <h5 class='section'>Notes:</h5> + <ul> + <li>This is equivalent to calling <code>setProperty(<jsf>UON_encodeChars</jsf>, value)</code>. + <li>This introduces a slight performance penalty. + </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/urlencoding/UonSerializer.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/urlencoding/UonSerializerContext.html#UON_encodeChars"><code>UonSerializerContext.UON_encodeChars</code></a></dd> +</dl> +</li> +</ul> +<a name="setMaxDepth-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMaxDepth</h4> +<pre>public <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.552">setMaxDepth</a>(int value) + throws <a href="../../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/serializer/Serializer.html#setMaxDepth-int-">Serializer</a></code></span></div> +<div class="block"><b>Configuration property:</b> Max serialization depth. + <p> + <ul> + <li><b>Name:</b> <js>"Serializer.maxDepth"</js> + <li><b>Data type:</b> <code>Integer</code> + <li><b>Default:</b> <code>100</code> + <li><b>Session-overridable:</b> <jk>true</jk> + </ul> + <p> + Abort serialization if specified depth is reached in the POJO tree. + If this depth is exceeded, an exception is thrown. + This prevents stack overflows from occurring when trying to serialize models with recursive references. + <p> + <h5 class='section'>Notes:</h5> + <ul> + <li>This is equivalent to calling <code>setProperty(<jsf>SERIALIZER_maxDepth</jsf>, value)</code>. + </ul></div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> -<dd><code><a href="../../../../org/apache/juneau/CoreApi.html#setProperties-org.apache.juneau.ObjectMap-">setProperties</a></code> in class <code><a href="../../../../org/apache/juneau/CoreApi.html" title="class in org.apache.juneau">CoreApi</a></code></dd> +<dd><code><a href="../../../../org/apache/juneau/serializer/Serializer.html#setMaxDepth-int-">setMaxDepth</a></code> in class <code><a href="../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a></code></dd> <dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>properties</code> - The properties to set on this class.</dd> +<dd><code>value</code> - The new value for this property.</dd> <dt><span class="returnLabel">Returns:</span></dt> -<dd>This class (for method chaining).</dd> +<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>CoreApi.lock()</code></a> has been called on this object.</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/serializer/Serializer.html#lock--"><code>Serializer.lock()</code></a> was called on this class.</dd> <dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../org/apache/juneau/ContextFactory.html#setProperties-java.util.Map-"><code>ContextFactory.setProperties(java.util.Map)</code></a></dd> +<dd><a href="../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_maxDepth"><code>SerializerContext.SERIALIZER_maxDepth</code></a></dd> </dl> </li> </ul> -<a name="addNotBeanClasses-java.lang.Class...-"> +<a name="setInitialDepth-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>addNotBeanClasses</h4> -<pre>public <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.428">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) +<h4>setInitialDepth</h4> +<pre>public <a href="../../../../org/apache/juneau/urlencoding/UonSerializer.html" title="class in org.apache.juneau.urlencoding">UonSerializer</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UonSerializer.html#line.558">setInitialDepth</a>(int value) + throws <a href="../../../../org/apache/juneau/LockedException.html" title="class in org.apache.juneau">LockedException</a></pre> +<div class="block"><span class="descfr <TRUNCATED>
