blob: fc9ece6633be8f3c633bdb1500e7cfda2ac892ed [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>JAXBContextProperties (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="JAXBContextProperties (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/JAXBContextFactory.html" title="class in org.eclipse.persistence.jaxb"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/eclipse/persistence/jaxb/JAXBEnumTypeConverter.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/JAXBContextProperties.html" target="_top">Frames</a></li>
<li><a href="JAXBContextProperties.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 JAXBContextProperties" class="title">Class JAXBContextProperties</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.JAXBContextProperties</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">JAXBContextProperties</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 passed in to create a JAXBContext:
<pre>
Map properties = new HashMap&lt;String, Object&gt;(1);
properties.put();
JAXBContext jc = JAXBContext.newInstance(new Class[] {Foo.class}, properties);
</pre></div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.4.0</dd>
</dl>
</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/JAXBContextProperties.html#ANNOTATION_HELPER">ANNOTATION_HELPER</a></span></code>
<div class="block">The name of the property used to specify an AnnotationHelper instance.</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/JAXBContextProperties.html#BEAN_VALIDATION_FACETS">BEAN_VALIDATION_FACETS</a></span></code>
<div class="block">Enables or disables generation of XML Facets during schemagen process.</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/JAXBContextProperties.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/JAXBContextProperties.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/JAXBContextProperties.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/JAXBContextProperties.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/JAXBContextProperties.html#DEFAULT_TARGET_NAMESPACE">DEFAULT_TARGET_NAMESPACE</a></span></code>
<div class="block">The name of the property used to specify a default target namespace.</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/JAXBContextProperties.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="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/JAXBContextProperties.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/JAXBContextProperties.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="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/JAXBContextProperties.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/JAXBContextProperties.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/JAXBContextProperties.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/JAXBContextProperties.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/JAXBContextProperties.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/JAXBContextProperties.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/JAXBContextProperties.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/JAXBContextProperties.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/JAXBContextProperties.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/JAXBContextProperties.html#OBJECT_GRAPH">OBJECT_GRAPH</a></span></code>
<div class="block">The name of the property used to specify an ObjectGraph instance or name of an
ObjectGraph to be used on Unmarshallers and Marshallers created by the context.</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/JAXBContextProperties.html#OXM_METADATA_SOURCE">OXM_METADATA_SOURCE</a></span></code>
<div class="block">The name of the property used to specify one or more EclipseLink OXM
metadata sources.</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/JAXBContextProperties.html#SESSION_EVENT_LISTENER">SESSION_EVENT_LISTENER</a></span></code>
<div class="block">The name of the property used to specify a SessionEventListener that can
be used to customize the metadata before or after it has been
initialized.</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/JAXBContextProperties.html#UNMARSHALLING_CASE_INSENSITIVE">UNMARSHALLING_CASE_INSENSITIVE</a></span></code>
<div class="block">If set to <i>Boolean.TRUE</i>, <a href="../../../../org/eclipse/persistence/jaxb/JAXBUnmarshaller.html" title="class in org.eclipse.persistence.jaxb"><code>JAXBUnmarshaller</code></a> will match
XML Elements and XML Attributes to Java fields case insensitively.</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/JAXBContextProperties.html#XML_ACCESSOR_FACTORY_SUPPORT">XML_ACCESSOR_FACTORY_SUPPORT</a></span></code>
<div class="block">The name of the boolean property used to enable custom XmlAccessorFactories.</div>
</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/JAXBContextProperties.html#JAXBContextProperties--">JAXBContextProperties</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="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/MarshallerProperties.html#JSON_ATTRIBUTE_PREFIX"><code>MarshallerProperties.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.JAXBContextProperties.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>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.JAXBContextProperties.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/MarshallerProperties.html#JSON_NAMESPACE_SEPARATOR"><code>MarshallerProperties.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.JAXBContextProperties.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/MarshallerProperties.html#JSON_VALUE_WRAPPER"><code>MarshallerProperties.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.JAXBContextProperties.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/MarshallerProperties.html#MEDIA_TYPE"><code>MarshallerProperties.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.JAXBContextProperties.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.JAXBContextProperties.NAMESPACE_PREFIX_MAPPER">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.4</dd>
</dl>
</li>
</ul>
<a name="SESSION_EVENT_LISTENER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SESSION_EVENT_LISTENER</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> SESSION_EVENT_LISTENER</pre>
<div class="block">The name of the property used to specify a SessionEventListener that can
be used to customize the metadata before or after it has been
initialized. Value is either an implementation of org.eclipse.persistence.sessions.SessionEventListener
or a List&lt;org.eclipse.persistence.sessions.SessionEventListener&gt;.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions"><code>SessionEventListener</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.JAXBContextProperties.SESSION_EVENT_LISTENER">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.4</dd>
</dl>
</li>
</ul>
<a name="OXM_METADATA_SOURCE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OXM_METADATA_SOURCE</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> OXM_METADATA_SOURCE</pre>
<div class="block">The name of the property used to specify one or more EclipseLink OXM
metadata sources.
The metadata source can be one of the following:
<ul>
<li>java.io.File
<li>java.io.InputStream
<li>java.io.Reader
<li>java.lang.String
<li>java.net.URL
<li>javax.xml.stream.XMLEventReader
<li>javax.xml.stream.XMLStreamReader
<li>javax.xml.transform.Source
<li>org.eclipse.persistence.jaxb.metadata.MetadataSource
<li>org.w3c.dom.Node
<li>org.xml.sax.InputSource
</ul>
To specify multiple metadata sources, the following can be used:
<ul>
<li>java.util.Map
<li>java.util.List&lt;Object&gt;
</ul></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.JAXBContextProperties.OXM_METADATA_SOURCE">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.4, replaces JAXBContextFactory.ECLIPSELINK_OXM_XML_KEY</dd>
</dl>
</li>
</ul>
<a name="DEFAULT_TARGET_NAMESPACE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_TARGET_NAMESPACE</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> DEFAULT_TARGET_NAMESPACE</pre>
<div class="block">The name of the property used to specify a default target namespace.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.JAXBContextProperties.DEFAULT_TARGET_NAMESPACE">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.4, replaces JAXBContextFactory.DEFAULT_TARGET_NAMESPACE_KEY</dd>
</dl>
</li>
</ul>
<a name="ANNOTATION_HELPER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ANNOTATION_HELPER</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> ANNOTATION_HELPER</pre>
<div class="block">The name of the property used to specify an AnnotationHelper instance.
An AnnotationHelper is responsible for returning Annotations from
AnnotatedElements.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/jaxb/javamodel/reflection/AnnotationHelper.html" title="class in org.eclipse.persistence.jaxb.javamodel.reflection"><code>AnnotationHelper</code></a>,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation"><code>Annotation</code></a>,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/AnnotatedElement.html?is-external=true" title="class or interface in java.lang.reflect"><code>AnnotatedElement</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.JAXBContextProperties.ANNOTATION_HELPER">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.4, replaces JAXBContextFactory.ANNOTATION_HELPER_KEY</dd>
</dl>
</li>
</ul>
<a name="XML_ACCESSOR_FACTORY_SUPPORT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XML_ACCESSOR_FACTORY_SUPPORT</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> XML_ACCESSOR_FACTORY_SUPPORT</pre>
<div class="block">The name of the boolean property used to enable custom XmlAccessorFactories.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd>"com.sun.xml.bind.XmlAccessorFactory",
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.JAXBContextProperties.XML_ACCESSOR_FACTORY_SUPPORT">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.4.2</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>
<div class="block">The name of the property used to specify an ObjectGraph instance or name of an
ObjectGraph to be used on Unmarshallers and Marshallers created by the context.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.JAXBContextProperties.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/MarshallerProperties.html#JSON_WRAPPER_AS_ARRAY_NAME"><code>MarshallerProperties.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.JAXBContextProperties.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="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/MarshallerProperties.html#JSON_USE_XSD_TYPES_WITH_PREFIX"><code>MarshallerProperties.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.JAXBContextProperties.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/MarshallerProperties.html#JSON_TYPE_COMPATIBILITY"><code>MarshallerProperties.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.JAXBContextProperties.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>
conf.put(JAXBContextProperties.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/MarshallerProperties.html#JSON_TYPE_ATTRIBUTE_NAME"><code>MarshallerProperties.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.JAXBContextProperties.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="UNMARSHALLING_CASE_INSENSITIVE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UNMARSHALLING_CASE_INSENSITIVE</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> UNMARSHALLING_CASE_INSENSITIVE</pre>
<div class="block">If set to <i>Boolean.TRUE</i>, <a href="../../../../org/eclipse/persistence/jaxb/JAXBUnmarshaller.html" title="class in org.eclipse.persistence.jaxb"><code>JAXBUnmarshaller</code></a> will match
XML Elements and XML Attributes to Java fields case insensitively.
<p><b>Example</b></p>
<p>Given the following class:</p>
<pre>
&#64;XmlAccessorType(XmlAccessType.FIELD)
public class Customer {
&#64;XmlElement
private String name;
&#64;XmlAttribute
private int id;
}
</pre>
<p>If the property is set to true, the following XML object will match the class and will be unmarshaled.</p>
<pre>
&lt;customer iD="007"&gt;
&lt;nAMe&gt;cafeBabe&lt;/nAMe&gt;
&lt;/customer&gt;
</pre>
<p><b>By default, case-insensitive unmarshalling is turned off.</b></p>
<p>The property must be passed to the <a href="../../../../org/eclipse/persistence/jaxb/JAXBContextFactory.html" title="class in org.eclipse.persistence.jaxb"><code>JAXBContextFactory</code></a>, when creating
<a href="../../../../org/eclipse/persistence/jaxb/JAXBContext.html" title="class in org.eclipse.persistence.jaxb"><code>JAXBContext</code></a>. It will affect only unmarshaller created from that context.</p>
<p>Specifying this flag may impose a slight performance penalty.</p></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331241">EclipseLink Forum, Bug 331241.</a>,
<a href="../../../../org/eclipse/persistence/jaxb/UnmarshallerProperties.html#UNMARSHALLING_CASE_INSENSITIVE"><code>UnmarshallerProperties.UNMARSHALLING_CASE_INSENSITIVE</code></a>,
<a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.JAXBContextProperties.UNMARSHALLING_CASE_INSENSITIVE">Constant Field Values</a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.6.0</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.
Allowed 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/MarshallerProperties.html#BEAN_VALIDATION_MODE"><code>MarshallerProperties.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.JAXBContextProperties.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 of type <code>ValidatorFactory</code>.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/jaxb/MarshallerProperties.html#BEAN_VALIDATION_FACTORY"><code>MarshallerProperties.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.JAXBContextProperties.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/MarshallerProperties.html#BEAN_VALIDATION_GROUPS"><code>MarshallerProperties.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.JAXBContextProperties.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_FACETS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BEAN_VALIDATION_FACETS</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_FACETS</pre>
<div class="block">Enables or disables generation of XML Facets during schemagen process.
Allowed values are <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> or <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>,
effectively stating that facets (based on the BV annotations) will be generated,
or that the BV annotations processing will be skipped during schemagen
with no facets being generated, respectively.
Default value is <code>false</code>, i.e. facets are not generated by default.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.JAXBContextProperties.BEAN_VALIDATION_FACETS">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/MarshallerProperties.html#BEAN_VALIDATION_NO_OPTIMISATION"><code>MarshallerProperties.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.JAXBContextProperties.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/MarshallerProperties.html#MOXY_LOGGING_LEVEL"><code>MarshallerProperties.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.JAXBContextProperties.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/MarshallerProperties.html#MOXY_LOG_PAYLOAD"><code>MarshallerProperties.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.JAXBContextProperties.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="JAXBContextProperties--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>JAXBContextProperties</h4>
<pre>public&nbsp;JAXBContextProperties()</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/JAXBContextFactory.html" title="class in org.eclipse.persistence.jaxb"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/eclipse/persistence/jaxb/JAXBEnumTypeConverter.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/JAXBContextProperties.html" target="_top">Frames</a></li>
<li><a href="JAXBContextProperties.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>