http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1b5bde65/content/site/apidocs/org/apache/juneau/csv/CsvParserBuilder.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/csv/CsvParserBuilder.html
b/content/site/apidocs/org/apache/juneau/csv/CsvParserBuilder.html
index 91842e4..3c11b1b 100644
--- a/content/site/apidocs/org/apache/juneau/csv/CsvParserBuilder.html
+++ b/content/site/apidocs/org/apache/juneau/csv/CsvParserBuilder.html
@@ -694,17 +694,18 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.52">trimStrings</a>(boolean value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/parser/ParserBuilder.html#trimStrings-boolean-">ParserBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Trim parsed strings.
- <p>
+
<ul>
<li><b>Name:</b> <js>"Parser.trimStrings"</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>, string values will be trimmed of whitespace using <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true#trim--"
title="class or interface in java.lang"><code>String.trim()</code></a> before
being added to
the POJO.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>PARSER_trimStrings</jsf>, value)</code>.
@@ -730,18 +731,20 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.58">strict</a>(boolean value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/parser/ParserBuilder.html#strict-boolean-">ParserBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Strict mode.
- <p>
+
<ul>
<li><b>Name:</b> <js>"Parser.strict"</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>, strict mode for the parser is enabled.
+
<p>
Strict mode can mean different things for different parsers.
- <p>
+
<table class='styled'>
<tr><th>Parser class</th><th>Strict behavior</th></tr>
<tr>
@@ -766,7 +769,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
</td>
</tr>
</table>
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>PARSER_strict</jsf>,value)</code>.
@@ -809,18 +812,20 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.70">inputStreamCharset</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> value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/parser/ParserBuilder.html#inputStreamCharset-java.lang.String-">ParserBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Input stream charset.
- <p>
+
<ul>
<li><b>Name:</b> <js>"Parser.inputStreamCharset"</js>
<li><b>Data type:</b> <code>String</code>
<li><b>Default:</b> <js>"UTF-8"</js>
<li><b>Session-overridable:</b> <jk>true</jk>
</ul>
+
<p>
The character set to use for converting <code>InputStreams</code> and byte
arrays to readers.
+
<p>
Used when passing in input streams and byte arrays to <a
href="../../../../org/apache/juneau/parser/Parser.html#parse-java.lang.Object-java.lang.Class-"><code>Parser.parse(Object,
Class)</code></a>.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>PARSER_inputStreamCharset</jsf>, value)</code>.
@@ -846,20 +851,23 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.76">fileCharset</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> value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/parser/ParserBuilder.html#fileCharset-java.lang.String-">ParserBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> File charset.
- <p>
+
<ul>
<li><b>Name:</b> <js>"Parser.fileCharset"</js>
<li><b>Data type:</b> <code>String</code>
<li><b>Default:</b> <js>"default"</js>
<li><b>Session-overridable:</b> <jk>true</jk>
</ul>
+
<p>
The character set to use for reading <code>Files</code> from the file system.
+
<p>
Used when passing in files to <a
href="../../../../org/apache/juneau/parser/Parser.html#parse-java.lang.Object-java.lang.Class-"><code>Parser.parse(Object,
Class)</code></a>.
+
<p>
<js>"default"</js> can be used to indicate the JVM default file system
charset.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>PARSER_fileCharset</jsf>,value)</code>.
@@ -885,13 +893,14 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.82">listener</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><? extends <a
href="../../../../org/apache/juneau/parser/ParserListener.html" title="class in
org.apache.juneau.parser">ParserListener</a>> value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/parser/ParserBuilder.html#listener-java.lang.Class-">ParserBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Parser listener.
- <p>
+
<ul>
<li><b>Name:</b> <js>"Parser.listener"</js>
<li><b>Data type:</b> <code>Class<? extends ParserListener></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 parsing.</div>
<dl>
@@ -915,19 +924,21 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.88">beansRequireDefaultConstructor</a>(boolean value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#beansRequireDefaultConstructor-boolean-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Beans require no-arg
constructors.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.beansRequireDefaultConstructor"</js>
<li><b>Data type:</b> <code>Boolean</code>
<li><b>Default:</b> <jk>false</jk>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
If <jk>true</jk>, a Java class must implement a default no-arg constructor to
be considered a bean.
Otherwise, the bean will be serialized as a string using the <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--"
title="class or interface in java.lang"><code>Object.toString()</code></a>
method.
+
<p>
The <a href="../../../../org/apache/juneau/annotation/Bean.html"
title="annotation in org.apache.juneau.annotation"><code>@Bean</code></a>
annotation can be used on a class to override this setting when <jk>true</jk>.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_beansRequireDefaultConstructor</jsf>, value)</code>.
@@ -953,19 +964,21 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.94">beansRequireSerializable</a>(boolean value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#beansRequireSerializable-boolean-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Beans require <a
href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true"
title="class or interface in java.io"><code>Serializable</code></a> interface.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.beansRequireSerializable"</js>
<li><b>Data type:</b> <code>Boolean</code>
<li><b>Default:</b> <jk>false</jk>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
If <jk>true</jk>, a Java class must implement the <a
href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true"
title="class or interface in java.io"><code>Serializable</code></a> interface
to be considered a bean.
Otherwise, the bean will be serialized as a string using the <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--"
title="class or interface in java.lang"><code>Object.toString()</code></a>
method.
+
<p>
The <a href="../../../../org/apache/juneau/annotation/Bean.html"
title="annotation in org.apache.juneau.annotation"><code>@Bean</code></a>
annotation can be used on a class to override this setting when <jk>true</jk>.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_beansRequireSerializable</jsf>, value)</code>.
@@ -991,17 +1004,18 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.100">beansRequireSettersForGetters</a>(boolean value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#beansRequireSettersForGetters-boolean-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Beans require setters for
getters.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.beansRequireSettersForGetters"</js>
<li><b>Data type:</b> <code>Boolean</code>
<li><b>Default:</b> <jk>false</jk>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
If <jk>true</jk>, only getters that have equivalent setters will be
considered as properties on a bean.
Otherwise, they will be ignored.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_beansRequireSettersForGetters</jsf>, value)</code>.
@@ -1027,19 +1041,21 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.106">beansRequireSomeProperties</a>(boolean value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#beansRequireSomeProperties-boolean-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Beans require at least one
property.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.beansRequireSomeProperties"</js>
<li><b>Data type:</b> <code>Boolean</code>
<li><b>Default:</b> <jk>true</jk>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
If <jk>true</jk>, then a Java class must contain at least 1 property to be
considered a bean.
Otherwise, the bean will be serialized as a string using the <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--"
title="class or interface in java.lang"><code>Object.toString()</code></a>
method.
+
<p>
The <a href="../../../../org/apache/juneau/annotation/Bean.html"
title="annotation in org.apache.juneau.annotation"><code>@Bean</code></a>
annotation can be used on a class to override this setting when <jk>true</jk>.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_beansRequireSomeProperties</jsf>, value)</code>.
@@ -1066,20 +1082,22 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#beanMapPutReturnsOldValue-boolean-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> <a
href="../../../../org/apache/juneau/BeanMap.html#put-java.lang.String-java.lang.Object-"><code>BeanMap.put()</code></a>
method will return old property
value.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.beanMapPutReturnsOldValue"</js>
<li><b>Data type:</b> <code>Boolean</code>
<li><b>Default:</b> <jk>false</jk>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
If <jk>true</jk>, then the <a
href="../../../../org/apache/juneau/BeanMap.html#put-java.lang.String-java.lang.Object-"><code>BeanMap.put()</code></a>
method will return old property
values.
Otherwise, it returns <jk>null</jk>.
+
<p>
Disabled by default because it introduces a slight performance penalty.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_beanMapPutReturnsOldValue</jsf>, value)</code>.
@@ -1105,18 +1123,19 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.118">beanConstructorVisibility</a>(<a
href="../../../../org/apache/juneau/Visibility.html" title="enum in
org.apache.juneau">Visibility</a> value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#beanConstructorVisibility-org.apache.juneau.Visibility-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Look for bean constructors
with the specified minimum visibility.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.beanConstructorVisibility"</js>
<li><b>Data type:</b> <a
href="../../../../org/apache/juneau/Visibility.html" title="enum in
org.apache.juneau"><code>Visibility</code></a>
<li><b>Default:</b> <a
href="../../../../org/apache/juneau/Visibility.html#PUBLIC"><code>Visibility.PUBLIC</code></a>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
Constructors not meeting this minimum visibility will be ignored.
- For example, if the visibility is <code>PUBLIC</code> and the constructor is
<jk>protected</jk>, then
- the constructor will be ignored.
- <p>
+ For example, if the visibility is <code>PUBLIC</code> and the constructor is
<jk>protected</jk>, then the
+ constructor will be ignored.
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_beanConstructorVisibility</jsf>, value)</code>.
@@ -1142,18 +1161,19 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.124">beanClassVisibility</a>(<a
href="../../../../org/apache/juneau/Visibility.html" title="enum in
org.apache.juneau">Visibility</a> value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#beanClassVisibility-org.apache.juneau.Visibility-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Look for bean classes with
the specified minimum visibility.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.beanClassVisibility"</js>
<li><b>Data type:</b> <a
href="../../../../org/apache/juneau/Visibility.html" title="enum in
org.apache.juneau"><code>Visibility</code></a>
<li><b>Default:</b> <a
href="../../../../org/apache/juneau/Visibility.html#PUBLIC"><code>Visibility.PUBLIC</code></a>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
Classes are not considered beans unless they meet the minimum visibility
requirements.
- For example, if the visibility is <code>PUBLIC</code> and the bean class is
<jk>protected</jk>, then
- the class will not be interpreted as a bean class.
- <p>
+ For example, if the visibility is <code>PUBLIC</code> and the bean class is
<jk>protected</jk>, then the class
+ will not be interpreted as a bean class.
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_beanClassVisibility</jsf>, value)</code>.
@@ -1179,18 +1199,19 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.130">beanFieldVisibility</a>(<a
href="../../../../org/apache/juneau/Visibility.html" title="enum in
org.apache.juneau">Visibility</a> value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#beanFieldVisibility-org.apache.juneau.Visibility-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Look for bean fields with
the specified minimum visibility.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.beanFieldVisibility"</js>
<li><b>Data type:</b> <a
href="../../../../org/apache/juneau/Visibility.html" title="enum in
org.apache.juneau"><code>Visibility</code></a>
<li><b>Default:</b> <a
href="../../../../org/apache/juneau/Visibility.html#PUBLIC"><code>Visibility.PUBLIC</code></a>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
Fields are not considered bean properties unless they meet the minimum
visibility requirements.
- For example, if the visibility is <code>PUBLIC</code> and the bean field is
<jk>protected</jk>, then
- the field will not be interpreted as a bean property.
- <p>
+ For example, if the visibility is <code>PUBLIC</code> and the bean field is
<jk>protected</jk>, then the field
+ will not be interpreted as a bean property.
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_beanFieldVisibility</jsf>, value)</code>.
@@ -1217,18 +1238,19 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.136">methodVisibility</a>(<a
href="../../../../org/apache/juneau/Visibility.html" title="enum in
org.apache.juneau">Visibility</a> value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#methodVisibility-org.apache.juneau.Visibility-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Look for bean methods with
the specified minimum visibility.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.methodVisibility"</js>
<li><b>Data type:</b> <a
href="../../../../org/apache/juneau/Visibility.html" title="enum in
org.apache.juneau"><code>Visibility</code></a>
<li><b>Default:</b> <a
href="../../../../org/apache/juneau/Visibility.html#PUBLIC"><code>Visibility.PUBLIC</code></a>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
Methods are not considered bean getters/setters unless they meet the minimum
visibility requirements.
- For example, if the visibility is <code>PUBLIC</code> and the bean method is
<jk>protected</jk>, then
- the method will not be interpreted as a bean getter or setter.
- <p>
+ For example, if the visibility is <code>PUBLIC</code> and the bean method is
<jk>protected</jk>, then the method
+ will not be interpreted as a bean getter or setter.
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_methodVisibility</jsf>, value)</code>.
@@ -1255,17 +1277,18 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.142">useJavaBeanIntrospector</a>(boolean value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#useJavaBeanIntrospector-boolean-">CoreObjectBuilder</a></code></span></div>
<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.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.useJavaBeanIntrospector"</js>
<li><b>Data type:</b> <code>Boolean</code>
<li><b>Default:</b> <jk>false</jk>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
Using the built-in Java bean introspector will not pick up fields or
non-standard getters/setters.
- <p>
- <h5 class='section'>Notes:</h5>
+
+ <h5 class 'section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_useJavaBeanIntrospector</jsf>, value)</code>.
<li>Most <a href="../../../../org/apache/juneau/annotation/Bean.html"
title="annotation in org.apache.juneau.annotation"><code>@Bean</code></a>
annotations will be ignored if you enable this setting.
@@ -1291,17 +1314,18 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.148">useInterfaceProxies</a>(boolean value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#useInterfaceProxies-boolean-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Use interface proxies.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.useInterfaceProxies"</js>
<li><b>Data type:</b> <code>Boolean</code>
<li><b>Default:</b> <jk>true</jk>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
If <jk>true</jk>, then interfaces will be instantiated as proxy classes
through the use of an
<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/InvocationHandler.html?is-external=true"
title="class or interface in
java.lang.reflect"><code>InvocationHandler</code></a> if there is no other way
of instantiating them.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_useInterfaceProxies</jsf>, value)</code>.
@@ -1327,17 +1351,18 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.154">ignoreUnknownBeanProperties</a>(boolean value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#ignoreUnknownBeanProperties-boolean-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Ignore unknown properties.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.ignoreUnknownBeanProperties"</js>
<li><b>Data type:</b> <code>Boolean</code>
<li><b>Default:</b> <jk>false</jk>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
If <jk>true</jk>, trying to set a value on a non-existent bean property will
silently be ignored.
Otherwise, a <code>BeanRuntimeException</code> is thrown.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_ignoreUnknownBeanProperties</jsf>, value)</code>.
@@ -1363,17 +1388,18 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.160">ignoreUnknownNullBeanProperties</a>(boolean value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#ignoreUnknownNullBeanProperties-boolean-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Ignore unknown properties
with null values.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.ignoreUnknownNullBeanProperties"</js>
<li><b>Data type:</b> <code>Boolean</code>
<li><b>Default:</b> <jk>true</jk>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
If <jk>true</jk>, trying to set a <jk>null</jk> value on a non-existent bean
property will silently be ignored.
Otherwise, a <code>BeanRuntimeException</code> is thrown.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_ignoreUnknownNullBeanProperties</jsf>, value)</code>.
@@ -1399,17 +1425,18 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.166">ignorePropertiesWithoutSetters</a>(boolean value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#ignorePropertiesWithoutSetters-boolean-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Ignore properties without
setters.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.ignorePropertiesWithoutSetters"</js>
<li><b>Data type:</b> <code>Boolean</code>
<li><b>Default:</b> <jk>true</jk>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
If <jk>true</jk>, trying to set a value on a bean property without a setter
will silently be ignored.
Otherwise, a <code>BeanRuntimeException</code> is thrown.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_ignorePropertiesWithoutSetters</jsf>, value)</code>.
@@ -1435,17 +1462,18 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.172">ignoreInvocationExceptionsOnGetters</a>(boolean value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#ignoreInvocationExceptionsOnGetters-boolean-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Ignore invocation errors on
getters.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.ignoreInvocationExceptionsOnGetters"</js>
<li><b>Data type:</b> <code>Boolean</code>
<li><b>Default:</b> <jk>false</jk>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
If <jk>true</jk>, errors thrown when calling bean getter methods will
silently be ignored.
Otherwise, a <code>BeanRuntimeException</code> is thrown.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_ignoreInvocationExceptionsOnGetters</jsf>,
value)</code>.
@@ -1471,17 +1499,18 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.178">ignoreInvocationExceptionsOnSetters</a>(boolean value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#ignoreInvocationExceptionsOnSetters-boolean-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Ignore invocation errors on
setters.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.ignoreInvocationExceptionsOnSetters"</js>
<li><b>Data type:</b> <code>Boolean</code>
<li><b>Default:</b> <jk>false</jk>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
If <jk>true</jk>, errors thrown when calling bean setter methods will
silently be ignored.
Otherwise, a <code>BeanRuntimeException</code> is thrown.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_ignoreInvocationExceptionsOnSetters</jsf>,
value)</code>.
@@ -1507,24 +1536,26 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.184">sortProperties</a>(boolean value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#sortProperties-boolean-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Sort bean properties in
alphabetical order.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.sortProperties"</js>
<li><b>Data type:</b> <code>Boolean</code>
<li><b>Default:</b> <jk>false</jk>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
When <jk>true</jk>, all bean properties will be serialized and access in
alphabetical order.
- Otherwise, the natural order of the bean properties is used which is
dependent on the
- JVM vendor.
+ Otherwise, the natural order of the bean properties is used which is
dependent on the JVM vendor.
On IBM JVMs, the bean properties are ordered based on their ordering in the
Java file.
- On Oracle JVMs, the bean properties are not ordered (which follows the
offical JVM specs).
- <p>
+ On Oracle JVMs, the bean properties are not ordered (which follows the
official JVM specs).
+
<h5 class='section'>Notes:</h5>
<ul>
- <li>This is equivalent to calling
<code>property(<jsf>BEAN_sortProperties</jsf>, value)</code>.
- <li>This property is disabled by default so that IBM JVM users don't have
to use <a href="../../../../org/apache/juneau/annotation/Bean.html"
title="annotation in org.apache.juneau.annotation"><code>@Bean</code></a>
annotations
+ <li>
+ This is equivalent to calling
<code>property(<jsf>BEAN_sortProperties</jsf>, value)</code>.
+ <li>
+ This property is disabled by default so that IBM JVM users don't have to
use <a href="../../../../org/apache/juneau/annotation/Bean.html"
title="annotation in org.apache.juneau.annotation"><code>@Bean</code></a>
annotations
to force bean properties to be in a particular order and can just alter
the order of the fields/methods
in the Java file.
</ul></div>
@@ -1549,7 +1580,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.190">notBeanPackages</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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#notBeanPackages-java.lang.String...-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Add to packages whose
classes should not be considered beans.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>addToProperty(<jsf>BEAN_notBeanPackages</jsf>, values)</code>
@@ -1576,6 +1607,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.196">notBeanPackages</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true"
title="class or interface in java.util">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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#notBeanPackages-java.util.Collection-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Add to packages whose
classes should not be considered beans.
+
<p>
Same as <a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#notBeanPackages-java.lang.String...-"><code>CoreObjectBuilder.notBeanPackages(String...)</code></a>
but using a <code>Collection</code>.</div>
<dl>
@@ -1599,7 +1631,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.202">setNotBeanPackages</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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#setNotBeanPackages-java.lang.String...-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Packages whose classes
should not be considered beans.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.notBeanPackages.set"</js>
<li><b>Data type:</b> <code>Set<String></code>
@@ -1616,13 +1648,16 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
</ul>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
When specified, the current list of ignore packages are appended to.
+
<p>
Any classes within these packages will be serialized to strings using <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--"
title="class or interface in java.lang"><code>Object.toString()</code></a>.
+
<p>
Note that you can specify prefix patterns to include all subpackages.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_notBeanPackages</jsf>, values)</code>.
@@ -1648,7 +1683,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.208">setNotBeanPackages</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true"
title="class or interface in java.util">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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#setNotBeanPackages-java.util.Collection-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Packages whose classes
should not be considered beans.
- <p>
+
Same as <a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#setNotBeanPackages-java.lang.String...-"><code>CoreObjectBuilder.setNotBeanPackages(String...)</code></a>
but using a <code>Collection</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
@@ -1671,7 +1706,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.214">removeNotBeanPackages</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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#removeNotBeanPackages-java.lang.String...-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Remove from packages whose
classes should not be considered beans.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>removeFromProperty(<jsf>BEAN_notBeanPackages</jsf>, values)</code>
@@ -1699,6 +1734,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.220">removeNotBeanPackages</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true"
title="class or interface in java.util">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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#removeNotBeanPackages-java.util.Collection-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Remove from packages whose
classes should not be considered beans.
+
<p>
Same as <a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#removeNotBeanPackages-java.lang.String...-"><code>CoreObjectBuilder.removeNotBeanPackages(String...)</code></a>
but using a <code>Collection</code>.</div>
<dl>
@@ -1723,7 +1759,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.226">notBeanClasses</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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#notBeanClasses-java.lang.Class...-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Add to classes that should
not be considered beans.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>addToProperty(<jsf>BEAN_notBeanClasses</jsf>, values)</code>
@@ -1751,6 +1787,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.232">notBeanClasses</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true"
title="class or interface in java.util">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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#notBeanClasses-java.util.Collection-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Add to classes that should
not be considered beans.
+
<p>
Same as <a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#notBeanClasses-java.lang.Class...-"><code>CoreObjectBuilder.notBeanClasses(Class...)</code></a>
but using a <code>Collection</code>.</div>
<dl>
@@ -1775,17 +1812,18 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.238">setNotBeanClasses</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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#setNotBeanClasses-java.lang.Class...-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Classes to be excluded from
consideration as being beans.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.notBeanClasses.set"</js>
<li><b>Data type:</b> <code>Set<Class></code>
<li><b>Default:</b> empty set
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
- Not-bean classes are typically converted to <code>Strings</code> during
serialization even if they
- appear to be bean-like.
- <p>
+ Not-bean classes are typically converted to <code>Strings</code> during
serialization even if they appear to be
+ bean-like.
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_notBeanClasses</jsf>, values)</code>.
@@ -1811,6 +1849,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.244">setNotBeanClasses</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true"
title="class or interface in java.util">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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#setNotBeanClasses-java.util.Collection-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Classes to be excluded from
consideration as being beans.
+
<p>
Same as <a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#setNotBeanClasses-java.lang.Class...-"><code>CoreObjectBuilder.setNotBeanClasses(Class...)</code></a>
but using a <code>Collection</code>.</div>
<dl>
@@ -1834,7 +1873,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.250">removeNotBeanClasses</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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#removeNotBeanClasses-java.lang.Class...-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Remove from classes that
should not be considered beans.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>removeFromProperty(<jsf>BEAN_notBeanClasses</jsf>, values)</code>
@@ -1862,6 +1901,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.256">removeNotBeanClasses</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true"
title="class or interface in java.util">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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#removeNotBeanClasses-java.util.Collection-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Remove from classes that
should not be considered beans.
+
<p>
Same as <a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#removeNotBeanClasses-java.lang.Class...-"><code>CoreObjectBuilder.removeNotBeanClasses(Class...)</code></a>
but using a <code>Collection</code>.</div>
<dl>
@@ -1886,7 +1926,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.262">beanFilters</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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#beanFilters-java.lang.Class...-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Add to bean filters.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>addToProperty(<jsf>BEAN_beanFilters</jsf>, values)</code>
@@ -1914,6 +1954,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.268">beanFilters</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true"
title="class or interface in java.util">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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#beanFilters-java.util.Collection-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Add to bean filters.
+
<p>
Same as <a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#beanFilters-java.lang.Class...-"><code>CoreObjectBuilder.beanFilters(Class...)</code></a>
but using a <code>Collection</code>.</div>
<dl>
@@ -1938,28 +1979,32 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.274">setBeanFilters</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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#setBeanFilters-java.lang.Class...-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Bean filters to apply to
beans.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.beanFilters.list"</js>
<li><b>Data type:</b> <code>List<Class></code>
<li><b>Default:</b> empty list
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
This is a programmatic equivalent to the <a
href="../../../../org/apache/juneau/annotation/Bean.html" title="annotation in
org.apache.juneau.annotation"><code>@Bean</code></a> annotation.
- It's useful when you want to use the Bean annotation functionality, but you
don't have the ability
- to alter the bean classes.
+ It's useful when you want to use the Bean annotation functionality, but you
don't have the ability to alter the
+ bean classes.
+
<p>
There are two category of classes that can be passed in through this method:
<ul class='spaced-list'>
- <li>Subclasses of <a
href="../../../../org/apache/juneau/transform/BeanFilterBuilder.html"
title="class in org.apache.juneau.transform"><code>BeanFilterBuilder</code></a>.
+ <li>
+ Subclasses of <a
href="../../../../org/apache/juneau/transform/BeanFilterBuilder.html"
title="class in org.apache.juneau.transform"><code>BeanFilterBuilder</code></a>.
These must have a public no-arg constructor.
- <li>Bean interface classes.
+ <li>
+ Bean interface classes.
A shortcut for defining a <a
href="../../../../org/apache/juneau/transform/InterfaceBeanFilterBuilder.html"
title="class in
org.apache.juneau.transform"><code>InterfaceBeanFilterBuilder</code></a>.
Any subclasses of an interface class will only have properties defined
on the interface.
All other bean properties will be ignored.
</ul>
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_beanFilters</jsf>, values)</code>.
@@ -1985,6 +2030,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.280">setBeanFilters</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true"
title="class or interface in java.util">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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#setBeanFilters-java.util.Collection-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Bean filters to apply to
beans.
+
<p>
Same as <a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#setBeanFilters-java.lang.Class...-"><code>CoreObjectBuilder.setBeanFilters(Class...)</code></a>
but using a <code>Collection</code>.</div>
<dl>
@@ -2008,7 +2054,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.286">removeBeanFilters</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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#removeBeanFilters-java.lang.Class...-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Remove from bean filters.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>removeFromProperty(<jsf>BEAN_beanFilters</jsf>, values)</code>
@@ -2036,6 +2082,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.292">removeBeanFilters</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true"
title="class or interface in java.util">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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#removeBeanFilters-java.util.Collection-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Remove from bean filters.
+
<p>
Same as <a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#removeBeanFilters-java.lang.Class...-"><code>CoreObjectBuilder.removeBeanFilters(Class...)</code></a>
but using a <code>Collection</code>.</div>
<dl>
@@ -2060,7 +2107,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.298">pojoSwaps</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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#pojoSwaps-java.lang.Class...-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Add to POJO swaps.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>addToProperty(<jsf>BEAN_pojoSwaps</jsf>, values)</code>
@@ -2088,6 +2135,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.304">pojoSwaps</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true"
title="class or interface in java.util">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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#pojoSwaps-java.util.Collection-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Add to POJO swaps.
+
<p>
Same as <a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#pojoSwaps-java.lang.Class...-"><code>CoreObjectBuilder.pojoSwaps(Class...)</code></a>
but using a <code>Collection</code>.</div>
<dl>
@@ -2112,20 +2160,21 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.310">setPojoSwaps</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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#setPojoSwaps-java.lang.Class...-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> POJO swaps to apply to Java
objects.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.pojoSwaps.list"</js>
<li><b>Data type:</b> <code>List<Class></code>
<li><b>Default:</b> empty list
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
There are two category of classes that can be passed in through this method:
<ul>
<li>Subclasses of <a
href="../../../../org/apache/juneau/transform/PojoSwap.html" title="class in
org.apache.juneau.transform"><code>PojoSwap</code></a>.
<li>Surrogate classes. A shortcut for defining a <a
href="../../../../org/apache/juneau/transform/SurrogateSwap.html" title="class
in org.apache.juneau.transform"><code>SurrogateSwap</code></a>.
</ul>
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling <code>property(<jsf>BEAN_pojoSwaps</jsf>,
values)</code>.
@@ -2151,6 +2200,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.316">setPojoSwaps</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true"
title="class or interface in java.util">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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#setPojoSwaps-java.util.Collection-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> POJO swaps to apply to Java
objects.
+
<p>
Same as <a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#setPojoSwaps-java.lang.Class...-"><code>CoreObjectBuilder.setPojoSwaps(Class...)</code></a>
but using a <code>Collection</code>.</div>
<dl>
@@ -2174,7 +2224,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.322">removePojoSwaps</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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#removePojoSwaps-java.lang.Class...-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Remove from POJO swaps.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>removeFromProperty(<jsf>BEAN_pojoSwaps</jsf>, values)</code>
@@ -2202,6 +2252,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.328">removePojoSwaps</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true"
title="class or interface in java.util">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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#removePojoSwaps-java.util.Collection-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Remove from POJO swaps.
+
<p>
Same as <a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#removePojoSwaps-java.lang.Class...-"><code>CoreObjectBuilder.removePojoSwaps(Class...)</code></a>
but using a <code>Collection</code>.</div>
<dl>
@@ -2226,18 +2277,19 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.334">implClasses</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true"
title="class or interface in java.util">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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#implClasses-java.util.Map-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Implementation classes for
interfaces and abstract classes.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.implClasses.map"</js>
<li><b>Data type:</b> <code>Map<Class,Class></code>
<li><b>Default:</b> empty map
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
- For interfaces and abstract classes this method can be used to specify an
implementation
- class for the interface/abstract class so that instances of the
implementation
- class are used when instantiated (e.g. during a parse).
- <p>
+ For interfaces and abstract classes this method can be used to specify an
implementation class for the
+ interface/abstract class so that instances of the implementation class are
used when instantiated (e.g. during a
+ parse).
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_implClasses</jsf>, values)</code>.
@@ -2264,7 +2316,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#implClass-java.lang.Class-java.lang.Class-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Implementation classes for
interfaces and abstract classes.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>putToProperty(<jsf>BEAN_implClasses</jsf>, interfaceClass,
implClass)</code>
@@ -2295,7 +2347,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.346">beanDictionary</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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#beanDictionary-java.lang.Class...-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Add to bean dictionary.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>addToProperty(<jsf>BEAN_beanDictionary</jsf>, values)</code>
@@ -2323,6 +2375,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.352">beanDictionary</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true"
title="class or interface in java.util">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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#beanDictionary-java.util.Collection-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Add to bean dictionary.
+
<p>
Same as <a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#beanDictionary-java.lang.Class...-"><code>CoreObjectBuilder.beanDictionary(Class...)</code></a>
but using a <code>Collection</code>.</div>
<dl>
@@ -2347,13 +2400,14 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.358">setBeanDictionary</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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#setBeanDictionary-java.lang.Class...-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Bean lookup dictionary.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.beanDictionary.list"</js>
<li><b>Data type:</b> <code>List<Class></code>
<li><b>Default:</b> empty list
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
This list can consist of the following class types:
<ul>
@@ -2363,7 +2417,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<li>Any subclass of <a
href="../../../../org/apache/juneau/BeanDictionaryMap.html" title="class in
org.apache.juneau"><code>BeanDictionaryMap</code></a> containing a mapping of
type names to classes without type name
annotations.
</ul>
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_beanDictionary</jsf>, values)</code>.
@@ -2389,6 +2443,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.364">setBeanDictionary</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true"
title="class or interface in java.util">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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#setBeanDictionary-java.util.Collection-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Bean lookup dictionary.
+
<p>
Same as <a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#setBeanDictionary-java.lang.Class...-"><code>CoreObjectBuilder.setBeanDictionary(Class...)</code></a>
but using a <code>Collection</code>.</div>
<dl>
@@ -2412,7 +2467,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.370">removeFromBeanDictionary</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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#removeFromBeanDictionary-java.lang.Class...-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Remove from bean dictionary.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>removeFromProperty(<jsf>BEAN_beanDictionary</jsf>, values)</code>
@@ -2440,6 +2495,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.376">removeFromBeanDictionary</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true"
title="class or interface in java.util">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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#removeFromBeanDictionary-java.util.Collection-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Remove from bean dictionary.
+
<p>
Same as <a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#removeFromBeanDictionary-java.lang.Class...-"><code>CoreObjectBuilder.removeFromBeanDictionary(Class...)</code></a>
but using a <code>Collection</code>.</div>
<dl>
@@ -2464,14 +2520,14 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.382">beanTypePropertyName</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> value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#beanTypePropertyName-java.lang.String-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Name to use for the bean
type properties used to represent a bean type.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.beanTypePropertyName"</js>
<li><b>Data type:</b> <code>String</code>
<li><b>Default:</b> <js>"_type"</js>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_beanTypePropertyName</jsf>, value)</code>.
@@ -2497,16 +2553,17 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.388">defaultParser</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><?> value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#defaultParser-java.lang.Class-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Default parser to use when
converting <code>Strings</code> to POJOs.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.defaultParser"</js>
<li><b>Data type:</b> <code>Class</code>
<li><b>Default:</b> <a
href="../../../../org/apache/juneau/json/JsonSerializer.html" title="class in
org.apache.juneau.json"><code>JsonSerializer</code></a>
<li><b>Session-overridable:</b> <jk>false</jk>
</ul>
+
<p>
Used in the in the <a
href="../../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-java.lang.Class-"><code>BeanSession.convertToType(Object,
Class)</code></a> method.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>property(<jsf>BEAN_defaultParser</jsf>, value)</code>.
@@ -2532,14 +2589,14 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.394">locale</a>(<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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#locale-java.util.Locale-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Locale.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.locale"</js>
<li><b>Data type:</b> <code>Locale</code>
<li><b>Default:</b> <code>Locale.getDefault()</code>
<li><b>Session-overridable:</b> <jk>true</jk>
</ul>
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling <code>property(<jsf>BEAN_locale</jsf>,
value)</code>.
@@ -2565,14 +2622,14 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.400">timeZone</a>(<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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#timeZone-java.util.TimeZone-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> TimeZone.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.timeZone"</js>
<li><b>Data type:</b> <code>TimeZone</code>
<li><b>Default:</b> <jk>null</jk>
<li><b>Session-overridable:</b> <jk>true</jk>
</ul>
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling <code>property(<jsf>BEAN_timeZone</jsf>,
value)</code>.
@@ -2598,16 +2655,17 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.406">mediaType</a>(<a
href="../../../../org/apache/juneau/http/MediaType.html" title="class in
org.apache.juneau.http">MediaType</a> value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#mediaType-org.apache.juneau.http.MediaType-">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Media type.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.mediaType"</js>
<li><b>Data type:</b> <code>MediaType</code>
<li><b>Default:</b> <jk>null</jk>
<li><b>Session-overridable:</b> <jk>true</jk>
</ul>
+
<p>
Specifies a default media type value for serializer and parser sessions.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling <code>property(<jsf>BEAN_mediaType</jsf>,
value)</code>.
@@ -2633,27 +2691,32 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.412">debug</a>()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#debug--">CoreObjectBuilder</a></code></span></div>
<div class="block"><b>Configuration property:</b> Debug mode.
- <p>
+
<ul>
<li><b>Name:</b> <js>"BeanContext.debug"</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>
Enables the following additional information during serialization:
<ul class='spaced-list'>
- <li>When bean getters throws exceptions, the exception includes the object
stack information
+ <li>
+ When bean getters throws exceptions, the exception includes the object
stack information
in order to determine how that method was invoked.
- <li>Enables <a
href="../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_detectRecursions"><code>SerializerContext.SERIALIZER_detectRecursions</code></a>.
+ <li>
+ Enables <a
href="../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_detectRecursions"><code>SerializerContext.SERIALIZER_detectRecursions</code></a>.
</ul>
+
<p>
Enables the following additional information during parsing:
<ul class='spaced-list'>
- <li>When bean setters throws exceptions, the exception includes the object
stack information
+ <li>
+ When bean setters throws exceptions, the exception includes the object
stack information
in order to determine how that method was invoked.
</ul>
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling <code>property(<jsf>BEAN_debug</jsf>,
value)</code>.
@@ -2700,7 +2763,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<pre>public <a
href="../../../../org/apache/juneau/csv/CsvParserBuilder.html" title="class in
org.apache.juneau.csv">CsvParserBuilder</a> <a
href="../../../../src-html/org/apache/juneau/csv/CsvParserBuilder.html#line.424">properties</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true"
title="class or interface in java.util">Map</a><<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a>,<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">Object</a>> properties)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#properties-java.util.Map-">CoreObjectBuilder</a></code></span></div>
<div class="block">Adds multiple configuration properties on this object.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling <a
href="../../../../org/apache/juneau/PropertyStore.html#addProperties-java.util.Map-"><code>PropertyStore.addProperties(Map)</code></a>.
@@ -2728,7 +2791,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#addToProperty-java.lang.String-java.lang.Object-">CoreObjectBuilder</a></code></span></div>
<div class="block">Adds a value to a SET property.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling <code>PropertyStore.addToProperty(name,
value);</code>.
@@ -2755,7 +2818,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#putToProperty-java.lang.String-java.lang.Object-java.lang.Object-">CoreObjectBuilder</a></code></span></div>
<div class="block">Adds or overwrites a value to a MAP property.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling <code>PropertyStore.putToProperty(name,
key, value);</code>.
@@ -2782,7 +2845,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#putToProperty-java.lang.String-java.lang.Object-">CoreObjectBuilder</a></code></span></div>
<div class="block">Adds or overwrites a value to a MAP property.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling <code>PropertyStore.putToProperty(name,
value);</code>.
@@ -2808,7 +2871,7 @@ extends <a
href="../../../../org/apache/juneau/parser/ParserBuilder.html" title=
<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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/CoreObjectBuilder.html#removeFromProperty-java.lang.String-java.lang.Object-">CoreObjectBuilder</a></code></span></div>
<div class="block">Removes a value from a SET property.
- <p>
+
<h5 class='section'>Notes:</h5>
<ul>
<li>This is equivalent to calling
<code>PropertyStore.removeFromProperty(name, value);</code>.