You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juneau.apache.org by ja...@apache.org on 2017/06/02 23:58:59 UTC
[12/51] [partial] incubator-juneau-website git commit: Add serializer
and parser listener APIs.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/5c161ab6/content/site/apidocs/org/apache/juneau/serializer/SerializerContext.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/serializer/SerializerContext.html b/content/site/apidocs/org/apache/juneau/serializer/SerializerContext.html
index 489aaf9..6417130 100644
--- a/content/site/apidocs/org/apache/juneau/serializer/SerializerContext.html
+++ b/content/site/apidocs/org/apache/juneau/serializer/SerializerContext.html
@@ -175,71 +175,77 @@ extends <a href="../../../../org/apache/juneau/BeanContext.html" title="class in
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <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/serializer/SerializerContext.html#SERIALIZER_listener">SERIALIZER_listener</a></span></code>
+<div class="block"><b>Configuration property:</b> Serializer listener.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <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/serializer/SerializerContext.html#SERIALIZER_maxDepth">SERIALIZER_maxDepth</a></span></code>
<div class="block"><b>Configuration property:</b> Max serialization depth.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>static <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/serializer/SerializerContext.html#SERIALIZER_quoteChar">SERIALIZER_quoteChar</a></span></code>
<div class="block"><b>Configuration property:</b> Quote character.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>static <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/serializer/SerializerContext.html#SERIALIZER_sortCollections">SERIALIZER_sortCollections</a></span></code>
<div class="block"><b>Configuration property:</b> Sort arrays and collections alphabetically.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>static <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/serializer/SerializerContext.html#SERIALIZER_sortMaps">SERIALIZER_sortMaps</a></span></code>
<div class="block"><b>Configuration property:</b> Sort maps alphabetically.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>static <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/serializer/SerializerContext.html#SERIALIZER_trimEmptyCollections">SERIALIZER_trimEmptyCollections</a></span></code>
<div class="block"><b>Configuration property:</b> Trim empty lists and arrays.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>static <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/serializer/SerializerContext.html#SERIALIZER_trimEmptyMaps">SERIALIZER_trimEmptyMaps</a></span></code>
<div class="block"><b>Configuration property:</b> Trim empty maps.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>static <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/serializer/SerializerContext.html#SERIALIZER_trimNullProperties">SERIALIZER_trimNullProperties</a></span></code>
<div class="block"><b>Configuration property:</b> Trim null bean property values.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>static <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/serializer/SerializerContext.html#SERIALIZER_trimStrings">SERIALIZER_trimStrings</a></span></code>
<div class="block"><b>Configuration property:</b> Trim strings.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>static <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/serializer/SerializerContext.html#SERIALIZER_uriContext">SERIALIZER_uriContext</a></span></code>
<div class="block"><b>Configuration property:</b> URI context bean.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>static <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/serializer/SerializerContext.html#SERIALIZER_uriRelativity">SERIALIZER_uriRelativity</a></span></code>
<div class="block"><b>Configuration property:</b> URI relativity.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>static <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/serializer/SerializerContext.html#SERIALIZER_uriResolution">SERIALIZER_uriResolution</a></span></code>
<div class="block"><b>Configuration property:</b> URI resolution.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>static <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/serializer/SerializerContext.html#SERIALIZER_useWhitespace">SERIALIZER_useWhitespace</a></span></code>
<div class="block"><b>Configuration property:</b> Use whitespace.</div>
@@ -771,14 +777,14 @@ extends <a href="../../../../org/apache/juneau/BeanContext.html" title="class in
<a name="SERIALIZER_abridged">
<!-- -->
</a>
-<ul class="blockListLast">
+<ul class="blockList">
<li class="blockList">
<h4>SERIALIZER_abridged</h4>
<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.336">SERIALIZER_abridged</a></pre>
<div class="block"><b>Configuration property:</b> Abridged output.
<p>
<ul>
- <li><b>Name:</b> <js>"Serializer.parserKnowsRootType"</js>
+ <li><b>Name:</b> <js>"Serializer.abridged"</js>
<li><b>Data type:</b> <code>Boolean</code>
<li><b>Default:</b> <jk>false</jk>
<li><b>Session-overridable:</b> <jk>true</jk>
@@ -796,6 +802,29 @@ extends <a href="../../../../org/apache/juneau/BeanContext.html" title="class in
</dl>
</li>
</ul>
+<a name="SERIALIZER_listener">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>SERIALIZER_listener</h4>
+<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.350">SERIALIZER_listener</a></pre>
+<div class="block"><b>Configuration property:</b> Serializer listener.
+ <p>
+ <ul>
+ <li><b>Name:</b> <js>"Serializer.listener"</js>
+ <li><b>Data type:</b> <code>Class<? extends SerializerListener></code>
+ <li><b>Default:</b> <jk>null</jk>
+ <li><b>Session-overridable:</b> <jk>true</jk>
+ </ul>
+ <p>
+ Class used to listen for errors and warnings that occur during serialization.</div>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../constant-values.html#org.apache.juneau.serializer.SerializerContext.SERIALIZER_listener">Constant Field Values</a></dd>
+</dl>
+</li>
+</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
@@ -810,7 +839,7 @@ extends <a href="../../../../org/apache/juneau/BeanContext.html" title="class in
<ul class="blockListLast">
<li class="blockList">
<h4>SerializerContext</h4>
-<pre>public <a href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.362">SerializerContext</a>(<a href="../../../../org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau">PropertyStore</a> ps)</pre>
+<pre>public <a href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.378">SerializerContext</a>(<a href="../../../../org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau">PropertyStore</a> ps)</pre>
<div class="block">Constructor.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -832,7 +861,7 @@ extends <a href="../../../../org/apache/juneau/BeanContext.html" title="class in
<ul class="blockListLast">
<li class="blockList">
<h4>asMap</h4>
-<pre>public <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.384">asMap</a>()</pre>
+<pre>public <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.401">asMap</a>()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/Context.html#asMap--">Context</a></code></span></div>
<div class="block">Returns the properties defined on this bean context as a simple map for debugging purposes.</div>
<dl>