| <!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>UnmarshallerProperties (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="UnmarshallerProperties (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/TypeMappingInfo.ElementScope.html" title="enum in org.eclipse.persistence.jaxb"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/eclipse/persistence/jaxb/ValidationXMLReader.html" title="class in org.eclipse.persistence.jaxb"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/eclipse/persistence/jaxb/UnmarshallerProperties.html" target="_top">Frames</a></li> |
| <li><a href="UnmarshallerProperties.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All 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: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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 UnmarshallerProperties" class="title">Class UnmarshallerProperties</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.UnmarshallerProperties</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">UnmarshallerProperties</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 Unmarshaller. Below |
| is an example of using the property mechanism to enable MOXy's JSON binding |
| for an instance of Unmarshaller. |
| <pre> |
| Unmarshaller unmarshaller = jaxbContext.createUnmarshaller(); |
| unmarshaller.setProperty(UnmarshallerProperties.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"> </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/UnmarshallerProperties.html#AUTO_DETECT_MEDIA_TYPE">AUTO_DETECT_MEDIA_TYPE</a></span></code> |
| <div class="block">The name of the property used to specify if the media type should be |
| auto detected (default is false).</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/UnmarshallerProperties.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="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/UnmarshallerProperties.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="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/UnmarshallerProperties.html#BEAN_VALIDATION_MODE">BEAN_VALIDATION_MODE</a></span></code> |
| <div class="block">Property for setting bean validation mode.</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/UnmarshallerProperties.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="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/UnmarshallerProperties.html#DISABLE_SECURE_PROCESSING">DISABLE_SECURE_PROCESSING</a></span></code> </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/UnmarshallerProperties.html#ID_RESOLVER">ID_RESOLVER</a></span></code> |
| <div class="block">The name of the property used to specify a custom IDResolver class, to |
| allow customization of ID/IDREF processing.</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/UnmarshallerProperties.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/UnmarshallerProperties.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/UnmarshallerProperties.html#JSON_NAMESPACE_PREFIX_MAPPER">JSON_NAMESPACE_PREFIX_MAPPER</a></span></code> |
| <div class="block">The Constant JSON_NAMESPACE_PREFIX_MAPPER.</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/UnmarshallerProperties.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/UnmarshallerProperties.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="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/UnmarshallerProperties.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="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/UnmarshallerProperties.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="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/UnmarshallerProperties.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="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/UnmarshallerProperties.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="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/UnmarshallerProperties.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="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/UnmarshallerProperties.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="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/UnmarshallerProperties.html#MOXY_LOGGING_LEVEL">MOXY_LOGGING_LEVEL</a></span></code> |
| <div class="block">Property for MOXy logging level.</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/UnmarshallerProperties.html#OBJECT_GRAPH">OBJECT_GRAPH</a></span></code> </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/UnmarshallerProperties.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> |
| </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"> </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/UnmarshallerProperties.html#UnmarshallerProperties--">UnmarshallerProperties</a></span>()</code> </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 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="ID_RESOLVER"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ID_RESOLVER</h4> |
| <pre>public static final <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> ID_RESOLVER</pre> |
| <div class="block">The name of the property used to specify a custom IDResolver class, to |
| allow customization of ID/IDREF processing.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/eclipse/persistence/jaxb/IDResolver.html" title="class in org.eclipse.persistence.jaxb"><code>IDResolver</code></a>, |
| <a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.UnmarshallerProperties.ID_RESOLVER">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 <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/MarshallerProperties.html#JSON_ATTRIBUTE_PREFIX"><code>MarshallerProperties.JSON_ATTRIBUTE_PREFIX</code></a>, |
| <a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.UnmarshallerProperties.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 <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/MarshallerProperties.html#JSON_INCLUDE_ROOT"><code>MarshallerProperties.JSON_INCLUDE_ROOT</code></a>, |
| <a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.UnmarshallerProperties.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_PREFIX_MAPPER"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>JSON_NAMESPACE_PREFIX_MAPPER</h4> |
| <pre>public static final <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_PREFIX_MAPPER</pre> |
| <div class="block">The Constant JSON_NAMESPACE_PREFIX_MAPPER. Provides a means to set a |
| a Map of namespace URIs to prefixes. |
| Alternatively can be an implementation of 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.UnmarshallerProperties.JSON_NAMESPACE_PREFIX_MAPPER">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 <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/MarshallerProperties.html#JSON_NAMESPACE_SEPARATOR"><code>MarshallerProperties.JSON_NAMESPACE_SEPARATOR</code></a>, |
| <a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.UnmarshallerProperties.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 <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/MarshallerProperties.html#JSON_VALUE_WRAPPER"><code>MarshallerProperties.JSON_VALUE_WRAPPER</code></a>, |
| <a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.UnmarshallerProperties.JSON_VALUE_WRAPPER">Constant Field Values</a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.4</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 <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/MarshallerProperties.html#JSON_USE_XSD_TYPES_WITH_PREFIX"><code>MarshallerProperties.JSON_USE_XSD_TYPES_WITH_PREFIX</code></a>, |
| <a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.UnmarshallerProperties.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 <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/MarshallerProperties.html#JSON_TYPE_COMPATIBILITY"><code>MarshallerProperties.JSON_TYPE_COMPATIBILITY</code></a>, |
| <a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.UnmarshallerProperties.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 <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> |
| unmarshaller.setProperty(UnmarshallerProperties.JSON_TYPE_ATTRIBUTE_NAME, "mytype"); |
| </pre> |
| <p>If the property is set the valid JSON input will be:</p> |
| <pre> |
| ... |
| { |
| "mytype": "phone", |
| "contactId": 3, |
| "number": "987654321" |
| } |
| ... |
| </pre> |
| <p>for following object model</p> |
| <pre> |
| @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 valid JSON input 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/MarshallerProperties.html#JSON_TYPE_ATTRIBUTE_NAME"><code>MarshallerProperties.JSON_TYPE_ATTRIBUTE_NAME</code></a>, |
| <a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.UnmarshallerProperties.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="MEDIA_TYPE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MEDIA_TYPE</h4> |
| <pre>public static final <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/MarshallerProperties.html#MEDIA_TYPE"><code>MarshallerProperties.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.UnmarshallerProperties.MEDIA_TYPE">Constant Field Values</a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.4</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="AUTO_DETECT_MEDIA_TYPE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>AUTO_DETECT_MEDIA_TYPE</h4> |
| <pre>public static final <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> AUTO_DETECT_MEDIA_TYPE</pre> |
| <div class="block">The name of the property used to specify if the media type should be |
| auto detected (default is false). Only set to true when the media type |
| is unknown. Otherwise set the MEDIA_TYPE property. If the type can not |
| be auto-detected an unmarshal with the MEDIA_TYPE value will be performed.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/eclipse/persistence/jaxb/UnmarshallerProperties.html#MEDIA_TYPE"><code>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.UnmarshallerProperties.AUTO_DETECT_MEDIA_TYPE">Constant Field Values</a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.4</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="OBJECT_GRAPH"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>OBJECT_GRAPH</h4> |
| <pre>public static final <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.UnmarshallerProperties.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 <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> |
| @XmlAccessorType(XmlAccessType.FIELD) |
| public class Customer { |
| |
| @XmlElementWrapper(name="phone-numbers") |
| @XmlElement(name="phone-number") |
| private List<PhoneNumber> 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/MarshallerProperties.html#JSON_WRAPPER_AS_ARRAY_NAME"><code>MarshallerProperties.JSON_WRAPPER_AS_ARRAY_NAME</code></a>, |
| <a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.UnmarshallerProperties.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="UNMARSHALLING_CASE_INSENSITIVE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>UNMARSHALLING_CASE_INSENSITIVE</h4> |
| <pre>public static final <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> |
| @XmlAccessorType(XmlAccessType.FIELD) |
| public class Customer { |
| |
| @XmlElement |
| private String name; |
| @XmlAttribute |
| private int id; |
| |
| } |
| </pre> |
| <p>If the property is set to true, the following XML object will match the class and will be unmarshalled.</p> |
| <pre> |
| <customer iD="007"> |
| <nAMe>cafeBabe</nAMe> |
| </customer> |
| </pre> |
| |
| <p><b>By default, case-insensitive unmarshalling is turned off.</b></p> |
| |
| <p>The property can be set through <a href="../../../../org/eclipse/persistence/jaxb/JAXBUnmarshaller.html#setProperty-java.lang.String-java.lang.Object-"><code>JAXBUnmarshaller.setProperty(String, Object)</code></a>.</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/JAXBContextProperties.html#UNMARSHALLING_CASE_INSENSITIVE"><code>JAXBContextProperties.UNMARSHALLING_CASE_INSENSITIVE</code></a>, |
| <a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.UnmarshallerProperties.UNMARSHALLING_CASE_INSENSITIVE">Constant Field Values</a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.6</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 <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/MarshallerProperties.html#BEAN_VALIDATION_MODE"><code>MarshallerProperties.BEAN_VALIDATION_MODE</code></a>, |
| <a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.UnmarshallerProperties.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 <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/MarshallerProperties.html#BEAN_VALIDATION_FACTORY"><code>MarshallerProperties.BEAN_VALIDATION_FACTORY</code></a>, |
| <a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.UnmarshallerProperties.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 <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/MarshallerProperties.html#BEAN_VALIDATION_GROUPS"><code>MarshallerProperties.BEAN_VALIDATION_GROUPS</code></a>, |
| <a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.UnmarshallerProperties.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 <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/MarshallerProperties.html#BEAN_VALIDATION_NO_OPTIMISATION"><code>MarshallerProperties.BEAN_VALIDATION_NO_OPTIMISATION</code></a>, |
| <a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.UnmarshallerProperties.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="DISABLE_SECURE_PROCESSING"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DISABLE_SECURE_PROCESSING</h4> |
| <pre>public static final <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> DISABLE_SECURE_PROCESSING</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.UnmarshallerProperties.DISABLE_SECURE_PROCESSING">Constant Field Values</a></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 <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/MarshallerProperties.html#MOXY_LOGGING_LEVEL"><code>MarshallerProperties.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.UnmarshallerProperties.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 <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/MarshallerProperties.html#MOXY_LOG_PAYLOAD"><code>MarshallerProperties.MOXY_LOG_PAYLOAD</code></a>, |
| <a href="../../../../constant-values.html#org.eclipse.persistence.jaxb.UnmarshallerProperties.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="UnmarshallerProperties--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>UnmarshallerProperties</h4> |
| <pre>public UnmarshallerProperties()</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/TypeMappingInfo.ElementScope.html" title="enum in org.eclipse.persistence.jaxb"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/eclipse/persistence/jaxb/ValidationXMLReader.html" title="class in org.eclipse.persistence.jaxb"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/eclipse/persistence/jaxb/UnmarshallerProperties.html" target="_top">Frames</a></li> |
| <li><a href="UnmarshallerProperties.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All 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: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li>Method</li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2007–2021 <a href="http://www.eclipse.org/eclipselink">Eclipse.org - EclipseLink Project</a>. All rights reserved.</small></p> |
| </body> |
| </html> |