blob: d771bd537c5cc586e555cd042fcaa91e2d7ed3e5 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_252) on Fri Jul 16 09:38:37 UTC 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MarshallerProperties (EclipseLink 3.0.2, API Reference)</title>
<meta name="date" content="2021-07-16">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MarshallerProperties (EclipseLink 3.0.2, API Reference)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">EclipseLink 3.0.2, API Reference</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/eclipse/persistence/jaxb/JAXBValidator.html" title="class in org.eclipse.persistence.jaxb"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/eclipse/persistence/jaxb/MOXySystemProperties.html" title="class in org.eclipse.persistence.jaxb"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/eclipse/persistence/jaxb/MarshallerProperties.html" target="_top">Frames</a></li>
<li><a href="MarshallerProperties.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li>Method</li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.persistence.jaxb</div>
<h2 title="Class MarshallerProperties" class="title">Class MarshallerProperties</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.eclipse.persistence.jaxb.MarshallerProperties</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">MarshallerProperties</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">These are properties that may be set on an instance of Marshaller. Below is
an example of using the property mechanism to enable MOXy's JSON binding for
an instance of Marshaller.
<pre>
Marshaller marshaller = jaxbContext.createMarshaller();
marshaller.setProperty(MarshallerProperties.MEDIA_TYPE, "application/json");
</pre></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#BEAN_VALIDATION_FACTORY">BEAN_VALIDATION_FACTORY</a></span></code>
<div class="block">Property for setting preferred or custom validator factory.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#BEAN_VALIDATION_GROUPS">BEAN_VALIDATION_GROUPS</a></span></code>
<div class="block">Property for setting bean validation target groups.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#BEAN_VALIDATION_MODE">BEAN_VALIDATION_MODE</a></span></code>
<div class="block">Property for setting bean validation mode.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#BEAN_VALIDATION_NO_OPTIMISATION">BEAN_VALIDATION_NO_OPTIMISATION</a></span></code>
<div class="block">Property for disabling Bean Validation optimisations.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#CHARACTER_ESCAPE_HANDLER">CHARACTER_ESCAPE_HANDLER</a></span></code>
<div class="block">The Constant CHARACTER_ESCAPE_HANDLER.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#INDENT_STRING">INDENT_STRING</a></span></code>
<div class="block">The Constant INDENT_STRING.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#JSON_ATTRIBUTE_PREFIX">JSON_ATTRIBUTE_PREFIX</a></span></code>
<div class="block">The name of the property used to specify a value that will be prepended
to all keys that are mapped to an XML attribute.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#JSON_DISABLE_NESTED_ARRAY_NAME">JSON_DISABLE_NESTED_ARRAY_NAME</a></span></code>
<div class="block">Disable generation of "item" name in nested arrays in JSON.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#JSON_INCLUDE_ROOT">JSON_INCLUDE_ROOT</a></span></code>
<div class="block">The name of the property used to specify in the root node should be
included in the message (default is true).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#JSON_MARSHAL_EMPTY_COLLECTIONS">JSON_MARSHAL_EMPTY_COLLECTIONS</a></span></code>
<div class="block">The Constant JSON_MARSHAL_EMPTY_COLLECTIONS.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#JSON_NAMESPACE_SEPARATOR">JSON_NAMESPACE_SEPARATOR</a></span></code>
<div class="block">The name of the property used to specify the character (default is '.')
that separates the prefix from the key name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#JSON_REDUCE_ANY_ARRAYS">JSON_REDUCE_ANY_ARRAYS</a></span></code>
<div class="block">The Constant JSON_REDUCE_ANY_ARRAYS.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#JSON_TYPE_ATTRIBUTE_NAME">JSON_TYPE_ATTRIBUTE_NAME</a></span></code>
<div class="block">Override default type property name for JSON as MOXy type discriminator.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#JSON_TYPE_COMPATIBILITY">JSON_TYPE_COMPATIBILITY</a></span></code>
<div class="block">If we should treat unqualified type property in JSON as MOXy type discriminator.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#JSON_USE_XSD_TYPES_WITH_PREFIX">JSON_USE_XSD_TYPES_WITH_PREFIX</a></span></code>
<div class="block">If there should be xsd prefix when using simple types, e.g.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#JSON_VALUE_WRAPPER">JSON_VALUE_WRAPPER</a></span></code>
<div class="block">The name of the property used to specify the key that will correspond to
the property mapped with <i>@XmlValue</i>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#JSON_WRAPPER_AS_ARRAY_NAME">JSON_WRAPPER_AS_ARRAY_NAME</a></span></code>
<div class="block">The Constant JSON_WRAPPER_AS_ARRAY_NAME.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#MEDIA_TYPE">MEDIA_TYPE</a></span></code>
<div class="block">The name of the property used to specify the type of binding to be
performed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#MOXY_LOG_PAYLOAD">MOXY_LOG_PAYLOAD</a></span></code>
<div class="block">Property for logging Entities content during marshalling/unmarshalling operation in MOXy.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#MOXY_LOGGING_LEVEL">MOXY_LOGGING_LEVEL</a></span></code>
<div class="block">Property for MOXy logging level.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#NAMESPACE_PREFIX_MAPPER">NAMESPACE_PREFIX_MAPPER</a></span></code>
<div class="block">The Constant NAMESPACE_PREFIX_MAPPER.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/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/eclipse/persistence/jaxb/MarshallerProperties.html#OBJECT_GRAPH">OBJECT_GRAPH</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/jaxb/MarshallerProperties.html#MarshallerProperties--">MarshallerProperties</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="CHARACTER_ESCAPE_HANDLER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CHARACTER_ESCAPE_HANDLER</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> CHARACTER_ESCAPE_HANDLER</pre>
<div class="block">The Constant CHARACTER_ESCAPE_HANDLER. Allows for customization of
character escaping when marshalling. Value should be an implementation
of org.eclipse.persistence.oxm.CharacterEscapeHandler.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/oxm/CharacterEscapeHandler.html" title="interface in org.eclipse.persistence.oxm"><code>CharacterEscapeHandler</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.CHARACTER_ESCAPE_HANDLER">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.3.3</dd>
</dl>
</li>
</ul>
<a name="INDENT_STRING">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INDENT_STRING</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> INDENT_STRING</pre>
<div class="block">The Constant INDENT_STRING. Property used to set the string used when
indenting formatted marshalled documents. The default for formatted
documents is &quot; &quot; (three spaces).</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.INDENT_STRING">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.3.3</dd>
</dl>
</li>
</ul>
<a name="JSON_ATTRIBUTE_PREFIX">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSON_ATTRIBUTE_PREFIX</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> JSON_ATTRIBUTE_PREFIX</pre>
<div class="block">The name of the property used to specify a value that will be prepended
to all keys that are mapped to an XML attribute. By default there is no
attribute prefix. There is no effect when media type is
"application/xml". When this property is specified at the
<i>JAXBContext</i> level all instances of <i>Marshaller</i> and
<i>Unmarshaller</i> will default to this attribute prefix.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/jaxb/JAXBContextProperties.html#JSON_ATTRIBUTE_PREFIX"><code>JAXBContextProperties.JSON_ATTRIBUTE_PREFIX</code></a>,
<a href="../../../../org/eclipse/persistence/jaxb/UnmarshallerProperties.html#JSON_ATTRIBUTE_PREFIX"><code>UnmarshallerProperties.JSON_ATTRIBUTE_PREFIX</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.JSON_ATTRIBUTE_PREFIX">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.4</dd>
</dl>
</li>
</ul>
<a name="JSON_INCLUDE_ROOT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSON_INCLUDE_ROOT</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> JSON_INCLUDE_ROOT</pre>
<div class="block">The name of the property used to specify in the root node should be
included in the message (default is true). There is no effect when media
type is "application/xml". When this property is specified at the
<i>JAXBContext</i> level all instances of <i>Marshaller</i> and
<i>Unmarshaller</i> will default to this setting.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/jaxb/JAXBContextProperties.html#JSON_INCLUDE_ROOT"><code>JAXBContextProperties.JSON_INCLUDE_ROOT</code></a>,
<a href="../../../../org/eclipse/persistence/jaxb/UnmarshallerProperties.html#JSON_INCLUDE_ROOT"><code>UnmarshallerProperties.JSON_INCLUDE_ROOT</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.JSON_INCLUDE_ROOT">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.4</dd>
</dl>
</li>
</ul>
<a name="JSON_NAMESPACE_SEPARATOR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSON_NAMESPACE_SEPARATOR</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> JSON_NAMESPACE_SEPARATOR</pre>
<div class="block">The name of the property used to specify the character (default is '.')
that separates the prefix from the key name. It is only used if namespace
qualification has been enabled be setting a namespace prefix mapper.
When this property is specified at the <i>JAXBContext</i> level all
instances of <i>Marshaller</i> and <i>Unmarshaller</i> will default to
this setting.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/jaxb/JAXBContextProperties.html#JSON_NAMESPACE_SEPARATOR"><code>JAXBContextProperties.JSON_NAMESPACE_SEPARATOR</code></a>,
<a href="../../../../org/eclipse/persistence/jaxb/UnmarshallerProperties.html#JSON_NAMESPACE_SEPARATOR"><code>UnmarshallerProperties.JSON_NAMESPACE_SEPARATOR</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.JSON_NAMESPACE_SEPARATOR">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.4</dd>
</dl>
</li>
</ul>
<a name="JSON_VALUE_WRAPPER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSON_VALUE_WRAPPER</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> JSON_VALUE_WRAPPER</pre>
<div class="block">The name of the property used to specify the key that will correspond to
the property mapped with <i>@XmlValue</i>. This key will only be used if
there are other mapped properties. When this property is specified at
the <i>JAXBContext</i> level all instances of <i>Marshaller</i> and
<i>Unmarshaller</i> will default to this setting.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/jaxb/JAXBContextProperties.html#JSON_VALUE_WRAPPER"><code>JAXBContextProperties.JSON_VALUE_WRAPPER</code></a>,
<a href="../../../../org/eclipse/persistence/jaxb/UnmarshallerProperties.html#JSON_VALUE_WRAPPER"><code>UnmarshallerProperties.JSON_VALUE_WRAPPER</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.JSON_VALUE_WRAPPER">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.4</dd>
</dl>
</li>
</ul>
<a name="MEDIA_TYPE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MEDIA_TYPE</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> MEDIA_TYPE</pre>
<div class="block">The name of the property used to specify the type of binding to be
performed. When this property is specified at the <i>JAXBContext</i>
level all instances of <i>Marshaller</i> and <i>Unmarshaller</i> will
default to this media type. Supported values are:
<ul>
<li>MediaType.APPLICATION_XML (default)
<li>MediaType.APPLICATION_JSON
<li>"application/xml"
<li>"application/json"
</ul></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/jaxb/JAXBContextProperties.html#MEDIA_TYPE"><code>JAXBContextProperties.MEDIA_TYPE</code></a>,
<a href="../../../../org/eclipse/persistence/jaxb/UnmarshallerProperties.html#MEDIA_TYPE"><code>UnmarshallerProperties.MEDIA_TYPE</code></a>,
<a href="../../../../org/eclipse/persistence/oxm/MediaType.html" title="enum in org.eclipse.persistence.oxm"><code>MediaType</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.MEDIA_TYPE">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.4</dd>
</dl>
</li>
</ul>
<a name="NAMESPACE_PREFIX_MAPPER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NAMESPACE_PREFIX_MAPPER</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> NAMESPACE_PREFIX_MAPPER</pre>
<div class="block">The Constant NAMESPACE_PREFIX_MAPPER. Provides a means to customize the
namespace prefixes used while marshalling to XML. Used for both marshal
and unmarshal when mediaType is set to "application/json". Value is
either a Map of URIs to prefixes, or an
implementation of org.eclipse.persistence.oxm.NamespacePrefixMapper.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/oxm/NamespacePrefixMapper.html" title="class in org.eclipse.persistence.oxm"><code>NamespacePrefixMapper</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.NAMESPACE_PREFIX_MAPPER">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.3.3</dd>
</dl>
</li>
</ul>
<a name="JSON_MARSHAL_EMPTY_COLLECTIONS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSON_MARSHAL_EMPTY_COLLECTIONS</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> JSON_MARSHAL_EMPTY_COLLECTIONS</pre>
<div class="block">The Constant JSON_MARSHAL_EMPTY_COLLECTIONS. If true an empty or null
collection will be marshalled as null or empty array, if false both will be
represented as an absent node.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.JSON_MARSHAL_EMPTY_COLLECTIONS">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.4</dd>
</dl>
</li>
</ul>
<a name="JSON_REDUCE_ANY_ARRAYS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSON_REDUCE_ANY_ARRAYS</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> JSON_REDUCE_ANY_ARRAYS</pre>
<div class="block">The Constant JSON_REDUCE_ANY_ARRAYS. If true arrays that have just one item in them
will be reduced and marshalled as a single item and not as a collection. ie: no [ ] in the marshalled JSON
Default is false so all collections (even size 1) will have the [ ] around them.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.JSON_REDUCE_ANY_ARRAYS">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.4.2</dd>
</dl>
</li>
</ul>
<a name="JSON_USE_XSD_TYPES_WITH_PREFIX">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSON_USE_XSD_TYPES_WITH_PREFIX</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> JSON_USE_XSD_TYPES_WITH_PREFIX</pre>
<div class="block">If there should be xsd prefix when using simple types, e.g. xsd.int.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/jaxb/JAXBContextProperties.html#JSON_USE_XSD_TYPES_WITH_PREFIX"><code>JAXBContextProperties.JSON_USE_XSD_TYPES_WITH_PREFIX</code></a>,
<a href="../../../../org/eclipse/persistence/jaxb/UnmarshallerProperties.html#JSON_USE_XSD_TYPES_WITH_PREFIX"><code>UnmarshallerProperties.JSON_USE_XSD_TYPES_WITH_PREFIX</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.JSON_USE_XSD_TYPES_WITH_PREFIX">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.6.0</dd>
</dl>
</li>
</ul>
<a name="JSON_TYPE_COMPATIBILITY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSON_TYPE_COMPATIBILITY</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> JSON_TYPE_COMPATIBILITY</pre>
<div class="block">If we should treat unqualified type property in JSON as MOXy type discriminator.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/jaxb/JAXBContextProperties.html#JSON_TYPE_COMPATIBILITY"><code>JAXBContextProperties.JSON_TYPE_COMPATIBILITY</code></a>,
<a href="../../../../org/eclipse/persistence/jaxb/UnmarshallerProperties.html#JSON_TYPE_COMPATIBILITY"><code>UnmarshallerProperties.JSON_TYPE_COMPATIBILITY</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.JSON_TYPE_COMPATIBILITY">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.6.0</dd>
</dl>
</li>
</ul>
<a name="JSON_TYPE_ATTRIBUTE_NAME">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSON_TYPE_ATTRIBUTE_NAME</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> JSON_TYPE_ATTRIBUTE_NAME</pre>
<div class="block">Override default type property name for JSON as MOXy type discriminator. Settings from binding file have higher priority.
<p><b>Example</b></p>
<p>Given the following property</p>
<pre>
marshaller.setProperty(MarshallerProperties.JSON_TYPE_ATTRIBUTE_NAME, "mytype");
</pre>
<p>If the property is set the JSON output will be:</p>
<pre>
...
{
"mytype": "phone",
"contactId": 3,
"number": "987654321"
}
...
</pre>
<p>for following object model</p>
<pre>
&#64;XmlSeeAlso({Address.class, Phone.class})
public class Contact {
public int contactId;
...
</pre>
<pre>
public class Phone extends Contact{
public String number;
...
</pre>
<p>If the property is not set (default value) the JSON output will be:</p>
<pre>
...
{
"type": "phone",
"contactId": 3,
"number": "987654321"
}
...
</pre>
Unmarshaller will use it as type discriminator to select right child class.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/jaxb/JAXBContextProperties.html#JSON_TYPE_ATTRIBUTE_NAME"><code>JAXBContextProperties.JSON_TYPE_ATTRIBUTE_NAME</code></a>,
<a href="../../../../org/eclipse/persistence/jaxb/UnmarshallerProperties.html#JSON_TYPE_ATTRIBUTE_NAME"><code>UnmarshallerProperties.JSON_TYPE_ATTRIBUTE_NAME</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.JSON_TYPE_ATTRIBUTE_NAME">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.7.4</dd>
</dl>
</li>
</ul>
<a name="JSON_DISABLE_NESTED_ARRAY_NAME">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSON_DISABLE_NESTED_ARRAY_NAME</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> JSON_DISABLE_NESTED_ARRAY_NAME</pre>
<div class="block">Disable generation of "item" name in nested arrays in JSON. Settings from binding file have higher priority.
<p><b>Example</b></p>
<p>Given the following property</p>
<pre>
marshaller.setProperty(MarshallerProperties.JSON_DISABLE_NESTED_ARRAY_NAME, "false");
</pre>
<p>If the property value is set to <b>false</b> (default) the JSON output will be:</p>
<pre>
...
"char2dArray":[
{"item":["a","b","c","d"]},
{"item":["e","f","g","h"]}
]
...
</pre>
<p>for following object model</p>
<pre>
...
&#64;XmlElement(name="char2dArray")
private char[][] char2dArray;
...
</pre>
<p>If the property value is set to <b>true</b> (default) the JSON output will be:</p>
<pre>
...
"char2dArray": [
["a","b","c","d"],
["e","f","g","h"]
]
...
</pre></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.JSON_DISABLE_NESTED_ARRAY_NAME">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.7.5</dd>
</dl>
</li>
</ul>
<a name="OBJECT_GRAPH">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OBJECT_GRAPH</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> OBJECT_GRAPH</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.OBJECT_GRAPH">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="JSON_WRAPPER_AS_ARRAY_NAME">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSON_WRAPPER_AS_ARRAY_NAME</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> JSON_WRAPPER_AS_ARRAY_NAME</pre>
<div class="block">The Constant JSON_WRAPPER_AS_ARRAY_NAME. If true the grouping
element will be used as the JSON key. There is no effect when media type
is "application/xml". When this property is specified at the
<i>JAXBContext</i> level all instances of <i>Marshaller</i> and
<i>Unmarshaller</i> will default to this.
<p><b>Example</b></p>
<p>Given the following class:</p>
<pre>
&#64;XmlAccessorType(XmlAccessType.FIELD)
public class Customer {
&#64;XmlElementWrapper(name="phone-numbers")
&#64;XmlElement(name="phone-number")
private List&lt;PhoneNumber&gt; phoneNumbers;
}
</pre>
<p>If the property is set to false (the default) the JSON output will be:</p>
<pre>
{
"phone-numbers" : {
"phone-number" : [ {
...
}, {
...
}]
}
}
</pre>
<p>And if the property is set to true, then the JSON output will be:</p>
<pre>
{
"phone-numbers" : [ {
...
}, {
...
}]
}
</pre></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/jaxb/JAXBContextProperties.html#JSON_WRAPPER_AS_ARRAY_NAME"><code>JAXBContextProperties.JSON_WRAPPER_AS_ARRAY_NAME</code></a>,
<a href="../../../../org/eclipse/persistence/jaxb/UnmarshallerProperties.html#JSON_WRAPPER_AS_ARRAY_NAME"><code>UnmarshallerProperties.JSON_WRAPPER_AS_ARRAY_NAME</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.JSON_WRAPPER_AS_ARRAY_NAME">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.4.2</dd>
</dl>
</li>
</ul>
<a name="BEAN_VALIDATION_MODE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BEAN_VALIDATION_MODE</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> BEAN_VALIDATION_MODE</pre>
<div class="block">Property for setting bean validation mode.
Valid values <a href="../../../../org/eclipse/persistence/jaxb/BeanValidationMode.html#AUTO"><code>BeanValidationMode.AUTO</code></a> (default),<a href="../../../../org/eclipse/persistence/jaxb/BeanValidationMode.html#CALLBACK"><code>BeanValidationMode.CALLBACK</code></a>, <a href="../../../../org/eclipse/persistence/jaxb/BeanValidationMode.html#NONE"><code>BeanValidationMode.NONE</code></a>.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/jaxb/JAXBContextProperties.html#BEAN_VALIDATION_MODE"><code>JAXBContextProperties.BEAN_VALIDATION_MODE</code></a>,
<a href="../../../../org/eclipse/persistence/jaxb/UnmarshallerProperties.html#BEAN_VALIDATION_MODE"><code>UnmarshallerProperties.BEAN_VALIDATION_MODE</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.BEAN_VALIDATION_MODE">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.6</dd>
</dl>
</li>
</ul>
<a name="BEAN_VALIDATION_FACTORY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BEAN_VALIDATION_FACTORY</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> BEAN_VALIDATION_FACTORY</pre>
<div class="block">Property for setting preferred or custom validator factory.
Mapped value must be instance of <code>ValidatorFactory</code>.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/jaxb/JAXBContextProperties.html#BEAN_VALIDATION_FACTORY"><code>JAXBContextProperties.BEAN_VALIDATION_FACTORY</code></a>,
<a href="../../../../org/eclipse/persistence/jaxb/UnmarshallerProperties.html#BEAN_VALIDATION_FACTORY"><code>UnmarshallerProperties.BEAN_VALIDATION_FACTORY</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.BEAN_VALIDATION_FACTORY">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.6</dd>
</dl>
</li>
</ul>
<a name="BEAN_VALIDATION_GROUPS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BEAN_VALIDATION_GROUPS</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> BEAN_VALIDATION_GROUPS</pre>
<div class="block">Property for setting bean validation target groups.
Mapped value must be of type Class[].</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/jaxb/JAXBContextProperties.html#BEAN_VALIDATION_GROUPS"><code>JAXBContextProperties.BEAN_VALIDATION_GROUPS</code></a>,
<a href="../../../../org/eclipse/persistence/jaxb/UnmarshallerProperties.html#BEAN_VALIDATION_GROUPS"><code>UnmarshallerProperties.BEAN_VALIDATION_GROUPS</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.BEAN_VALIDATION_GROUPS">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.6</dd>
</dl>
</li>
</ul>
<a name="BEAN_VALIDATION_NO_OPTIMISATION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BEAN_VALIDATION_NO_OPTIMISATION</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> BEAN_VALIDATION_NO_OPTIMISATION</pre>
<div class="block">Property for disabling Bean Validation optimisations.
Bean Validation in MOXy features optimisations, which are used to skip BV processes on non-constrained objects.
This is to make maintenance easier and to allow for debugging in case that some object is not validated,
but should be.
Usage: set to <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true#TRUE" title="class or interface in java.lang"><code>Boolean.TRUE</code></a> to disable optimisations, set to <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true#FALSE" title="class or interface in java.lang"><code>Boolean.FALSE</code></a> to re-enable them
again.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/jaxb/JAXBContextProperties.html#BEAN_VALIDATION_NO_OPTIMISATION"><code>JAXBContextProperties.BEAN_VALIDATION_NO_OPTIMISATION</code></a>,
<a href="../../../../org/eclipse/persistence/jaxb/UnmarshallerProperties.html#BEAN_VALIDATION_NO_OPTIMISATION"><code>UnmarshallerProperties.BEAN_VALIDATION_NO_OPTIMISATION</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.BEAN_VALIDATION_NO_OPTIMISATION">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.6</dd>
</dl>
</li>
</ul>
<a name="MOXY_LOGGING_LEVEL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MOXY_LOGGING_LEVEL</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> MOXY_LOGGING_LEVEL</pre>
<div class="block">Property for MOXy logging level.
This is to make maintenance easier and to allow MOXy generate more diagnostic log messages.
Allowed values are specified in <a href="../../../../org/eclipse/persistence/logging/LogLevel.html" title="enum in org.eclipse.persistence.logging"><code>LogLevel</code></a>
Default value is <a href="../../../../org/eclipse/persistence/logging/LogLevel.html#INFO"><code>LogLevel.INFO</code></a></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/jaxb/JAXBContextProperties.html#MOXY_LOGGING_LEVEL"><code>JAXBContextProperties.MOXY_LOGGING_LEVEL</code></a>,
<a href="../../../../org/eclipse/persistence/jaxb/UnmarshallerProperties.html#MOXY_LOGGING_LEVEL"><code>UnmarshallerProperties.MOXY_LOGGING_LEVEL</code></a>,
<a href="../../../../org/eclipse/persistence/logging/LogLevel.html" title="enum in org.eclipse.persistence.logging"><code>LogLevel</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.MOXY_LOGGING_LEVEL">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>3.0</dd>
</dl>
</li>
</ul>
<a name="MOXY_LOG_PAYLOAD">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>MOXY_LOG_PAYLOAD</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> MOXY_LOG_PAYLOAD</pre>
<div class="block">Property for logging Entities content during marshalling/unmarshalling operation in MOXy.
It calls toString() method from entity.
This is to make maintenance easier and to allow for debugging to check marshalled/unmarshalled content.
Use it carefully. It can produce high amount of data in the log files.
Usage: set to <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true#TRUE" title="class or interface in java.lang"><code>Boolean.TRUE</code></a> to enable payload logging, set to <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true#FALSE" title="class or interface in java.lang"><code>Boolean.FALSE</code></a> to disable it.
It can be set via system property with name "eclipselink.logging.payload.moxy" too.
By default it is disabled.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/jaxb/JAXBContextProperties.html#MOXY_LOG_PAYLOAD"><code>JAXBContextProperties.MOXY_LOG_PAYLOAD</code></a>,
<a href="../../../../org/eclipse/persistence/jaxb/UnmarshallerProperties.html#MOXY_LOG_PAYLOAD"><code>UnmarshallerProperties.MOXY_LOG_PAYLOAD</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.MarshallerProperties.MOXY_LOG_PAYLOAD">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>3.0</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="MarshallerProperties--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>MarshallerProperties</h4>
<pre>public&nbsp;MarshallerProperties()</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">EclipseLink 3.0.2, API Reference</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/eclipse/persistence/jaxb/JAXBValidator.html" title="class in org.eclipse.persistence.jaxb"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/eclipse/persistence/jaxb/MOXySystemProperties.html" title="class in org.eclipse.persistence.jaxb"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/eclipse/persistence/jaxb/MarshallerProperties.html" target="_top">Frames</a></li>
<li><a href="MarshallerProperties.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li>Method</li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2007&#x2013;2021 <a href="http://www.eclipse.org/eclipselink">Eclipse.org - EclipseLink Project</a>. All rights reserved.</small></p>
</body>
</html>