blob: 525cd9ad6bdf43a40d45cb497d14036d5bf8991e [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_252) on Fri Jul 16 09:38:48 UTC 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SDOXMLDocument (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="SDOXMLDocument (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};
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/sdo/SDOType.TypeInstantiationPolicy.html" title="class in org.eclipse.persistence.sdo"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/eclipse/persistence/sdo/ValueStore.html" title="interface in org.eclipse.persistence.sdo"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/eclipse/persistence/sdo/SDOXMLDocument.html" target="_top">Frames</a></li>
<li><a href="SDOXMLDocument.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><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.sdo</div>
<h2 title="Class SDOXMLDocument" class="title">Class SDOXMLDocument</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.Root</li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/eclipse/persistence/oxm/XMLRoot.html" title="class in org.eclipse.persistence.oxm">org.eclipse.persistence.oxm.XMLRoot</a></li>
<li>
<ul class="inheritance">
<li>org.eclipse.persistence.sdo.SDOXMLDocument</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>commonj.sdo.helper.XMLDocument</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">SDOXMLDocument</span>
extends <a href="../../../../org/eclipse/persistence/oxm/XMLRoot.html" title="class in org.eclipse.persistence.oxm">XMLRoot</a>
implements commonj.sdo.helper.XMLDocument</pre>
<div class="block"><p><b>Purpose</b>: Represents an XML Document containing a tree of DataObjects.
<p>An example XMLDocument fragment is:<br>
&nbsp;&lt;?xml version="1.0"?&gt;<br>
&nbsp;&lt;purchaseOrder orderDate="1999-10-20"&gt;
<p>created from this XML Schema fragment:<br>
&nbsp;&lt;xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;<br>
&nbsp;&lt;xsd:element name="purchaseOrder" type="PurchaseOrderType"/&gt;<br>
&nbsp;&lt;xsd:complexType name="PurchaseOrderType"&gt;
<p>Upon loading this XMLDocument:<br>
&nbsp;DataObject is an instance of Type PurchaseOrderType.<br>
&nbsp;RootElementURI is null because the XSD has no targetNamespace URI.<br>
&nbsp;RootElementName is purchaseOrder.<br>
&nbsp;Encoding is null because the document did not specify an encoding.<br>
&nbsp;XMLDeclaration is true because the document contained an XML declaration.<br>
&nbsp;XMLVersion is 1.0<br>
&nbsp;SchemaLocation and noNamespaceSchemaLocation are null because they are
not specified in the document.
<p>When saving the root element, if the type of the root dataObject is not the
type of global element specified by rootElementURI and rootElementName,
or if a global element does not exist for rootElementURI and rootElementName,
then an xsi:type declaration is written to record the root DataObject's Type.
<p>When loading the root element and an xsi:type declaration is found
it is used as the type of the root DataObject. In this case,
if validation is not being performed, it is not an error if the
rootElementName is not a global element.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#DEFAULT_XML_ENCODING">DEFAULT_XML_ENCODING</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#DEFAULT_XML_VERSION">DEFAULT_XML_VERSION</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.eclipse.persistence.internal.oxm.Root">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.persistence.internal.oxm.Root</h3>
<code>declaredType, encoding, localName, namespaceUri, nil, noNamespaceSchemaLocation, prefix, rootObject, schemaLocation, schemaType, xmlVersion</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/sdo/SDOXMLDocument.html#SDOXMLDocument--">SDOXMLDocument</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<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><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#getEncoding--">getEncoding</a></span>()</code>
<div class="block">Return the XML encoding of the document, or null if not specified.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#getNamespaceResolver--">getNamespaceResolver</a></span>()</code>
<div class="block">INTERNAL:
Return the namespaceResolver to be used with this document.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#getNoNamespaceSchemaLocation--">getNoNamespaceSchemaLocation</a></span>()</code>
<div class="block">Return the value of the noNamespaceSchemaLocation declaration
for the http://www.w3.org/2001/XMLSchema-instance namespace in the
root element, or null if not present.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#getRootElementName--">getRootElementName</a></span>()</code>
<div class="block">Return the name of the root element.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#getRootElementURI--">getRootElementURI</a></span>()</code>
<div class="block">Return the targetNamespace URI for the root element.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>commonj.sdo.DataObject</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#getRootObject--">getRootObject</a></span>()</code>
<div class="block">Return the root DataObject for the XMLDocument.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#getSchemaLocation--">getSchemaLocation</a></span>()</code>
<div class="block">Return the value of the schemaLocation declaration
for the http://www.w3.org/2001/XMLSchema-instance namespace in the
root element, or null if not present.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#getXMLVersion--">getXMLVersion</a></span>()</code>
<div class="block">Return the XML version of the document, or null if not specified.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#isXMLDeclaration--">isXMLDeclaration</a></span>()</code>
<div class="block">Return the XML declaration of the document.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#setEncoding-java.lang.String-">setEncoding</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;encoding)</code>
<div class="block">Set the XML encoding of the document, or null if not specified.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#setNamespaceResolver-org.eclipse.persistence.oxm.NamespaceResolver-">setNamespaceResolver</a></span>(<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>&nbsp;namespaceResolver)</code>
<div class="block">INTERNAL:
Set the namespaceresolver of the document</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#setNoNamespaceSchemaLocation-java.lang.String-">setNoNamespaceSchemaLocation</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;schemaLocation)</code>
<div class="block">Sets the value of the noNamespaceSchemaLocation declaration
for the http://www.w3.org/2001/XMLSchema-instance namespace in the
root element, or null if it should not be present.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#setRootElementName-java.lang.String-">setRootElementName</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;rootElementName)</code>
<div class="block">INTERNAL:
Set the root element name of the document</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#setRootElementURI-java.lang.String-">setRootElementURI</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;rootElementUri)</code>
<div class="block">INTERNAL:
Set the root element uri of the document</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#setRootObject-commonj.sdo.DataObject-">setRootObject</a></span>(commonj.sdo.DataObject&nbsp;rootObject)</code>
<div class="block">INTERNAL:
Set the root data object corresponding to the document</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#setSchemaLocation-java.lang.String-">setSchemaLocation</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;schemaLocation)</code>
<div class="block">Sets the value of the schemaLocation declaration
for the http://www.w3.org/2001/XMLSchema-instance namespace in the
root element, or null if it should not be present.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#setXMLDeclaration-boolean-">setXMLDeclaration</a></span>(boolean&nbsp;xmlDeclaration)</code>
<div class="block">Set the XML declaration version of the document.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sdo/SDOXMLDocument.html#setXMLVersion-java.lang.String-">setXMLVersion</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;xmlVersion)</code>
<div class="block">Set the XML version of the document, or null if not specified.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.persistence.internal.oxm.Root">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.persistence.internal.oxm.Root</h3>
<code>equals, getDeclaredType, getLocalName, getNamespaceURI, getObject, getSchemaType, hashCode, isNil, setDeclaredType, setLocalName, setNamespaceURI, setNil, setObject, setSchemaType, setVersion</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#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#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="DEFAULT_XML_ENCODING">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_XML_ENCODING</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> DEFAULT_XML_ENCODING</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.sdo.SDOXMLDocument.DEFAULT_XML_ENCODING">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DEFAULT_XML_VERSION">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DEFAULT_XML_VERSION</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> DEFAULT_XML_VERSION</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.sdo.SDOXMLDocument.DEFAULT_XML_VERSION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="SDOXMLDocument--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SDOXMLDocument</h4>
<pre>public&nbsp;SDOXMLDocument()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getRootObject--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRootObject</h4>
<pre>public&nbsp;commonj.sdo.DataObject&nbsp;getRootObject()</pre>
<div class="block">Return the root DataObject for the XMLDocument.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getRootObject</code>&nbsp;in interface&nbsp;<code>commonj.sdo.helper.XMLDocument</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>root DataObject for the XMLDocument.</dd>
</dl>
</li>
</ul>
<a name="getRootElementURI--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRootElementURI</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getRootElementURI()</pre>
<div class="block">Return the targetNamespace URI for the root element.
If there is no targetNamespace URI, the value is null.
The root element is a global element of the XML Schema
with a type compatible to the DataObject.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getRootElementURI</code>&nbsp;in interface&nbsp;<code>commonj.sdo.helper.XMLDocument</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the targetNamespace URI for the root element.</dd>
</dl>
</li>
</ul>
<a name="getRootElementName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRootElementName</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getRootElementName()</pre>
<div class="block">Return the name of the root element.
The root element is a global element of the XML Schema
with a type compatible to the DataObject.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getRootElementName</code>&nbsp;in interface&nbsp;<code>commonj.sdo.helper.XMLDocument</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the name of the root element.</dd>
</dl>
</li>
</ul>
<a name="getEncoding--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEncoding</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getEncoding()</pre>
<div class="block">Return the XML encoding of the document, or null if not specified.
The default value is "UTF-8".
Specification of other values is implementation-dependent.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getEncoding</code>&nbsp;in interface&nbsp;<code>commonj.sdo.helper.XMLDocument</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getEncoding</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Root</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the XML encoding of the document, or null if not specified.</dd>
</dl>
</li>
</ul>
<a name="setEncoding-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEncoding</h4>
<pre>public&nbsp;void&nbsp;setEncoding(<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;encoding)</pre>
<div class="block">Set the XML encoding of the document, or null if not specified.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>setEncoding</code>&nbsp;in interface&nbsp;<code>commonj.sdo.helper.XMLDocument</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setEncoding</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Root</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>encoding</code> - </dd>
</dl>
</li>
</ul>
<a name="isXMLDeclaration--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isXMLDeclaration</h4>
<pre>public&nbsp;boolean&nbsp;isXMLDeclaration()</pre>
<div class="block">Return the XML declaration of the document. If true,
XMLHelper save() will produce a declaration of the form:
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
Encoding will be suppressed if getEncoding() is null.
The default value is true.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>isXMLDeclaration</code>&nbsp;in interface&nbsp;<code>commonj.sdo.helper.XMLDocument</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the XML declaration of the document.</dd>
</dl>
</li>
</ul>
<a name="setXMLDeclaration-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setXMLDeclaration</h4>
<pre>public&nbsp;void&nbsp;setXMLDeclaration(boolean&nbsp;xmlDeclaration)</pre>
<div class="block">Set the XML declaration version of the document.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>setXMLDeclaration</code>&nbsp;in interface&nbsp;<code>commonj.sdo.helper.XMLDocument</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>xmlDeclaration</code> - the XML declaration version of the document.</dd>
</dl>
</li>
</ul>
<a name="getXMLVersion--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getXMLVersion</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getXMLVersion()</pre>
<div class="block">Return the XML version of the document, or null if not specified.
The default value is "1.0".
Specification of other values is implementation-dependent.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getXMLVersion</code>&nbsp;in interface&nbsp;<code>commonj.sdo.helper.XMLDocument</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getXMLVersion</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Root</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the XML version of the document, or null if not specified.</dd>
</dl>
</li>
</ul>
<a name="setXMLVersion-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setXMLVersion</h4>
<pre>public&nbsp;void&nbsp;setXMLVersion(<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;xmlVersion)</pre>
<div class="block">Set the XML version of the document, or null if not specified.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>setXMLVersion</code>&nbsp;in interface&nbsp;<code>commonj.sdo.helper.XMLDocument</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>xmlVersion</code> - the XML version of the document, or null if not specified.</dd>
</dl>
</li>
</ul>
<a name="getSchemaLocation--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSchemaLocation</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getSchemaLocation()</pre>
<div class="block">Return the value of the schemaLocation declaration
for the http://www.w3.org/2001/XMLSchema-instance namespace in the
root element, or null if not present.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getSchemaLocation</code>&nbsp;in interface&nbsp;<code>commonj.sdo.helper.XMLDocument</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getSchemaLocation</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Root</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value of the schemaLocation declaration,
or null if not present.</dd>
</dl>
</li>
</ul>
<a name="setSchemaLocation-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSchemaLocation</h4>
<pre>public&nbsp;void&nbsp;setSchemaLocation(<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;schemaLocation)</pre>
<div class="block">Sets the value of the schemaLocation declaration
for the http://www.w3.org/2001/XMLSchema-instance namespace in the
root element, or null if it should not be present.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>setSchemaLocation</code>&nbsp;in interface&nbsp;<code>commonj.sdo.helper.XMLDocument</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setSchemaLocation</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Root</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>schemaLocation</code> - the value of the schemaLocation declaration, or null.</dd>
</dl>
</li>
</ul>
<a name="getNoNamespaceSchemaLocation--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNoNamespaceSchemaLocation</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNoNamespaceSchemaLocation()</pre>
<div class="block">Return the value of the noNamespaceSchemaLocation declaration
for the http://www.w3.org/2001/XMLSchema-instance namespace in the
root element, or null if not present.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getNoNamespaceSchemaLocation</code>&nbsp;in interface&nbsp;<code>commonj.sdo.helper.XMLDocument</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getNoNamespaceSchemaLocation</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Root</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value of the noNamespaceSchemaLocation declaration,
or null if not present.</dd>
</dl>
</li>
</ul>
<a name="setNoNamespaceSchemaLocation-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNoNamespaceSchemaLocation</h4>
<pre>public&nbsp;void&nbsp;setNoNamespaceSchemaLocation(<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;schemaLocation)</pre>
<div class="block">Sets the value of the noNamespaceSchemaLocation declaration
for the http://www.w3.org/2001/XMLSchema-instance namespace in the
root element, or null if it should not be present.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>setNoNamespaceSchemaLocation</code>&nbsp;in interface&nbsp;<code>commonj.sdo.helper.XMLDocument</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setNoNamespaceSchemaLocation</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.oxm.Root</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>schemaLocation</code> - the value of the noNamespaceSchemaLocation declaration, or null.</dd>
</dl>
</li>
</ul>
<a name="setRootObject-commonj.sdo.DataObject-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRootObject</h4>
<pre>public&nbsp;void&nbsp;setRootObject(commonj.sdo.DataObject&nbsp;rootObject)</pre>
<div class="block">INTERNAL:
Set the root data object corresponding to the document</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rootObject</code> - the root DataObject corresponding to the document</dd>
</dl>
</li>
</ul>
<a name="setRootElementName-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRootElementName</h4>
<pre>public&nbsp;void&nbsp;setRootElementName(<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;rootElementName)</pre>
<div class="block">INTERNAL:
Set the root element name of the document</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rootElementName</code> - the root element name of the document</dd>
</dl>
</li>
</ul>
<a name="setRootElementURI-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRootElementURI</h4>
<pre>public&nbsp;void&nbsp;setRootElementURI(<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;rootElementUri)</pre>
<div class="block">INTERNAL:
Set the root element uri of the document</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rootElementUri</code> - the root element uri of the document</dd>
</dl>
</li>
</ul>
<a name="setNamespaceResolver-org.eclipse.persistence.oxm.NamespaceResolver-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNamespaceResolver</h4>
<pre>public&nbsp;void&nbsp;setNamespaceResolver(<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>&nbsp;namespaceResolver)</pre>
<div class="block">INTERNAL:
Set the namespaceresolver of the document</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>namespaceResolver</code> - the namespaceResolver to be used with the document</dd>
</dl>
</li>
</ul>
<a name="getNamespaceResolver--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getNamespaceResolver</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/oxm/NamespaceResolver.html" title="class in org.eclipse.persistence.oxm">NamespaceResolver</a>&nbsp;getNamespaceResolver()</pre>
<div class="block">INTERNAL:
Return the namespaceResolver to be used with this document.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value of the namespaceResolver being used with this document</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/sdo/SDOType.TypeInstantiationPolicy.html" title="class in org.eclipse.persistence.sdo"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/eclipse/persistence/sdo/ValueStore.html" title="interface in org.eclipse.persistence.sdo"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/eclipse/persistence/sdo/SDOXMLDocument.html" target="_top">Frames</a></li>
<li><a href="SDOXMLDocument.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><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>