blob: 524e59865af9100ada070937bfa57ceb9a2bc1d8 [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:39:10 UTC 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>XMLContext (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="XMLContext (EclipseLink 3.0.2, API Reference)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</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/oxm/XMLConstants.html" title="class in org.eclipse.persistence.oxm"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/eclipse/persistence/oxm/XMLContext.html" target="_top">Frames</a></li>
<li><a href="XMLContext.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><a href="#nested.classes.inherited.from.class.org.eclipse.persistence.internal.oxm.Context">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.eclipse.persistence.internal.oxm.Context">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></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.oxm</div>
<h2 title="Class XMLContext" class="title">Class XMLContext</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.internal.oxm.Context&lt;org.eclipse.persistence.internal.sessions.AbstractSession,<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>,<a href="../../../../org/eclipse/persistence/oxm/XMLField.html" title="class in org.eclipse.persistence.oxm">XMLField</a>,<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>,<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>,<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>,<a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions">SessionEventListener</a>&gt;</li>
<li>
<ul class="inheritance">
<li>org.eclipse.persistence.oxm.XMLContext</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">XMLContext</span>
extends org.eclipse.persistence.internal.oxm.Context&lt;org.eclipse.persistence.internal.sessions.AbstractSession,<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>,<a href="../../../../org/eclipse/persistence/oxm/XMLField.html" title="class in org.eclipse.persistence.oxm">XMLField</a>,<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>,<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>,<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>,<a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions">SessionEventListener</a>&gt;</pre>
<div class="block"><p>
An XMLContext is created based on EclipseLink sessions or projects and can then
used to create instances of XMLMarshaller, XMLUnmarshaller and XMLValidator.
<p>
There are constructors to create an XMLContext with a single EclipseLink project
or with a String which is a single EclipseLink session name or a ':' separated
list of EclipseLink session names.
<p>
<em>Code Sample</em><br>
<code>
XMLContext context = new XMLContext("mySessionName");<br>
XMLMarshaller marshaller = context.createMarshaller();<br>
XMLUnmarshaller unmarshaller = context.createUnmarshaller();<br>
XMLValidator validator = context.createValidator();<br>
</code>
<p>The XMLContext is thread-safe. If multiple threads accessing the same XMLContext object
request an XMLMarshaller, each will receive their own instance of XMLMarshaller, so any
state that the XMLMarshaller maintains will be unique to that process. The same is true
of instances of XMLUnmarshaller and XMLValidator.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/oxm/XMLMarshaller.html" title="class in org.eclipse.persistence.oxm"><code>XMLMarshaller</code></a>,
<a href="../../../../org/eclipse/persistence/oxm/XMLUnmarshaller.html" title="class in org.eclipse.persistence.oxm"><code>XMLUnmarshaller</code></a>,
<a href="../../../../org/eclipse/persistence/oxm/XMLValidator.html" title="class in org.eclipse.persistence.oxm"><code>XMLValidator</code></a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.eclipse.persistence.internal.oxm.Context">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;org.eclipse.persistence.internal.oxm.Context</h3>
<code>org.eclipse.persistence.internal.oxm.Context.ContextState&lt;ABSTRACT_SESSION extends org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,DESCRIPTOR extends org.eclipse.persistence.internal.oxm.mappings.Descriptor,PROJECT extends <a href="../../../../org/eclipse/persistence/core/sessions/CoreProject.html" title="class in org.eclipse.persistence.core.sessions">CoreProject</a>,SESSION extends <a href="../../../../org/eclipse/persistence/core/sessions/CoreSession.html" title="interface in org.eclipse.persistence.core.sessions">CoreSession</a>,SESSION_EVENT_LISTENER extends <a href="../../../../org/eclipse/persistence/core/sessions/CoreSessionEventListener.html" title="interface in org.eclipse.persistence.core.sessions">CoreSessionEventListener</a>&gt;</code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.eclipse.persistence.internal.oxm.Context">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.persistence.internal.oxm.Context</h3>
<code>contextState</code></li>
</ul>
</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/oxm/XMLContext.html#XMLContext-java.util.Collection-">XMLContext</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&nbsp;projects)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#XMLContext-java.util.Collection-java.lang.ClassLoader-">XMLContext</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&nbsp;projects,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#XMLContext-org.eclipse.persistence.sessions.Project-">XMLContext</a></span>(<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>&nbsp;project)</code>
<div class="block">Create a new XMLContext based on the specified project</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#XMLContext-org.eclipse.persistence.sessions.Project-java.lang.ClassLoader-">XMLContext</a></span>(<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>&nbsp;project,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader)</code>
<div class="block">Create a new XMLContext based on the specified Project and ClassLoader.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#XMLContext-org.eclipse.persistence.sessions.Project-java.lang.ClassLoader-java.util.Collection-">XMLContext</a></span>(<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>&nbsp;project,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions">SessionEventListener</a>&gt;&nbsp;sessionEventListeners)</code>
<div class="block">Create a new XMLContext based on the specified Project and ClassLoader.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#XMLContext-org.eclipse.persistence.sessions.Project-java.lang.ClassLoader-org.eclipse.persistence.sessions.SessionEventListener-">XMLContext</a></span>(<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>&nbsp;project,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader,
<a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions">SessionEventListener</a>&nbsp;sessionEventListener)</code>
<div class="block">Create a new XMLContext based on the specified Project and ClassLoader.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#XMLContext-java.lang.String-">XMLContext</a></span>(<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>&nbsp;sessionNames)</code>
<div class="block">Create a new XMLContext based on the specified session name or list of
session names</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#XMLContext-java.lang.String-java.lang.ClassLoader-">XMLContext</a></span>(<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>&nbsp;sessionNames,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader)</code>
<div class="block">Create a new XMLContext based on the specified session name or list of
session names</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#XMLContext-java.lang.String-java.lang.ClassLoader-java.lang.String-">XMLContext</a></span>(<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>&nbsp;sessionNames,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader,
<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>&nbsp;xmlResource)</code>
<div class="block">Create a new XMLContext based on passed in session names, classloader and
session meta XML.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#XMLContext-java.lang.String-java.lang.String-">XMLContext</a></span>(<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>&nbsp;sessionNames,
<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>&nbsp;xmlResource)</code>
<div class="block">Create a new XMLContext based on passed in session names and session meta
XML.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#addDescriptorByQName-javax.xml.namespace.QName-org.eclipse.persistence.oxm.XMLDescriptor-">addDescriptorByQName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a>&nbsp;qName,
<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>&nbsp;descriptor)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#addSession-org.eclipse.persistence.sessions.DatabaseSession-">addSession</a></span>(<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>&nbsp;sessionToAdd)</code>
<div class="block">INTERNAL: Add and initialize a new session to the list of sessions
associated with this XMLContext.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#applyORMMetadata-org.eclipse.persistence.internal.sessions.AbstractSession-">applyORMMetadata</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;ormSession)</code>
<div class="block">ADVANCED:
Adjust the OXM metadata to take into account ORM mapping metadata,</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/oxm/XMLBinder.html" title="class in org.eclipse.persistence.oxm">XMLBinder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#createBinder--">createBinder</a></span>()</code>
<div class="block">Create a new XMLBinder</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/oxm/XMLBinder.html" title="class in org.eclipse.persistence.oxm">XMLBinder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#createBinder-org.eclipse.persistence.oxm.XMLMarshaller-org.eclipse.persistence.oxm.XMLUnmarshaller-">createBinder</a></span>(<a href="../../../../org/eclipse/persistence/oxm/XMLMarshaller.html" title="class in org.eclipse.persistence.oxm">XMLMarshaller</a>&nbsp;marshaller,
<a href="../../../../org/eclipse/persistence/oxm/XMLUnmarshaller.html" title="class in org.eclipse.persistence.oxm">XMLUnmarshaller</a>&nbsp;unmarshaller)</code>
<div class="block">Create a new XMLBinder with supplied marshaller and unmarshaller instances.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#createByQualifiedName-java.lang.String-java.lang.String-boolean-">createByQualifiedName</a></span>(<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>&nbsp;namespace,
<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>&nbsp;typeName,
boolean&nbsp;isGlobalType)</code>
<div class="block">Create a new object instance for a given XML namespace and name.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#createByXPath-java.lang.Object-java.lang.String-org.eclipse.persistence.oxm.NamespaceResolver-java.lang.Class-">createByXPath</a></span>(<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>&nbsp;parentObject,
<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>&nbsp;xPath,
<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>&nbsp;namespaceResolver,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;returnType)</code>
<div class="block">Create a new object instance for a given XPath, relative to the parentObject.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/eclipse/persistence/oxm/XMLField.html" title="class in org.eclipse.persistence.oxm">XMLField</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#createField-java.lang.String-">createField</a></span>(<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>&nbsp;path)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/oxm/XMLMarshaller.html" title="class in org.eclipse.persistence.oxm">XMLMarshaller</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#createMarshaller--">createMarshaller</a></span>()</code>
<div class="block">Create a new XMLMarshaller</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/oxm/XMLUnmarshaller.html" title="class in org.eclipse.persistence.oxm">XMLUnmarshaller</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#createUnmarshaller--">createUnmarshaller</a></span>()</code>
<div class="block">Create a new XMLUnmarshaller</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/oxm/XMLUnmarshaller.html" title="class in org.eclipse.persistence.oxm">XMLUnmarshaller</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#createUnmarshaller-java.util.Map-">createUnmarshaller</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<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>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&nbsp;parserFeatures)</code>
<div class="block">Create a new XMLUnmarshaller</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/oxm/XMLValidator.html" title="class in org.eclipse.persistence.oxm">XMLValidator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#createValidator--">createValidator</a></span>()</code>
<div class="block">Create a new XMLValidator</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#getDescriptor-javax.xml.namespace.QName-">getDescriptor</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a>&nbsp;qName)</code>
<div class="block">INTERNAL: Return the XMLDescriptor with the default root mapping matching
the QName parameter.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#getDescriptor-org.eclipse.persistence.internal.oxm.XPathQName-">getDescriptor</a></span>(org.eclipse.persistence.internal.oxm.XPathQName&nbsp;xpathQName)</code>
<div class="block">INTERNAL: Return the XMLDescriptor with the default root mapping matching
the QName parameter.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#getDescriptorByGlobalType-org.eclipse.persistence.internal.oxm.XPathFragment-">getDescriptorByGlobalType</a></span>(org.eclipse.persistence.internal.oxm.XPathFragment&nbsp;xPathFragment)</code>
<div class="block">INTERNAL: Return the XMLDescriptor mapped to the global type matching the
XPathFragment parameter.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>org.eclipse.persistence.internal.oxm.mappings.Descriptor</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#getDescriptorForObject-java.lang.Object-">getDescriptorForObject</a></span>(<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>&nbsp;object)</code>
<div class="block">Returns descriptor for given object.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.eclipse.persistence.internal.oxm.mappings.Descriptor&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#getDescriptors--">getDescriptors</a></span>()</code>
<div class="block">Returns descriptors from all sessions.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/oxm/documentpreservation/DocumentPreservationPolicy.html" title="class in org.eclipse.persistence.oxm.documentpreservation">DocumentPreservationPolicy</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#getDocumentPreservationPolicy-org.eclipse.persistence.internal.sessions.AbstractSession-">getDocumentPreservationPolicy</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session)</code>
<div class="block">INTERNAL:
Return the DocumentPreservationPolicy associated with this session</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>org.eclipse.persistence.internal.oxm.ConversionManager</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#getOxmConversionManager--">getOxmConversionManager</a></span>()</code>
<div class="block">Returns conversion manager from session datasource platform.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>org.eclipse.persistence.internal.sessions.AbstractSession</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#getReadSession-java.lang.Class-">getReadSession</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;clazz)</code>
<div class="block">INTERNAL:
Return the session corresponding to this class.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>org.eclipse.persistence.internal.sessions.AbstractSession</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#getReadSession-java.lang.Object-">getReadSession</a></span>(<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>&nbsp;object)</code>
<div class="block">INTERNAL: Return the session corresponding to this object.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>org.eclipse.persistence.internal.sessions.AbstractSession</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#getReadSession-org.eclipse.persistence.oxm.XMLDescriptor-">getReadSession</a></span>(<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>&nbsp;xmlDescriptor)</code>
<div class="block">INTERNAL:
Return the session corresponding to this XMLDescriptor.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>org.eclipse.persistence.internal.sessions.AbstractSession</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#getSession-java.lang.Class-">getSession</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;clazz)</code>
<div class="block">INTERNAL: Return the session corresponding to this class.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#getSession-int-">getSession</a></span>(int&nbsp;index)</code>
<div class="block">INTERNAL: <code>
XMLContext xmlContext = new XMLContext("path0:path1");<br>
DatabaseSession session = xmlContext.getSession(0); // returns session for path0<br>
</code></div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>org.eclipse.persistence.internal.sessions.AbstractSession</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#getSession-java.lang.Object-">getSession</a></span>(<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>&nbsp;object)</code>
<div class="block">INTERNAL: Return the session corresponding to this object.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>org.eclipse.persistence.internal.sessions.AbstractSession</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#getSession-org.eclipse.persistence.oxm.XMLDescriptor-">getSession</a></span>(<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>&nbsp;xmlDescriptor)</code>
<div class="block">INTERNAL: Return the session corresponding to this XMLDescriptor.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#getSessions--">getSessions</a></span>()</code>
<div class="block">INTERNAL: Return the EclipseLink session used to marshal.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#getValueByXPath-java.lang.Object-java.lang.String-org.eclipse.persistence.oxm.NamespaceResolver-java.lang.Class-">getValueByXPath</a></span>(<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>&nbsp;object,
<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>&nbsp;xPath,
<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>&nbsp;namespaceResolver,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;returnType)</code>
<div class="block">Query the object model based on the corresponding XML document.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>org.eclipse.persistence.oxm.XMLContext.XMLContextState</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#getXMLContextState--">getXMLContextState</a></span>()</code>
<div class="block">INTERNAL: Return the XMLContextState that represents the XMLContexts
stateful information.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#hasDocumentPreservation--">hasDocumentPreservation</a></span>()</code>
<div class="block">INTERNAL:
Return true if any session held onto by this context has a document preservation
policy that requires unmarshalling from a Node.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#setupDocumentPreservationPolicy-org.eclipse.persistence.sessions.DatabaseSession-">setupDocumentPreservationPolicy</a></span>(<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>&nbsp;session)</code>&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#setValueByXPath-java.lang.Object-java.lang.String-org.eclipse.persistence.oxm.NamespaceResolver-java.lang.Object-">setValueByXPath</a></span>(<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>&nbsp;object,
<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>&nbsp;xPath,
<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>&nbsp;namespaceResolver,
<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>&nbsp;value)</code>
<div class="block">Set values in the object model based on the corresponding XML document.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#setXMLContextState-org.eclipse.persistence.oxm.XMLContext.XMLContextState-">setXMLContextState</a></span>(org.eclipse.persistence.oxm.XMLContext.XMLContextState&nbsp;xcs)</code>
<div class="block">INTERNAL: Set the stateful information for this XMLContext.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/oxm/XMLContext.html#storeXMLDescriptorByQName-org.eclipse.persistence.oxm.XMLDescriptor-">storeXMLDescriptorByQName</a></span>(<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>&nbsp;xmlDescriptor)</code>
<div class="block">INTERNAL:</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.persistence.internal.oxm.Context">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.persistence.internal.oxm.Context</h3>
<code>getSession</code></li>
</ul>
<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">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="XMLContext-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XMLContext</h4>
<pre>public&nbsp;XMLContext(<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>&nbsp;sessionNames)</pre>
<div class="block">Create a new XMLContext based on the specified session name or list of
session names</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sessionNames</code> - A single session name or multiple session names separated by a :</dd>
</dl>
</li>
</ul>
<a name="XMLContext-java.lang.String-java.lang.ClassLoader-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XMLContext</h4>
<pre>public&nbsp;XMLContext(<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>&nbsp;sessionNames,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader)</pre>
<div class="block">Create a new XMLContext based on the specified session name or list of
session names</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sessionNames</code> - A single session name or multiple session names separated by a :</dd>
<dd><code>classLoader</code> - classloader for loading sessions.xml</dd>
</dl>
</li>
</ul>
<a name="XMLContext-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XMLContext</h4>
<pre>public&nbsp;XMLContext(<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>&nbsp;sessionNames,
<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>&nbsp;xmlResource)</pre>
<div class="block">Create a new XMLContext based on passed in session names and session meta
XML.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sessionNames</code> - A single session name or multiple session names separated by
a:</dd>
<dd><code>xmlResource</code> - path to XML file containing session meta data to initialize
and load sessions.</dd>
</dl>
</li>
</ul>
<a name="XMLContext-java.lang.String-java.lang.ClassLoader-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XMLContext</h4>
<pre>public&nbsp;XMLContext(<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>&nbsp;sessionNames,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader,
<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>&nbsp;xmlResource)</pre>
<div class="block">Create a new XMLContext based on passed in session names, classloader and
session meta XML.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sessionNames</code> - A single session name or multiple session names separated by a :</dd>
<dd><code>classLoader</code> - classloader for loading sessions.xml</dd>
<dd><code>xmlResource</code> - path to XML file containing session meta data to initialize
and load sessions.</dd>
</dl>
</li>
</ul>
<a name="XMLContext-org.eclipse.persistence.sessions.Project-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XMLContext</h4>
<pre>public&nbsp;XMLContext(<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>&nbsp;project)</pre>
<div class="block">Create a new XMLContext based on the specified project</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>project</code> - An EclipseLink project</dd>
</dl>
</li>
</ul>
<a name="XMLContext-org.eclipse.persistence.sessions.Project-java.lang.ClassLoader-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XMLContext</h4>
<pre>public&nbsp;XMLContext(<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>&nbsp;project,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader)</pre>
<div class="block">Create a new XMLContext based on the specified Project and ClassLoader.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>project</code> - An EclipseLink project</dd>
<dd><code>classLoader</code> - The ClassLoader to be used</dd>
</dl>
</li>
</ul>
<a name="XMLContext-org.eclipse.persistence.sessions.Project-java.lang.ClassLoader-org.eclipse.persistence.sessions.SessionEventListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XMLContext</h4>
<pre>public&nbsp;XMLContext(<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>&nbsp;project,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader,
<a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions">SessionEventListener</a>&nbsp;sessionEventListener)</pre>
<div class="block">Create a new XMLContext based on the specified Project and ClassLoader.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>project</code> - An EclipseLink project</dd>
<dd><code>classLoader</code> - The ClassLoader to be used</dd>
<dd><code>sessionEventListener</code> - If non-null, this listener will be registered with the SessionEventManager</dd>
<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="../../../../org/eclipse/persistence/sessions/SessionEventManager.html" title="class in org.eclipse.persistence.sessions"><code>SessionEventManager</code></a></dd>
</dl>
</li>
</ul>
<a name="XMLContext-org.eclipse.persistence.sessions.Project-java.lang.ClassLoader-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XMLContext</h4>
<pre>public&nbsp;XMLContext(<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>&nbsp;project,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions">SessionEventListener</a>&gt;&nbsp;sessionEventListeners)</pre>
<div class="block">Create a new XMLContext based on the specified Project and ClassLoader.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>project</code> - An EclipseLink project</dd>
<dd><code>classLoader</code> - The ClassLoader to be used</dd>
<dd><code>sessionEventListeners</code> - If non-null, these listeners will be registered with the SessionEventManager</dd>
<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="../../../../org/eclipse/persistence/sessions/SessionEventManager.html" title="class in org.eclipse.persistence.sessions"><code>SessionEventManager</code></a></dd>
</dl>
</li>
</ul>
<a name="XMLContext-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XMLContext</h4>
<pre>public&nbsp;XMLContext(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&nbsp;projects)</pre>
</li>
</ul>
<a name="XMLContext-java.util.Collection-java.lang.ClassLoader-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>XMLContext</h4>
<pre>public&nbsp;XMLContext(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&nbsp;projects,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getXMLContextState--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getXMLContextState</h4>
<pre>public&nbsp;org.eclipse.persistence.oxm.XMLContext.XMLContextState&nbsp;getXMLContextState()</pre>
<div class="block">INTERNAL: Return the XMLContextState that represents the XMLContexts
stateful information. This method is provided for the benefits of layers
that build on top of the core OXM layer such as MOXy's JAXB
implementation.</div>
</li>
</ul>
<a name="setXMLContextState-org.eclipse.persistence.oxm.XMLContext.XMLContextState-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setXMLContextState</h4>
<pre>public&nbsp;void&nbsp;setXMLContextState(org.eclipse.persistence.oxm.XMLContext.XMLContextState&nbsp;xcs)</pre>
<div class="block">INTERNAL: Set the stateful information for this XMLContext. Once the new
state has been set, OXM operations (marshal, unmarshal, etc) will be
based on this new state. This method is provided for the benefit of
layers that build on top of the core OXM layer such as MOXy's JAXB</div>
</li>
</ul>
<a name="addSession-org.eclipse.persistence.sessions.DatabaseSession-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addSession</h4>
<pre>public&nbsp;void&nbsp;addSession(<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>&nbsp;sessionToAdd)</pre>
<div class="block">INTERNAL: Add and initialize a new session to the list of sessions
associated with this XMLContext.</div>
</li>
</ul>
<a name="createUnmarshaller--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createUnmarshaller</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/oxm/XMLUnmarshaller.html" title="class in org.eclipse.persistence.oxm">XMLUnmarshaller</a>&nbsp;createUnmarshaller()</pre>
<div class="block">Create a new XMLUnmarshaller</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>createUnmarshaller</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Context&lt;org.eclipse.persistence.internal.sessions.AbstractSession,<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>,<a href="../../../../org/eclipse/persistence/oxm/XMLField.html" title="class in org.eclipse.persistence.oxm">XMLField</a>,<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>,<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>,<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>,<a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions">SessionEventListener</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An XMLUnmarshaller based on this XMLContext</dd>
</dl>
</li>
</ul>
<a name="createUnmarshaller-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createUnmarshaller</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/oxm/XMLUnmarshaller.html" title="class in org.eclipse.persistence.oxm">XMLUnmarshaller</a>&nbsp;createUnmarshaller(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<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>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&nbsp;parserFeatures)</pre>
<div class="block">Create a new XMLUnmarshaller
<pre>
Map&lt;String, Boolean&gt; parserFeatures = new HashMap&lt;String, Boolean&gt;(1);
parserFeatures.put("http://apache.org/xml/features/validation/schema/normalized-value", false);
XMLUnmarshaller unmarshaller = xmlContext.createUnmarshaller(parserFeatures);
</pre></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An XMLUnmarshaller based on this XMLContext, the underlying
parser will use the passed in parser features.</dd>
</dl>
</li>
</ul>
<a name="createBinder--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createBinder</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/oxm/XMLBinder.html" title="class in org.eclipse.persistence.oxm">XMLBinder</a>&nbsp;createBinder()</pre>
<div class="block">Create a new XMLBinder</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an XMLBinder based on this XMLContext</dd>
</dl>
</li>
</ul>
<a name="createBinder-org.eclipse.persistence.oxm.XMLMarshaller-org.eclipse.persistence.oxm.XMLUnmarshaller-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createBinder</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/oxm/XMLBinder.html" title="class in org.eclipse.persistence.oxm">XMLBinder</a>&nbsp;createBinder(<a href="../../../../org/eclipse/persistence/oxm/XMLMarshaller.html" title="class in org.eclipse.persistence.oxm">XMLMarshaller</a>&nbsp;marshaller,
<a href="../../../../org/eclipse/persistence/oxm/XMLUnmarshaller.html" title="class in org.eclipse.persistence.oxm">XMLUnmarshaller</a>&nbsp;unmarshaller)</pre>
<div class="block">Create a new XMLBinder with supplied marshaller and unmarshaller instances.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an XMLBinder based on this XMLContext,</dd>
</dl>
</li>
</ul>
<a name="createMarshaller--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createMarshaller</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/oxm/XMLMarshaller.html" title="class in org.eclipse.persistence.oxm">XMLMarshaller</a>&nbsp;createMarshaller()</pre>
<div class="block">Create a new XMLMarshaller</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>createMarshaller</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Context&lt;org.eclipse.persistence.internal.sessions.AbstractSession,<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>,<a href="../../../../org/eclipse/persistence/oxm/XMLField.html" title="class in org.eclipse.persistence.oxm">XMLField</a>,<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>,<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>,<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>,<a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions">SessionEventListener</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An XMLMarshaller based on this XMLContext</dd>
</dl>
</li>
</ul>
<a name="createValidator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createValidator</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/oxm/XMLValidator.html" title="class in org.eclipse.persistence.oxm">XMLValidator</a>&nbsp;createValidator()</pre>
<div class="block">Create a new XMLValidator</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An XMLValidator based on this XMLContext</dd>
</dl>
</li>
</ul>
<a name="getReadSession-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReadSession</h4>
<pre>public&nbsp;org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;getReadSession(<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>&nbsp;object)</pre>
<div class="block">INTERNAL: Return the session corresponding to this object. Since the
object may be mapped by more that one of the projects used to create the
XML Context, this method will return the first match.
The session will be a unit of work if document preservation is not
enabled. This method will typically be used for unmarshalling
when a non-shared cache is desired.</div>
</li>
</ul>
<a name="getReadSession-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReadSession</h4>
<pre>public&nbsp;org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;getReadSession(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;clazz)</pre>
<div class="block">INTERNAL:
Return the session corresponding to this class. Since the class
may be mapped by more that one of the projects used to create the XML
Context, this method will return the first match.
The session will be a unit of work if document preservation is not
enabled. This method will typically be used for unmarshalling
when a non-shared cache is desired.</div>
</li>
</ul>
<a name="getReadSession-org.eclipse.persistence.oxm.XMLDescriptor-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReadSession</h4>
<pre>public&nbsp;org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;getReadSession(<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>&nbsp;xmlDescriptor)</pre>
<div class="block">INTERNAL:
Return the session corresponding to this XMLDescriptor. Since
the class may be mapped by more that one of the projects used to create
the XML Context, this method will return the first match.
The session will be a unit of work if document preservation is not
enabled. This method will typically be used for unmarshalling
when a non-shared cache is desired.</div>
</li>
</ul>
<a name="getSessions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSessions</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&nbsp;getSessions()</pre>
<div class="block">INTERNAL: Return the EclipseLink session used to marshal.</div>
</li>
</ul>
<a name="getSession-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSession</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>&nbsp;getSession(int&nbsp;index)</pre>
<div class="block">INTERNAL: <code>
XMLContext xmlContext = new XMLContext("path0:path1");<br>
DatabaseSession session = xmlContext.getSession(0); // returns session for path0<br>
</code></div>
</li>
</ul>
<a name="getSession-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSession</h4>
<pre>public&nbsp;org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;getSession(<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>&nbsp;object)</pre>
<div class="block">INTERNAL: Return the session corresponding to this object. Since the
object may be mapped by more that one of the projects used to create the
XML Context, this method will return the first match.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getSession</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Context&lt;org.eclipse.persistence.internal.sessions.AbstractSession,<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>,<a href="../../../../org/eclipse/persistence/oxm/XMLField.html" title="class in org.eclipse.persistence.oxm">XMLField</a>,<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>,<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>,<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>,<a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions">SessionEventListener</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="getSession-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSession</h4>
<pre>public&nbsp;org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;getSession(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;clazz)</pre>
<div class="block">INTERNAL: Return the session corresponding to this class. Since the class
may be mapped by more that one of the projects used to create the XML
Context, this method will return the first match.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getSession</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Context&lt;org.eclipse.persistence.internal.sessions.AbstractSession,<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>,<a href="../../../../org/eclipse/persistence/oxm/XMLField.html" title="class in org.eclipse.persistence.oxm">XMLField</a>,<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>,<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>,<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>,<a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions">SessionEventListener</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="getSession-org.eclipse.persistence.oxm.XMLDescriptor-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSession</h4>
<pre>public&nbsp;org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;getSession(<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>&nbsp;xmlDescriptor)</pre>
<div class="block">INTERNAL: Return the session corresponding to this XMLDescriptor. Since
the class may be mapped by more that one of the projects used to create
the XML Context, this method will return the first match.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getSession</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Context&lt;org.eclipse.persistence.internal.sessions.AbstractSession,<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>,<a href="../../../../org/eclipse/persistence/oxm/XMLField.html" title="class in org.eclipse.persistence.oxm">XMLField</a>,<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>,<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>,<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>,<a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions">SessionEventListener</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="storeXMLDescriptorByQName-org.eclipse.persistence.oxm.XMLDescriptor-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>storeXMLDescriptorByQName</h4>
<pre>public&nbsp;void&nbsp;storeXMLDescriptorByQName(<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>&nbsp;xmlDescriptor)</pre>
<div class="block">INTERNAL:</div>
</li>
</ul>
<a name="getDescriptor-javax.xml.namespace.QName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDescriptor</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>&nbsp;getDescriptor(<a href="https://docs.oracle.com/javase/8/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a>&nbsp;qName)</pre>
<div class="block">INTERNAL: Return the XMLDescriptor with the default root mapping matching
the QName parameter.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getDescriptor</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Context&lt;org.eclipse.persistence.internal.sessions.AbstractSession,<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>,<a href="../../../../org/eclipse/persistence/oxm/XMLField.html" title="class in org.eclipse.persistence.oxm">XMLField</a>,<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>,<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>,<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>,<a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions">SessionEventListener</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="getDescriptor-org.eclipse.persistence.internal.oxm.XPathQName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDescriptor</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>&nbsp;getDescriptor(org.eclipse.persistence.internal.oxm.XPathQName&nbsp;xpathQName)</pre>
<div class="block">INTERNAL: Return the XMLDescriptor with the default root mapping matching
the QName parameter.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getDescriptor</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Context&lt;org.eclipse.persistence.internal.sessions.AbstractSession,<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>,<a href="../../../../org/eclipse/persistence/oxm/XMLField.html" title="class in org.eclipse.persistence.oxm">XMLField</a>,<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>,<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>,<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>,<a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions">SessionEventListener</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="addDescriptorByQName-javax.xml.namespace.QName-org.eclipse.persistence.oxm.XMLDescriptor-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addDescriptorByQName</h4>
<pre>public&nbsp;void&nbsp;addDescriptorByQName(<a href="https://docs.oracle.com/javase/8/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a>&nbsp;qName,
<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>&nbsp;descriptor)</pre>
</li>
</ul>
<a name="getDescriptorByGlobalType-org.eclipse.persistence.internal.oxm.XPathFragment-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDescriptorByGlobalType</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>&nbsp;getDescriptorByGlobalType(org.eclipse.persistence.internal.oxm.XPathFragment&nbsp;xPathFragment)</pre>
<div class="block">INTERNAL: Return the XMLDescriptor mapped to the global type matching the
XPathFragment parameter.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getDescriptorByGlobalType</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Context&lt;org.eclipse.persistence.internal.sessions.AbstractSession,<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>,<a href="../../../../org/eclipse/persistence/oxm/XMLField.html" title="class in org.eclipse.persistence.oxm">XMLField</a>,<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>,<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>,<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>,<a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions">SessionEventListener</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="getDocumentPreservationPolicy-org.eclipse.persistence.internal.sessions.AbstractSession-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDocumentPreservationPolicy</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/oxm/documentpreservation/DocumentPreservationPolicy.html" title="class in org.eclipse.persistence.oxm.documentpreservation">DocumentPreservationPolicy</a>&nbsp;getDocumentPreservationPolicy(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session)</pre>
<div class="block">INTERNAL:
Return the DocumentPreservationPolicy associated with this session</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
</li>
</ul>
<a name="setupDocumentPreservationPolicy-org.eclipse.persistence.sessions.DatabaseSession-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setupDocumentPreservationPolicy</h4>
<pre>public&nbsp;void&nbsp;setupDocumentPreservationPolicy(<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>&nbsp;session)</pre>
</li>
</ul>
<a name="hasDocumentPreservation--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasDocumentPreservation</h4>
<pre>public&nbsp;boolean&nbsp;hasDocumentPreservation()</pre>
<div class="block">INTERNAL:
Return true if any session held onto by this context has a document preservation
policy that requires unmarshalling from a Node.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>hasDocumentPreservation</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Context&lt;org.eclipse.persistence.internal.sessions.AbstractSession,<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>,<a href="../../../../org/eclipse/persistence/oxm/XMLField.html" title="class in org.eclipse.persistence.oxm">XMLField</a>,<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>,<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>,<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>,<a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions">SessionEventListener</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="applyORMMetadata-org.eclipse.persistence.internal.sessions.AbstractSession-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>applyORMMetadata</h4>
<pre>public&nbsp;void&nbsp;applyORMMetadata(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;ormSession)</pre>
<div class="block">ADVANCED:
Adjust the OXM metadata to take into account ORM mapping metadata,</div>
</li>
</ul>
<a name="getValueByXPath-java.lang.Object-java.lang.String-org.eclipse.persistence.oxm.NamespaceResolver-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValueByXPath</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;getValueByXPath(<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>&nbsp;object,
<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>&nbsp;xPath,
<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>&nbsp;namespaceResolver,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;returnType)</pre>
<div class="block"><p>Query the object model based on the corresponding XML document. The following pairings are equivalent:</p>
<i>Return the Customer's ID</i>
<pre> Integer id = xmlContext.getValueByXPath(customer, "@id", null, Integer.class);
Integer id = customer.getId();</pre>
<i>Return the Customer's Name</i>
<pre> String name = xmlContext.getValueByXPath(customer, "ns:personal-info/ns:name/text()", null, String.class);
String name = customer.getName();</pre>
<i>Return the Customer's Address</i>
<pre> Address address = xmlContext.getValueByXPath(customer, "ns:contact-info/ns:address", aNamespaceResolver, Address.class);
Address address = customer.getAddress();</pre>
<i>Return all the Customer's PhoneNumbers</i>
<pre> List phoneNumbers = xmlContext.getValueByXPath(customer, "ns:contact-info/ns:phone-number", aNamespaceResolver, List.class);
List phoneNumbers = customer.getPhoneNumbers();</pre>
<i>Return the Customer's second PhoneNumber</i>
<pre> PhoneNumber phoneNumber = xmlContext.getValueByXPath(customer, "ns:contact-info/ns:phone-number[2]", aNamespaceResolver, PhoneNumber.class);
PhoneNumber phoneNumber = customer.getPhoneNumbers().get(1);</pre>
<i>Return the base object</i>
<pre> Customer customer = xmlContext.getValueByXPath(customer, ".", aNamespaceResolver, Customer.class);
Customer customer = customer;
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getValueByXPath</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Context&lt;org.eclipse.persistence.internal.sessions.AbstractSession,<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>,<a href="../../../../org/eclipse/persistence/oxm/XMLField.html" title="class in org.eclipse.persistence.oxm">XMLField</a>,<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>,<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>,<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>,<a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions">SessionEventListener</a>&gt;</code></dd>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - The return type of this method corresponds to the returnType parameter.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>object</code> - The XPath will be executed relative to this object.</dd>
<dd><code>xPath</code> - The XPath statement</dd>
<dd><code>namespaceResolver</code> - A NamespaceResolver containing the prefix/URI pairings from the XPath statement.</dd>
<dd><code>returnType</code> - The return type.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The object corresponding to the XPath or null if no result was found.</dd>
</dl>
</li>
</ul>
<a name="setValueByXPath-java.lang.Object-java.lang.String-org.eclipse.persistence.oxm.NamespaceResolver-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValueByXPath</h4>
<pre>public&nbsp;void&nbsp;setValueByXPath(<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>&nbsp;object,
<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>&nbsp;xPath,
<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>&nbsp;namespaceResolver,
<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>&nbsp;value)</pre>
<div class="block"><p>Set values in the object model based on the corresponding XML document. The following pairings are equivalent:</p>
<i>Set the Customer's ID</i>
<pre> xmlContext.setValueByXPath(customer, "@id", null, new Integer(123));
customer.setId(new Integer(123));</pre>
<i>Set the Customer's Name</i>
<pre> xmlContext.setValueByXPath(customer, "ns:personal-info/ns:name/text()", aNamespaceResolver, "Jane Doe");
customer.setName("Jane Doe");</pre>
<i>Set the Customer's Address</i>
<pre> xmlContext.setValueByXPath(customer, "ns:contact-info/ns:address", aNamespaceResolver, anAddress);
customer.setAddress(anAddress);</pre>
<i>Set the Customer's PhoneNumbers</i>
<pre> xmlContext.setValueByXPath(customer, "ns:contact-info/ns:phone-number", aNamespaceResolver, phoneNumbers);
customer.setPhoneNumbers(phoneNumbers);</pre>
<i>Set the Customer's second PhoneNumber</i>
<pre> xmlContext.setValueByXPath(customer, "ns:contact-info/ns:phone-number[2]", aNamespaceResolver, aPhoneNumber);
customer.getPhoneNumbers().get(1);</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setValueByXPath</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Context&lt;org.eclipse.persistence.internal.sessions.AbstractSession,<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>,<a href="../../../../org/eclipse/persistence/oxm/XMLField.html" title="class in org.eclipse.persistence.oxm">XMLField</a>,<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>,<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>,<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>,<a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions">SessionEventListener</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>object</code> - The XPath will be executed relative to this object.</dd>
<dd><code>xPath</code> - The XPath statement</dd>
<dd><code>namespaceResolver</code> - A NamespaceResolver containing the prefix/URI pairings from the XPath statement.</dd>
<dd><code>value</code> - The value to be set.</dd>
</dl>
</li>
</ul>
<a name="createByQualifiedName-java.lang.String-java.lang.String-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createByQualifiedName</h4>
<pre>public&nbsp;<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>&nbsp;createByQualifiedName(<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>&nbsp;namespace,
<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>&nbsp;typeName,
boolean&nbsp;isGlobalType)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre>
<div class="block">Create a new object instance for a given XML namespace and name.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>namespace</code> - The namespace of the complex type to create a new Java instance of.</dd>
<dd><code>typeName</code> - The XML type name to create a new Java instance of.</dd>
<dd><code>isGlobalType</code> - True if the object to be created represents a global type, false if it
represents a global element.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An instance of the Java class mapped to the indicated XML type, or null
if no result was found.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code></dd>
</dl>
</li>
</ul>
<a name="createByXPath-java.lang.Object-java.lang.String-org.eclipse.persistence.oxm.NamespaceResolver-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createByXPath</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;createByXPath(<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>&nbsp;parentObject,
<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>&nbsp;xPath,
<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>&nbsp;namespaceResolver,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;returnType)</pre>
<div class="block">Create a new object instance for a given XPath, relative to the parentObject.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>createByXPath</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Context&lt;org.eclipse.persistence.internal.sessions.AbstractSession,<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>,<a href="../../../../org/eclipse/persistence/oxm/XMLField.html" title="class in org.eclipse.persistence.oxm">XMLField</a>,<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>,<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>,<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>,<a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions">SessionEventListener</a>&gt;</code></dd>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - The return type of this method corresponds to the returnType parameter.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parentObject</code> - The XPath will be executed relative to this object.</dd>
<dd><code>xPath</code> - The XPath statement.</dd>
<dd><code>namespaceResolver</code> - A NamespaceResolver containing the prefix/URI pairings from the XPath statement.</dd>
<dd><code>returnType</code> - The return type.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An instance of the Java class mapped to the supplied XML type, or null
if no result was found.</dd>
</dl>
</li>
</ul>
<a name="createField-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createField</h4>
<pre>protected&nbsp;<a href="../../../../org/eclipse/persistence/oxm/XMLField.html" title="class in org.eclipse.persistence.oxm">XMLField</a>&nbsp;createField(<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>&nbsp;path)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>createField</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Context&lt;org.eclipse.persistence.internal.sessions.AbstractSession,<a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm">XMLDescriptor</a>,<a href="../../../../org/eclipse/persistence/oxm/XMLField.html" title="class in org.eclipse.persistence.oxm">XMLField</a>,<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>,<a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>,<a href="../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>,<a href="../../../../org/eclipse/persistence/sessions/SessionEventListener.html" title="interface in org.eclipse.persistence.sessions">SessionEventListener</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="getDescriptors--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDescriptors</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.eclipse.persistence.internal.oxm.mappings.Descriptor&gt;&nbsp;getDescriptors()</pre>
<div class="block">Returns descriptors from all sessions.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>descriptors from all sessions</dd>
</dl>
</li>
</ul>
<a name="getOxmConversionManager--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOxmConversionManager</h4>
<pre>public&nbsp;org.eclipse.persistence.internal.oxm.ConversionManager&nbsp;getOxmConversionManager()</pre>
<div class="block">Returns conversion manager from session datasource platform.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>conversion manager</dd>
</dl>
</li>
</ul>
<a name="getDescriptorForObject-java.lang.Object-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getDescriptorForObject</h4>
<pre>public&nbsp;org.eclipse.persistence.internal.oxm.mappings.Descriptor&nbsp;getDescriptorForObject(<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>&nbsp;object)</pre>
<div class="block">Returns descriptor for given object.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>object</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>descriptor for given object</dd>
</dl>
</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/oxm/XMLConstants.html" title="class in org.eclipse.persistence.oxm"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/eclipse/persistence/oxm/XMLDescriptor.html" title="class in org.eclipse.persistence.oxm"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/eclipse/persistence/oxm/XMLContext.html" target="_top">Frames</a></li>
<li><a href="XMLContext.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><a href="#nested.classes.inherited.from.class.org.eclipse.persistence.internal.oxm.Context">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.eclipse.persistence.internal.oxm.Context">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></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>