blob: e4298006064d6e7543807d1ddbd39d1a5ee5d48c [file] [log] [blame]
<HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD>
<BODY>
<h2 align="center">Xalan-C++ API Documentation</h2>
<h3 align="center">The Xalan C++ XSLT Processor Version 1.10</h3>
</BODY>
<!-- Generated by Doxygen 1.2.8.1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>XercesDocumentWrapper Class Reference</h1><code>#include &lt;<a class="el" href="XercesDocumentWrapper_8hpp-source.html">XercesDocumentWrapper.hpp</a>&gt;</code>
<p>
Inheritance diagram for XercesDocumentWrapper:<p><center><img src="classXercesDocumentWrapper__inherit__graph.gif" border="0" usemap="#XercesDocumentWrapper_inherit_map" alt="Inheritance graph"></center>
<map name="XercesDocumentWrapper_inherit_map">
<area href="classXalanDocument.html" shape="rect" coords="37,117,146,93">
<area href="classXalanNode.html" shape="rect" coords="52,42,131,18">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XercesDocumentWrapper:<p><center><img src="classXercesDocumentWrapper__coll__graph.gif" border="0" usemap="#XercesDocumentWrapper_coll_map" alt="Collaboration graph"></center>
<map name="XercesDocumentWrapper_coll_map">
<area href="classXercesWrapperNavigator.html" shape="rect" coords="737,276,905,252">
<area href="classXalanDocument.html" shape="rect" coords="72,32,181,8">
<area href="classXercesWrapperToXalanNodeMap.html" shape="rect" coords="20,84,233,60">
<area href="classXercesNodeListWrapper.html" shape="rect" coords="1042,215,1202,191">
<area href="classXercesDocumentTypeWrapper.html" shape="rect" coords="1023,333,1221,309">
<area href="classXercesTextWrapperAllocator.html" shape="rect" coords="34,147,218,123">
<area href="classXalanElement.html" shape="rect" coords="76,209,177,185">
<area href="classXalanDOMImplementation.html" shape="rect" coords="42,272,210,248">
<area href="classXercesWrapperNavigatorAllocator.html" shape="rect" coords="18,334,234,310">
<area href="classXalanDOMStringPool.html" shape="rect" coords="56,397,197,373">
<area href="classXercesElementWrapperAllocator.html" shape="rect" coords="22,460,230,436">
<area href="classXercesAttrWrapperAllocator.html" shape="rect" coords="36,522,217,498">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXercesDocumentWrapper-members.html">List of all members.</a><h2>Public Types</h2>
<ul>
<li>typedef XalanVector&lt;<a class="el" href="classXalanNode.html">XalanNode</a>*&gt; <a class="el" href="classXercesDocumentWrapper.html#s0">NodeVectorType</a>
</ul>
<h2>Public Methods</h2>
<ul>
<li><a class="el" href="classXercesDocumentWrapper.html#a0">XercesDocumentWrapper</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager, const <a class="el" href="XercesWrapperTypes_8hpp.html#a5">DOMDocument_Type</a> *theXercesDocument, bool threadSafe=true, bool buildWrapper=true, bool buildMaps=false)
<dl class="el"><dd><font size=-1><em>Constructor for XercesDocumentWrapper.</em> <a href="#a0">More...</a><em><br><br></em></font></dl><li><a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a>&amp; <a class="el" href="classXercesDocumentWrapper.html#a1">getMemoryManager</a> () const
<li>virtual <a class="el" href="classXercesDocumentWrapper.html#a2">~XercesDocumentWrapper</a> ()
<li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; <a class="el" href="classXercesDocumentWrapper.html#a3">getNodeName</a> () const
<li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; <a class="el" href="classXercesDocumentWrapper.html#a4">getNodeValue</a> () const
<dl class="el"><dd><font size=-1><em>Gets the value of this node, depending on its type.</em> <a href="#a4">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanNode.html#s14">NodeType</a> <a class="el" href="classXercesDocumentWrapper.html#a5">getNodeType</a> () const
<dl class="el"><dd><font size=-1><em>An enum value representing the type of the underlying object.</em> <a href="#a5">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="classXercesDocumentWrapper.html#a6">getParentNode</a> () const
<dl class="el"><dd><font size=-1><em>Gets the parent of this node.</em> <a href="#a6">More...</a><em><br><br></em></font></dl><li>virtual const <a class="el" href="classXalanNodeList.html">XalanNodeList</a>* <a class="el" href="classXercesDocumentWrapper.html#a7">getChildNodes</a> () const
<dl class="el"><dd><font size=-1><em>Gets a <code>NodeList</code> that contains all children of this node.</em> <a href="#a7">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="classXercesDocumentWrapper.html#a8">getFirstChild</a> () const
<dl class="el"><dd><font size=-1><em>Gets the first child of this node.</em> <a href="#a8">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="classXercesDocumentWrapper.html#a9">getLastChild</a> () const
<dl class="el"><dd><font size=-1><em>Gets the last child of this node.</em> <a href="#a9">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="classXercesDocumentWrapper.html#a10">getPreviousSibling</a> () const
<dl class="el"><dd><font size=-1><em>Gets the node immediately preceding this node.</em> <a href="#a10">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="classXercesDocumentWrapper.html#a11">getNextSibling</a> () const
<dl class="el"><dd><font size=-1><em>Gets the node immediately following this node.</em> <a href="#a11">More...</a><em><br><br></em></font></dl><li>virtual const <a class="el" href="classXalanNamedNodeMap.html">XalanNamedNodeMap</a>* <a class="el" href="classXercesDocumentWrapper.html#a12">getAttributes</a> () const
<dl class="el"><dd><font size=-1><em>Gets a <code>NamedNodeMap</code> containing the attributes of this node (if it is an <code>Element</code>) or <code>null</code> otherwise.</em> <a href="#a12">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanDocument.html">XalanDocument</a>* <a class="el" href="classXercesDocumentWrapper.html#a13">getOwnerDocument</a> () const
<dl class="el"><dd><font size=-1><em>Gets the <code>Document</code> object associated with this node.</em> <a href="#a13">More...</a><em><br><br></em></font></dl><li>virtual XercesDocumentWrapper* <a class="el" href="classXercesDocumentWrapper.html#a14">cloneNode</a> (bool deep) const
<dl class="el"><dd><font size=-1><em>Returns a duplicate of this node.</em> <a href="#a14">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="classXercesDocumentWrapper.html#a15">insertBefore</a> (<a class="el" href="classXalanNode.html">XalanNode</a> *newChild, <a class="el" href="classXalanNode.html">XalanNode</a> *refChild)
<dl class="el"><dd><font size=-1><em>Inserts the node <code>newChild</code> before the existing child node <code>refChild</code>.</em> <a href="#a15">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="classXercesDocumentWrapper.html#a16">replaceChild</a> (<a class="el" href="classXalanNode.html">XalanNode</a> *newChild, <a class="el" href="classXalanNode.html">XalanNode</a> *oldChild)
<dl class="el"><dd><font size=-1><em>Replaces the child node <code>oldChild</code> with <code>newChild</code> in the list of children, and returns the <code>oldChild</code> node.</em> <a href="#a16">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="classXercesDocumentWrapper.html#a17">removeChild</a> (<a class="el" href="classXalanNode.html">XalanNode</a> *oldChild)
<dl class="el"><dd><font size=-1><em>Removes the child node indicated by <code>oldChild</code> from the list of children, and returns it.</em> <a href="#a17">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="classXercesDocumentWrapper.html#a18">appendChild</a> (<a class="el" href="classXalanNode.html">XalanNode</a> *newChild)
<dl class="el"><dd><font size=-1><em>Adds the node <code>newChild</code> to the end of the list of children of this node.</em> <a href="#a18">More...</a><em><br><br></em></font></dl><li>virtual bool <a class="el" href="classXercesDocumentWrapper.html#a19">hasChildNodes</a> () const
<dl class="el"><dd><font size=-1><em>This is a convenience method to allow easy determination of whether a node has any children.</em> <a href="#a19">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="classXercesDocumentWrapper.html#a20">setNodeValue</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;nodeValue)
<dl class="el"><dd><font size=-1><em>Sets the value of the node.</em> <a href="#a20">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="classXercesDocumentWrapper.html#a21">normalize</a> ()
<dl class="el"><dd><font size=-1><em>Puts all <code>Text</code> nodes in the full depth of the sub-tree underneath this <code>Node</code>, including attribute nodes, into a "normal" form where only markup (e.g., tags, comments, processing instructions, CDATA sections, and entity references) separates <code>Text</code> nodes, i.e., there are no adjacent <code>Text</code> nodes.</em> <a href="#a21">More...</a><em><br><br></em></font></dl><li>virtual bool <a class="el" href="classXercesDocumentWrapper.html#a22">isSupported</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;feature, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;version) const
<dl class="el"><dd><font size=-1><em>Tests whether the DOM implementation implements a specific feature and that feature is supported by this node.</em> <a href="#a22">More...</a><em><br><br></em></font></dl><li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; <a class="el" href="classXercesDocumentWrapper.html#a23">getNamespaceURI</a> () const
<dl class="el"><dd><font size=-1><em>Get the <em>namespace URI</em> of this node, or <code>null</code> if it is unspecified.</em> <a href="#a23">More...</a><em><br><br></em></font></dl><li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; <a class="el" href="classXercesDocumentWrapper.html#a24">getPrefix</a> () const
<dl class="el"><dd><font size=-1><em>Get the <em>namespace prefix</em> of this node, or <code>null</code> if it is unspecified.</em> <a href="#a24">More...</a><em><br><br></em></font></dl><li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; <a class="el" href="classXercesDocumentWrapper.html#a25">getLocalName</a> () const
<dl class="el"><dd><font size=-1><em>Returns the local part of the <em>qualified name</em> of this node.</em> <a href="#a25">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="classXercesDocumentWrapper.html#a26">setPrefix</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;prefix)
<dl class="el"><dd><font size=-1><em>Set the <em>namespace prefix</em> of this node.</em> <a href="#a26">More...</a><em><br><br></em></font></dl><li>virtual bool <a class="el" href="classXercesDocumentWrapper.html#a27">isIndexed</a> () const
<dl class="el"><dd><font size=-1><em>Determine if the document is node-order indexed.</em> <a href="#a27">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanNode.html#s0">IndexType</a> <a class="el" href="classXercesDocumentWrapper.html#a28">getIndex</a> () const
<dl class="el"><dd><font size=-1><em>Get the node's index.</em> <a href="#a28">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanElement.html">XalanElement</a>* <a class="el" href="classXercesDocumentWrapper.html#a29">createElement</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;tagName)
<dl class="el"><dd><font size=-1><em>Creates an element of the type specified.</em> <a href="#a29">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanDocumentFragment.html">XalanDocumentFragment</a>* <a class="el" href="classXercesDocumentWrapper.html#a30">createDocumentFragment</a> ()
<dl class="el"><dd><font size=-1><em>Creates an empty DocumentFragment object.</em> <a href="#a30">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanText.html">XalanText</a>* <a class="el" href="classXercesDocumentWrapper.html#a31">createTextNode</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;data)
<dl class="el"><dd><font size=-1><em>Creates a Text node given the specified string.</em> <a href="#a31">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanComment.html">XalanComment</a>* <a class="el" href="classXercesDocumentWrapper.html#a32">createComment</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;data)
<dl class="el"><dd><font size=-1><em>Creates a Comment node given the specified string.</em> <a href="#a32">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanCDATASection.html">XalanCDATASection</a>* <a class="el" href="classXercesDocumentWrapper.html#a33">createCDATASection</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;data)
<dl class="el"><dd><font size=-1><em>Creates a CDATASection node whose value is the specified string.</em> <a href="#a33">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanProcessingInstruction.html">XalanProcessingInstruction</a>* <a class="el" href="classXercesDocumentWrapper.html#a34">createProcessingInstruction</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;target, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;data)
<dl class="el"><dd><font size=-1><em>Creates a ProcessingInstruction node given the specified name and data strings.</em> <a href="#a34">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanAttr.html">XalanAttr</a>* <a class="el" href="classXercesDocumentWrapper.html#a35">createAttribute</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;name)
<dl class="el"><dd><font size=-1><em>Creates an Attr of the given name.</em> <a href="#a35">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanEntityReference.html">XalanEntityReference</a>* <a class="el" href="classXercesDocumentWrapper.html#a36">createEntityReference</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;name)
<dl class="el"><dd><font size=-1><em>Creates an EntityReference object.</em> <a href="#a36">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanDocumentType.html">XalanDocumentType</a>* <a class="el" href="classXercesDocumentWrapper.html#a37">getDoctype</a> () const
<dl class="el"><dd><font size=-1><em>Get Document Type Declaration (see <code>DocumentType</code>) associated with this document.</em> <a href="#a37">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanDOMImplementation.html">XalanDOMImplementation</a>* <a class="el" href="classXercesDocumentWrapper.html#a38">getImplementation</a> () const
<dl class="el"><dd><font size=-1><em>Return the <code>DOMImplementation</code> object that handles this document.</em> <a href="#a38">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanElement.html">XalanElement</a>* <a class="el" href="classXercesDocumentWrapper.html#a39">getDocumentElement</a> () const
<dl class="el"><dd><font size=-1><em>Return a reference to the root element of the document.</em> <a href="#a39">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanNodeList.html">XalanNodeList</a>* <a class="el" href="classXercesDocumentWrapper.html#a40">getElementsByTagName</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;tagname) const
<dl class="el"><dd><font size=-1><em>Returns a <code>NodeList</code> of all the elements with a given tag name.</em> <a href="#a40">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="classXercesDocumentWrapper.html#a41">importNode</a> (<a class="el" href="classXalanNode.html">XalanNode</a> *importedNode, bool deep)
<dl class="el"><dd><font size=-1><em>Imports a node from another document to this document.</em> <a href="#a41">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanElement.html">XalanElement</a>* <a class="el" href="classXercesDocumentWrapper.html#a42">createElementNS</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;namespaceURI, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;qualifiedName)
<dl class="el"><dd><font size=-1><em>Creates an element of the given qualified name and namespace URI.</em> <a href="#a42">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanAttr.html">XalanAttr</a>* <a class="el" href="classXercesDocumentWrapper.html#a43">createAttributeNS</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;namespaceURI, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;qualifiedName)
<dl class="el"><dd><font size=-1><em>Creates an attribute of the given qualified name and namespace URI.</em> <a href="#a43">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanNodeList.html">XalanNodeList</a>* <a class="el" href="classXercesDocumentWrapper.html#a44">getElementsByTagNameNS</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;namespaceURI, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;localName) const
<dl class="el"><dd><font size=-1><em>Returns a <code>NodeList</code> of all the <code>Element</code>s with a given <em>local name</em> and namespace URI in the order in which they would be encountered in a preorder traversal of the <code>Document</code> tree.</em> <a href="#a44">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classXalanElement.html">XalanElement</a>* <a class="el" href="classXercesDocumentWrapper.html#a45">getElementById</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;elementId) const
<dl class="el"><dd><font size=-1><em>Returns the <code>Element</code> whose ID is given by <code>elementId</code>.</em> <a href="#a45">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXercesDocumentWrapper.html#a46">destroyWrapper</a> ()
<dl class="el"><dd><font size=-1><em>Destroy the entire bridge structure that connects the Xerces document to this XercesDocumentWrapper instance.</em> <a href="#a46">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXercesDocumentWrapper.html#a47">rebuildWrapper</a> ()
<dl class="el"><dd><font size=-1><em>Rebuild the entire bridge structure that connects the Xerces document to this XercesDocumentWrapper instance.</em> <a href="#a47">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="classXercesDocumentWrapper.html#a48">mapNode</a> (const <a class="el" href="XercesWrapperTypes_8hpp.html#a11">DOMNodeType</a> *theXercesNode) const
<dl class="el"><dd><font size=-1><em>Map a Xerces node to the corresponding wrapper node.</em> <a href="#a48">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXalanAttr.html">XalanAttr</a>* <a class="el" href="classXercesDocumentWrapper.html#a49">mapNode</a> (const DOMAttrType *theXercesNode) const
<dl class="el"><dd><font size=-1><em>Map a Xerces node to the corresponding wrapper node.</em> <a href="#a49">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXalanElement.html">XalanElement</a>* <a class="el" href="classXercesDocumentWrapper.html#a50">mapNode</a> (const <a class="el" href="XercesWrapperTypes_8hpp.html#a8">DOMElementType</a> *theXercesNode) const
<dl class="el"><dd><font size=-1><em>Map a Xerces node to the corresponding wrapper node.</em> <a href="#a50">More...</a><em><br><br></em></font></dl><li>const <a class="el" href="XercesWrapperTypes_8hpp.html#a11">DOMNodeType</a>* <a class="el" href="classXercesDocumentWrapper.html#a51">mapNode</a> (<a class="el" href="classXalanNode.html">XalanNode</a> *theXalanNode) const
<dl class="el"><dd><font size=-1><em>Map a <a class="el" href="classXalanNode.html">XalanNode</a> to the corresponding Xerces node.</em> <a href="#a51">More...</a><em><br><br></em></font></dl><li>const <a class="el" href="XercesWrapperTypes_8hpp.html#a5">DOMDocument_Type</a>* <a class="el" href="classXercesDocumentWrapper.html#a52">getXercesDocument</a> () const
<dl class="el"><dd><font size=-1><em>Get the Xerces DOMDocument that this XercesDocument represents.</em> <a href="#a52">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXercesDocumentWrapper.html#a53">buildWrapperNodes</a> ()
<dl class="el"><dd><font size=-1><em>Build the entire bridge structure.</em> <a href="#a53">More...</a><em><br><br></em></font></dl><li>const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; <a class="el" href="classXercesDocumentWrapper.html#a54">getPooledString</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theString) const
<dl class="el"><dd><font size=-1><em>Get a pooled string.</em> <a href="#a54">More...</a><em><br><br></em></font></dl><li>const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; <a class="el" href="classXercesDocumentWrapper.html#a55">getPooledString</a> (const XalanDOMChar *theString, <a class="el" href="classXalanDOMString.html#s6">XalanDOMString::size_type</a> theLength) const
<dl class="el"><dd><font size=-1><em>Get a pooled string.</em> <a href="#a55">More...</a><em><br><br></em></font></dl><li>bool <a class="el" href="classXercesDocumentWrapper.html#a56">getMappingMode</a> () const
</ul>
<h2>Static Public Methods</h2>
<ul>
<li>XercesDocumentWrapper* <a class="el" href="classXercesDocumentWrapper.html#d0">create</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager, const <a class="el" href="XercesWrapperTypes_8hpp.html#a5">DOMDocument_Type</a> *theXercesDocument, bool threadSafe, bool buildWrapper, bool buildMaps)
</ul>
<h2>Friends</h2>
<ul>
<li>class <a class="el" href="#l0">XercesWrapperNavigator</a>
<li>class <a class="el" href="#l1">BuildWrapperTreeWalker</a>
</ul>
<hr><h2>Member Typedef Documentation</h2>
<a name="s0" doxytag="XercesDocumentWrapper::NodeVectorType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
typedef XalanVector&lt; <a class="el" href="classXalanNode.html">XalanNode</a> *&gt; XercesDocumentWrapper::NodeVectorType&lt;<a class="el" href="classXalanNode.html">XalanNode</a>*&gt;
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="XercesDocumentWrapper::XercesDocumentWrapper"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
XercesDocumentWrapper::XercesDocumentWrapper (
</b></td>
<td valign="bottom"><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp; <em>theManager</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="XercesWrapperTypes_8hpp.html#a5">DOMDocument_Type</a> * <em>theXercesDocument</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
bool <em>threadSafe</em> = true,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
bool <em>buildWrapper</em> = true,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
bool <em>buildMaps</em> = false&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Constructor for XercesDocumentWrapper.
<p>
If the document will be shared amongst multiple threads of execution, the parameter buildWrapper must be true. Otherwise, the bridge nodes will be built on demand, a process which is not synchronized. This could cause serious problems if multiple threads tried to visit an unbuilt node at the same time.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theXercesDocument</em>
&nbsp;</td><td>
The Xerces document to bridge </td></tr>
<tr><td valign=top><em>threadSafe</em>
&nbsp;</td><td>
If true, the tree can safely be shared amongst multiple threads. (Also implies buildWrapper == true) </td></tr>
<tr><td valign=top><em>buildWrapper</em>
&nbsp;</td><td>
If true, all of the bridge nodes will be built during construction. </td></tr>
<tr><td valign=top><em>buildMaps</em>
&nbsp;</td><td>
If true, a map of Xerces to Xalan nodes will be built, even if the bridge is built </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="a2" doxytag="XercesDocumentWrapper::~XercesDocumentWrapper"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
XercesDocumentWrapper::~XercesDocumentWrapper (
</b></td>
<td valign="bottom"><b>
)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a18" doxytag="XercesDocumentWrapper::appendChild"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * XercesDocumentWrapper::appendChild (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * <em>newChild</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Adds the node <code>newChild</code> to the end of the list of children of this node.
<p>
If the <code>newChild</code> is already in the tree, it is first removed. <dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>newChild</em>
&nbsp;</td><td>
The node to add.If it is a <code>DocumentFragment</code> object, the entire contents of the document fragment are moved into the child list of this node </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
The node added. </dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a17">XalanDocument</a>. </td>
</tr>
</table>
<a name="a53" doxytag="XercesDocumentWrapper::buildWrapperNodes"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void XercesDocumentWrapper::buildWrapperNodes (
</b></td>
<td valign="bottom"><b>
)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Build the entire bridge structure.
<p>
This should be done before any processing begins, if the tree will be shared amongst multiple threads. </td>
</tr>
</table>
<a name="a14" doxytag="XercesDocumentWrapper::cloneNode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
XercesDocumentWrapper * XercesDocumentWrapper::cloneNode (
</b></td>
<td valign="bottom"><b>
bool <em>deep</em>&nbsp;) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Returns a duplicate of this node.
<p>
This function serves as a generic copy constructor for nodes.
<p>
The duplicate node has no parent ( <code>parentNode</code> returns <code>null</code>.). <br>
Cloning an <code>Element</code> copies all attributes and their values, including those generated by the XML processor to represent defaulted attributes, but this method does not copy any text it contains unless it is a deep clone, since the text is contained in a child <code>Text</code> node. Cloning any other type of node simply returns a copy of this node. <dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>deep</em>
&nbsp;</td><td>
If <code>true</code>, recursively clone the subtree under the specified node; if <code>false</code>, clone only the node itself (and its attributes, if it is an <code>Element</code>). </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
The duplicate node. </dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a13">XalanDocument</a>. </td>
</tr>
</table>
<a name="d0" doxytag="XercesDocumentWrapper::create"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
XercesDocumentWrapper * XercesDocumentWrapper::create (
</b></td>
<td valign="bottom"><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp; <em>theManager</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="XercesWrapperTypes_8hpp.html#a5">DOMDocument_Type</a> * <em>theXercesDocument</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
bool <em>threadSafe</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
bool <em>buildWrapper</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
bool <em>buildMaps</em>&nbsp;)<code> [static]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a35" doxytag="XercesDocumentWrapper::createAttribute"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanAttr.html">XalanAttr</a> * XercesDocumentWrapper::createAttribute (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>name</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Creates an Attr of the given name.
<p>
Note that the <code>Attr</code> instance can then be attached to an Element using the <code>DOMElement::setAttribute()</code> method. <dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>name</em>
&nbsp;</td><td>
The name of the attribute. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
A new <code>Attr</code> object with the <code>nodeName</code> attribute set to <code>name</code>, and <code>localName</code>, <code>prefix</code>, and <code>namespaceURI</code> set to <code>null</code>. </dl><dl compact><dt>
<b>Exceptions: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>DOMException</em>
&nbsp;</td><td>
INVALID_CHARACTER_ERR: Raised if the specified name contains an illegal character. </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a34">XalanDocument</a>. </td>
</tr>
</table>
<a name="a43" doxytag="XercesDocumentWrapper::createAttributeNS"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanAttr.html">XalanAttr</a> * XercesDocumentWrapper::createAttributeNS (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>namespaceURI</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>qualifiedName</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Creates an attribute of the given qualified name and namespace URI.
<p>
<p>
<b>"Experimental - subject to change"</b><dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>namespaceURI</em>
&nbsp;</td><td>
The <em>namespace URI</em> of the attribute to create. </td></tr>
<tr><td valign=top><em>qualifiedName</em>
&nbsp;</td><td>
The <em>qualified name</em> of the attribute to instantiate. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
A new <code>Attr</code> object. </dl><dl compact><dt>
<b>Exceptions: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>DOMException</em>
&nbsp;</td><td>
INVALID_CHARACTER_ERR: Raised if the specified qualified name contains an illegal character. <br>
NAMESPACE_ERR: Raised if the <code>qualifiedName</code> is malformed, if the <code>qualifiedName</code> has a prefix and the <code>namespaceURI</code> is <code>null</code> or an empty string, if the <code>qualifiedName</code> has a prefix that is "xml" and the <code>namespaceURI</code> is different from "<a href="http://www.w3.org/XML/1998/namespace">http://www.w3.org/XML/1998/namespace</a>", if the <code>qualifiedName</code> has a prefix that is "xmlns" and the <code>namespaceURI</code> is different from "<a href="http://www.w3.org/2000/xmlns/">http://www.w3.org/2000/xmlns/</a>", or if the <code>qualifiedName</code> is "xmlns" and the <code>namespaceURI</code> is different from "<a href="http://www.w3.org/2000/xmlns/">http://www.w3.org/2000/xmlns/</a>". </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a42">XalanDocument</a>. </td>
</tr>
</table>
<a name="a33" doxytag="XercesDocumentWrapper::createCDATASection"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanCDATASection.html">XalanCDATASection</a> * XercesDocumentWrapper::createCDATASection (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>data</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Creates a CDATASection node whose value is the specified string.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>data</em>
&nbsp;</td><td>
The data for the <code>CDATASection</code> contents. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
A <code>CDATASection</code> object. </dl><dl compact><dt>
<b>Exceptions: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>DOMException</em>
&nbsp;</td><td>
NOT_SUPPORTED_ERR: Raised if this document is an HTML document. </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a32">XalanDocument</a>. </td>
</tr>
</table>
<a name="a32" doxytag="XercesDocumentWrapper::createComment"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanComment.html">XalanComment</a> * XercesDocumentWrapper::createComment (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>data</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Creates a Comment node given the specified string.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>data</em>
&nbsp;</td><td>
The data for the comment. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
A <code>Comment</code> that references the newly created comment node. </dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a31">XalanDocument</a>. </td>
</tr>
</table>
<a name="a30" doxytag="XercesDocumentWrapper::createDocumentFragment"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanDocumentFragment.html">XalanDocumentFragment</a> * XercesDocumentWrapper::createDocumentFragment (
</b></td>
<td valign="bottom"><b>
)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Creates an empty DocumentFragment object.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
A <code>DocumentFragment</code> that references the newly created document fragment. </dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a29">XalanDocument</a>. </td>
</tr>
</table>
<a name="a29" doxytag="XercesDocumentWrapper::createElement"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanElement.html">XalanElement</a> * XercesDocumentWrapper::createElement (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>tagName</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Creates an element of the type specified.
<p>
Note that the instance returned implements the Element interface, so attributes can be specified directly on the returned object. <dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>tagName</em>
&nbsp;</td><td>
The name of the element type to instantiate. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
A <code>Element</code> that reference the new element. </dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a28">XalanDocument</a>. </td>
</tr>
</table>
<a name="a42" doxytag="XercesDocumentWrapper::createElementNS"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanElement.html">XalanElement</a> * XercesDocumentWrapper::createElementNS (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>namespaceURI</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>qualifiedName</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Creates an element of the given qualified name and namespace URI.
<p>
<p>
<b>"Experimental - subject to change"</b><dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>namespaceURI</em>
&nbsp;</td><td>
The <em>namespace URI</em> of the element to create. </td></tr>
<tr><td valign=top><em>qualifiedName</em>
&nbsp;</td><td>
The <em>qualified name</em> of the element type to instantiate. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
A new <code>Element</code> object. </dl><dl compact><dt>
<b>Exceptions: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>DOMException</em>
&nbsp;</td><td>
INVALID_CHARACTER_ERR: Raised if the specified qualified name contains an illegal character. <br>
NAMESPACE_ERR: Raised if the <code>qualifiedName</code> is malformed, if the <code>qualifiedName</code> has a prefix and the <code>namespaceURI</code> is <code>null</code> or an empty string, or if the <code>qualifiedName</code> has a prefix that is "xml" and the <code>namespaceURI</code> is different from "<a href="http://www.w3.org/XML/1998/namespace">http://www.w3.org/XML/1998/namespace</a>". </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a41">XalanDocument</a>. </td>
</tr>
</table>
<a name="a36" doxytag="XercesDocumentWrapper::createEntityReference"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanEntityReference.html">XalanEntityReference</a> * XercesDocumentWrapper::createEntityReference (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>name</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Creates an EntityReference object.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>name</em>
&nbsp;</td><td>
The name of the entity to reference. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
A <code>EntityReference</code> that references the newly created EntityReference node. </dl><dl compact><dt>
<b>Exceptions: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>DOMException</em>
&nbsp;</td><td>
INVALID_CHARACTER_ERR: Raised if the specified name contains an illegal character. </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a35">XalanDocument</a>. </td>
</tr>
</table>
<a name="a34" doxytag="XercesDocumentWrapper::createProcessingInstruction"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanProcessingInstruction.html">XalanProcessingInstruction</a> * XercesDocumentWrapper::createProcessingInstruction (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>target</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>data</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Creates a ProcessingInstruction node given the specified name and data strings.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>target</em>
&nbsp;</td><td>
The target part of the processing instruction. </td></tr>
<tr><td valign=top><em>data</em>
&nbsp;</td><td>
The data for the node. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
A <code>ProcessingInstruction</code> that references the newly created PI node. </dl><dl compact><dt>
<b>Exceptions: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>DOMException</em>
&nbsp;</td><td>
INVALID_CHARACTER_ERR: Raised if an illegal character is specified. </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a33">XalanDocument</a>. </td>
</tr>
</table>
<a name="a31" doxytag="XercesDocumentWrapper::createTextNode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanText.html">XalanText</a> * XercesDocumentWrapper::createTextNode (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>data</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Creates a Text node given the specified string.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>data</em>
&nbsp;</td><td>
The data for the node. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
A <code>Text</code> object that references the newly created text node. </dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a30">XalanDocument</a>. </td>
</tr>
</table>
<a name="a46" doxytag="XercesDocumentWrapper::destroyWrapper"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void XercesDocumentWrapper::destroyWrapper (
</b></td>
<td valign="bottom"><b>
)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Destroy the entire bridge structure that connects the Xerces document to this XercesDocumentWrapper instance.
<p>
This will invalidate any pointers to any nodes in the document (except, of course, the document itself). </td>
</tr>
</table>
<a name="a12" doxytag="XercesDocumentWrapper::getAttributes"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
const <a class="el" href="classXalanNamedNodeMap.html">XalanNamedNodeMap</a> * XercesDocumentWrapper::getAttributes (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Gets a <code>NamedNodeMap</code> containing the attributes of this node (if it is an <code>Element</code>) or <code>null</code> otherwise.
<p>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a11">XalanDocument</a>. </td>
</tr>
</table>
<a name="a7" doxytag="XercesDocumentWrapper::getChildNodes"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
const <a class="el" href="classXalanNodeList.html">XalanNodeList</a> * XercesDocumentWrapper::getChildNodes (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Gets a <code>NodeList</code> that contains all children of this node.
<p>
If there are no children, this is a <code>NodeList</code> containing no nodes. The content of the returned <code>NodeList</code> is "live" in the sense that, for instance, changes to the children of the node object that it was created from are immediately reflected in the nodes returned by the <code>NodeList</code> accessors; it is not a static snapshot of the content of the node. This is true for every <code>NodeList</code>, including the ones returned by the <code>getElementsByTagName</code> method.
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a6">XalanDocument</a>. </td>
</tr>
</table>
<a name="a37" doxytag="XercesDocumentWrapper::getDoctype"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanDocumentType.html">XalanDocumentType</a> * XercesDocumentWrapper::getDoctype (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get Document Type Declaration (see <code>DocumentType</code>) associated with this document.
<p>
For documents without a document type declaration this returns <code>null</code> reference object. The DOM Level 1 does not support editing the Document Type Declaration, therefore <code>docType</code> cannot be altered in any way.
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a36">XalanDocument</a>. </td>
</tr>
</table>
<a name="a39" doxytag="XercesDocumentWrapper::getDocumentElement"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanElement.html">XalanElement</a> * XercesDocumentWrapper::getDocumentElement (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Return a reference to the root element of the document.
<p>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a38">XalanDocument</a>. </td>
</tr>
</table>
<a name="a45" doxytag="XercesDocumentWrapper::getElementById"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanElement.html">XalanElement</a> * XercesDocumentWrapper::getElementById (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>elementId</em>&nbsp;) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Returns the <code>Element</code> whose ID is given by <code>elementId</code>.
<p>
If no such element exists, returns <code>null</code>. Behavior is not defined if more than one element has this <code>ID</code>.
<p>
<b>Note:</b> The DOM implementation must have information that says which attributes are of type ID. Attributes with the name "ID" are not of type ID unless so defined. Implementations that do not know whether attributes are of type ID or not are expected to return <code>null</code>.
<p>
<p>
<b>"Experimental - subject to change"</b><dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>elementId</em>
&nbsp;</td><td>
The unique <code>id</code> value for an element. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
The matching element. </dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a44">XalanDocument</a>. </td>
</tr>
</table>
<a name="a40" doxytag="XercesDocumentWrapper::getElementsByTagName"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanNodeList.html">XalanNodeList</a> * XercesDocumentWrapper::getElementsByTagName (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>tagname</em>&nbsp;) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Returns a <code>NodeList</code> of all the elements with a given tag name.
<p>
The returned node list is "live", in that changes to the document tree made after a nodelist was initially returned will be immediately reflected in the node list.
<p>
The elements in the node list are ordered in the same order in which they would be encountered in a preorder traversal of the <code>Document</code> tree. <dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>tagname</em>
&nbsp;</td><td>
The name of the tag to match on. The special value "*" matches all tags. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
A reference to a NodeList containing all the matched <code>Element</code>s. </dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a39">XalanDocument</a>. </td>
</tr>
</table>
<a name="a44" doxytag="XercesDocumentWrapper::getElementsByTagNameNS"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanNodeList.html">XalanNodeList</a> * XercesDocumentWrapper::getElementsByTagNameNS (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>namespaceURI</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>localName</em>&nbsp;) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Returns a <code>NodeList</code> of all the <code>Element</code>s with a given <em>local name</em> and namespace URI in the order in which they would be encountered in a preorder traversal of the <code>Document</code> tree.
<p>
<p>
<b>"Experimental - subject to change"</b><dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>namespaceURI</em>
&nbsp;</td><td>
The <em>namespace URI</em> of the elements to match on. The special value "*" matches all namespaces. </td></tr>
<tr><td valign=top><em>localName</em>
&nbsp;</td><td>
The <em>local name</em> of the elements to match on. The special value "*" matches all local names. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
A new <code>NodeList</code> object containing all the matched <code>Element</code>s. </dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a43">XalanDocument</a>. </td>
</tr>
</table>
<a name="a8" doxytag="XercesDocumentWrapper::getFirstChild"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * XercesDocumentWrapper::getFirstChild (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Gets the first child of this node.
<p>
If there is no such node, this returns <code>null</code>.
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a7">XalanDocument</a>. </td>
</tr>
</table>
<a name="a38" doxytag="XercesDocumentWrapper::getImplementation"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanDOMImplementation.html">XalanDOMImplementation</a> * XercesDocumentWrapper::getImplementation (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Return the <code>DOMImplementation</code> object that handles this document.
<p>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a37">XalanDocument</a>. </td>
</tr>
</table>
<a name="a28" doxytag="XercesDocumentWrapper::getIndex"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanNode.html#s0">IndexType</a> XercesDocumentWrapper::getIndex (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get the node's index.
<p>
Valid only if <a class="el" href="classXercesDocumentWrapper.html#a27">isIndexed</a>() reports that the document is node-order indexed.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
The index value, or 0 if the node is not indexed. </dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a27">XalanDocument</a>. </td>
</tr>
</table>
<a name="a9" doxytag="XercesDocumentWrapper::getLastChild"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * XercesDocumentWrapper::getLastChild (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Gets the last child of this node.
<p>
If there is no such node, this returns <code>null</code>.
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a8">XalanDocument</a>. </td>
</tr>
</table>
<a name="a25" doxytag="XercesDocumentWrapper::getLocalName"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; XercesDocumentWrapper::getLocalName (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Returns the local part of the <em>qualified name</em> of this node.
<p>
<p>
For nodes created with a DOM Level 1 method, such as <code>createElement</code> from the <code>Document</code> interface, it is null.
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a24">XalanDocument</a>. </td>
</tr>
</table>
<a name="a56" doxytag="XercesDocumentWrapper::getMappingMode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
bool XercesDocumentWrapper::getMappingMode (
</b></td>
<td valign="bottom"><b>
) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a1" doxytag="XercesDocumentWrapper::getMemoryManager"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp; XercesDocumentWrapper::getMemoryManager (
</b></td>
<td valign="bottom"><b>
) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a23" doxytag="XercesDocumentWrapper::getNamespaceURI"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; XercesDocumentWrapper::getNamespaceURI (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get the <em>namespace URI</em> of this node, or <code>null</code> if it is unspecified.
<p>
<p>
This is not a computed value that is the result of a namespace lookup based on an examination of the namespace declarations in scope. It is merely the namespace URI given at creation time.
<p>
For nodes of any type other than <code>ELEMENT_NODE</code> and <code>ATTRIBUTE_NODE</code> and nodes created with a DOM Level 1 method, such as <code>createElement</code> from the <code>Document</code> interface, this is always <code>null</code>.
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a22">XalanDocument</a>. </td>
</tr>
</table>
<a name="a11" doxytag="XercesDocumentWrapper::getNextSibling"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * XercesDocumentWrapper::getNextSibling (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Gets the node immediately following this node.
<p>
If there is no such node, this returns <code>null</code>.
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a10">XalanDocument</a>. </td>
</tr>
</table>
<a name="a3" doxytag="XercesDocumentWrapper::getNodeName"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; XercesDocumentWrapper::getNodeName (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a2">XalanDocument</a>. </td>
</tr>
</table>
<a name="a5" doxytag="XercesDocumentWrapper::getNodeType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanNode.html#s14">NodeType</a> XercesDocumentWrapper::getNodeType (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
An enum value representing the type of the underlying object.
<p>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a4">XalanDocument</a>. </td>
</tr>
</table>
<a name="a4" doxytag="XercesDocumentWrapper::getNodeValue"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; XercesDocumentWrapper::getNodeValue (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Gets the value of this node, depending on its type.
<p>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a3">XalanDocument</a>. </td>
</tr>
</table>
<a name="a13" doxytag="XercesDocumentWrapper::getOwnerDocument"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanDocument.html">XalanDocument</a> * XercesDocumentWrapper::getOwnerDocument (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Gets the <code>Document</code> object associated with this node.
<p>
This is also the <code>Document</code> object used to create new nodes. When this node is a <code>Document</code> or a <code>DocumentType</code> which is not used with any <code>Document</code> yet, this is <code>null</code>.
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a12">XalanDocument</a>. </td>
</tr>
</table>
<a name="a6" doxytag="XercesDocumentWrapper::getParentNode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * XercesDocumentWrapper::getParentNode (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Gets the parent of this node.
<p>
All nodes, except <code>Document</code>, <code>DocumentFragment</code>, and <code>Attr</code> may have a parent. However, if a node has just been created and not yet added to the tree, or if it has been removed from the tree, a <code>null</code> Node is returned.
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a5">XalanDocument</a>. </td>
</tr>
</table>
<a name="a55" doxytag="XercesDocumentWrapper::getPooledString"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; XercesDocumentWrapper::getPooledString (
</b></td>
<td valign="bottom"><b>
const XalanDOMChar * <em>theString</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanDOMString.html#s6">XalanDOMString::size_type</a> <em>theLength</em>&nbsp;) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get a pooled string.
<p>
If the string is not in the pool, add it.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theString</em>
&nbsp;</td><td>
The string to pool. </td></tr>
<tr><td valign=top><em>theLength</em>
&nbsp;</td><td>
The length of the string. If <a class="el" href="classXalanDOMString.html#s12s11">XalanDOMString::npos</a>, the string is assumed to be null-terminated. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
A const reference to the pooled string. </dl> </td>
</tr>
</table>
<a name="a54" doxytag="XercesDocumentWrapper::getPooledString"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; XercesDocumentWrapper::getPooledString (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>theString</em>&nbsp;) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get a pooled string.
<p>
If the string is not in the pool, add it.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theString</em>
&nbsp;</td><td>
The string to pool. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
A const reference to the pooled string. </dl> </td>
</tr>
</table>
<a name="a24" doxytag="XercesDocumentWrapper::getPrefix"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; XercesDocumentWrapper::getPrefix (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get the <em>namespace prefix</em> of this node, or <code>null</code> if it is unspecified.
<p>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a23">XalanDocument</a>. </td>
</tr>
</table>
<a name="a10" doxytag="XercesDocumentWrapper::getPreviousSibling"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * XercesDocumentWrapper::getPreviousSibling (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Gets the node immediately preceding this node.
<p>
If there is no such node, this returns <code>null</code>.
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a9">XalanDocument</a>. </td>
</tr>
</table>
<a name="a52" doxytag="XercesDocumentWrapper::getXercesDocument"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
const <a class="el" href="XercesWrapperTypes_8hpp.html#a5">DOMDocument_Type</a> * XercesDocumentWrapper::getXercesDocument (
</b></td>
<td valign="bottom"><b>
) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get the Xerces DOMDocument that this XercesDocument represents.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the Xerces DOMDocument instance. </dl> </td>
</tr>
</table>
<a name="a19" doxytag="XercesDocumentWrapper::hasChildNodes"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
bool XercesDocumentWrapper::hasChildNodes (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
This is a convenience method to allow easy determination of whether a node has any children.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
<code>true</code> if the node has any children, <code>false</code> if the node has no children. </dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a18">XalanDocument</a>. </td>
</tr>
</table>
<a name="a41" doxytag="XercesDocumentWrapper::importNode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * XercesDocumentWrapper::importNode (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * <em>importedNode</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
bool <em>deep</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Imports a node from another document to this document.
<p>
The returned node has no parent (<code>parentNode</code> is <code>null</code>). The source node is not altered or removed from the original document; this method creates a new copy of the source node.<br>
For all nodes, importing a node creates a node object owned by the importing document, with attribute values identical to the source node's <code>nodeName</code> and <code>nodeType</code>, plus the attributes related to namespaces (prefix and namespaces URI).
<p>
<p>
<b>"Experimental - subject to change"</b><dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>importedNode</em>
&nbsp;</td><td>
The node to import. </td></tr>
<tr><td valign=top><em>deep</em>
&nbsp;</td><td>
If <code>true</code>, recursively import the subtree under the specified node; if <code>false</code>, import only the node itself, as explained above. This does not apply to <code>Attr</code>, <code>EntityReference</code>, and <code>Notation</code> nodes. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
The imported node that belongs to this <code>Document</code>. </dl><dl compact><dt>
<b>Exceptions: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>DOMException</em>
&nbsp;</td><td>
NOT_SUPPORTED_ERR: Raised if the type of node being imported is not supported. </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a40">XalanDocument</a>. </td>
</tr>
</table>
<a name="a15" doxytag="XercesDocumentWrapper::insertBefore"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * XercesDocumentWrapper::insertBefore (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * <em>newChild</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * <em>refChild</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Inserts the node <code>newChild</code> before the existing child node <code>refChild</code>.
<p>
If <code>refChild</code> is <code>null</code>, insert <code>newChild</code> at the end of the list of children. <br>
If <code>newChild</code> is a <code>DocumentFragment</code> object, all of its children are inserted, in the same order, before <code>refChild</code>. If the <code>newChild</code> is already in the tree, it is first removed. Note that a <code>Node</code> that has never been assigned to refer to an actual node is == null. <dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>newChild</em>
&nbsp;</td><td>
The node to insert. </td></tr>
<tr><td valign=top><em>refChild</em>
&nbsp;</td><td>
The reference node, i.e., the node before which the new node must be inserted. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
The node being inserted. </dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a14">XalanDocument</a>. </td>
</tr>
</table>
<a name="a27" doxytag="XercesDocumentWrapper::isIndexed"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
bool XercesDocumentWrapper::isIndexed (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Determine if the document is node-order indexed.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
true if the document is indexed, otherwise false. </dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a26">XalanDocument</a>. </td>
</tr>
</table>
<a name="a22" doxytag="XercesDocumentWrapper::isSupported"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
bool XercesDocumentWrapper::isSupported (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>feature</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>version</em>&nbsp;) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Tests whether the DOM implementation implements a specific feature and that feature is supported by this node.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>feature</em>
&nbsp;</td><td>
The string of the feature to test. This is the same name as what can be passed to the method <code>hasFeature</code> on <code>DOMImplementation</code>. </td></tr>
<tr><td valign=top><em>version</em>
&nbsp;</td><td>
This is the version number of the feature to test. In Level 2, version 1, this is the string "2.0". If the version is not specified, supporting any version of the feature will cause the method to return <code>true</code>. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
Returns <code>true</code> if the specified feature is supported on this node, <code>false</code> otherwise. </dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a21">XalanDocument</a>. </td>
</tr>
</table>
<a name="a51" doxytag="XercesDocumentWrapper::mapNode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
const <a class="el" href="XercesWrapperTypes_8hpp.html#a11">DOMNodeType</a> * XercesDocumentWrapper::mapNode (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * <em>theXalanNode</em>&nbsp;) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Map a <a class="el" href="classXalanNode.html">XalanNode</a> to the corresponding Xerces node.
<p>
If the node not owned by this document, the function will throw <a class="el" href="classXalanDOMException.html">XalanDOMException</a> with the code WRONG_DOCUMENT_ERR.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theXalanNode</em>
&nbsp;</td><td>
The Xalan instance to map
<p>
</td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
The pointer to the corresponding <a class="el" href="classXalanNode.html">XalanNode</a> instance, or 0 if the node could not be mapped. </dl> </td>
</tr>
</table>
<a name="a50" doxytag="XercesDocumentWrapper::mapNode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanElement.html">XalanElement</a> * XercesDocumentWrapper::mapNode (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="XercesWrapperTypes_8hpp.html#a8">DOMElementType</a> * <em>theXercesNode</em>&nbsp;) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Map a Xerces node to the corresponding wrapper node.
<p>
If the constructor for the instance was called with the threadSafe or buildWrapper parameter equal to true, this call will fail.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theXercesNode</em>
&nbsp;</td><td>
The Xerces instance to map
<p>
</td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
The pointer to the corresponding <a class="el" href="classXalanNode.html">XalanNode</a> instance, or 0 if the node could not be mapped. </dl> </td>
</tr>
</table>
<a name="a49" doxytag="XercesDocumentWrapper::mapNode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanAttr.html">XalanAttr</a> * XercesDocumentWrapper::mapNode (
</b></td>
<td valign="bottom"><b>
const DOMAttrType * <em>theXercesNode</em>&nbsp;) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Map a Xerces node to the corresponding wrapper node.
<p>
If the constructor for the instance was called with the threadSafe or buildWrapper parameter equal to true, this call will fail.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theXercesNode</em>
&nbsp;</td><td>
The Xerces instance to map
<p>
</td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
The pointer to the corresponding <a class="el" href="classXalanNode.html">XalanNode</a> instance, or 0 if the node could not be mapped. </dl> </td>
</tr>
</table>
<a name="a48" doxytag="XercesDocumentWrapper::mapNode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * XercesDocumentWrapper::mapNode (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="XercesWrapperTypes_8hpp.html#a11">DOMNodeType</a> * <em>theXercesNode</em>&nbsp;) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Map a Xerces node to the corresponding wrapper node.
<p>
If the constructor for the instance was called with the threadSafe or buildWrapper parameter equal to true, this call will fail.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theXercesNode</em>
&nbsp;</td><td>
The Xerces instance to map
<p>
</td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
The pointer to the corresponding <a class="el" href="classXalanNode.html">XalanNode</a> instance, or 0 if the node could not be mapped. </dl> </td>
</tr>
</table>
<a name="a21" doxytag="XercesDocumentWrapper::normalize"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void XercesDocumentWrapper::normalize (
</b></td>
<td valign="bottom"><b>
)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Puts all <code>Text</code> nodes in the full depth of the sub-tree underneath this <code>Node</code>, including attribute nodes, into a "normal" form where only markup (e.g., tags, comments, processing instructions, CDATA sections, and entity references) separates <code>Text</code> nodes, i.e., there are no adjacent <code>Text</code> nodes.
<p>
This can be used to ensure that the DOM view of a document is the same as if it were saved and re-loaded, and is useful when operations (such as XPointer lookups) that depend on a particular document tree structure are to be used.
<p>
<b>Note:</b> In cases where the document contains <code>CDATASections</code>, the normalize operation alone may not be sufficient, since XPointers do not differentiate between <code>Text</code> nodes and <code>CDATASection</code> nodes.
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a20">XalanDocument</a>. </td>
</tr>
</table>
<a name="a47" doxytag="XercesDocumentWrapper::rebuildWrapper"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void XercesDocumentWrapper::rebuildWrapper (
</b></td>
<td valign="bottom"><b>
)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Rebuild the entire bridge structure that connects the Xerces document to this XercesDocumentWrapper instance.
<p>
This destroys the bridge before rebuilding. </td>
</tr>
</table>
<a name="a17" doxytag="XercesDocumentWrapper::removeChild"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * XercesDocumentWrapper::removeChild (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * <em>oldChild</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Removes the child node indicated by <code>oldChild</code> from the list of children, and returns it.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>oldChild</em>
&nbsp;</td><td>
The node being removed. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
The node removed. </dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a16">XalanDocument</a>. </td>
</tr>
</table>
<a name="a16" doxytag="XercesDocumentWrapper::replaceChild"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * XercesDocumentWrapper::replaceChild (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * <em>newChild</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanNode.html">XalanNode</a> * <em>oldChild</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Replaces the child node <code>oldChild</code> with <code>newChild</code> in the list of children, and returns the <code>oldChild</code> node.
<p>
If <code>newChild</code> is a <code>DocumentFragment</code> object, <code>oldChild</code> is replaced by all of the <code>DocumentFragment</code> children, which are inserted in the same order.
<p>
If the <code>newChild</code> is already in the tree, it is first removed. <dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>newChild</em>
&nbsp;</td><td>
The new node to put in the child list. </td></tr>
<tr><td valign=top><em>oldChild</em>
&nbsp;</td><td>
The node being replaced in the list. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
The node replaced. </dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a15">XalanDocument</a>. </td>
</tr>
</table>
<a name="a20" doxytag="XercesDocumentWrapper::setNodeValue"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void XercesDocumentWrapper::setNodeValue (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>nodeValue</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets the value of the node.
<p>
Any node which can have a nodeValue (<dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="classXercesDocumentWrapper.html#a4">getNodeValue</a>) will also accept requests to set it to a string. The exact response to this varies from node to node -- Attribute, for example, stores its values in its children and has to replace them with a new Text holding the replacement value.
<p>
</dl>For most types of Node, value is null and attempting to set it will throw DOMException(NO_MODIFICATION_ALLOWED_ERR). This will also be thrown if the node is read-only.
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a19">XalanDocument</a>. </td>
</tr>
</table>
<a name="a26" doxytag="XercesDocumentWrapper::setPrefix"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void XercesDocumentWrapper::setPrefix (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>prefix</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set the <em>namespace prefix</em> of this node.
<p>
<p>
Note that setting this attribute, when permitted, changes the <code>nodeName</code> attribute, which holds the <em>qualified name</em>, as well as the <code>tagName</code> and <code>name</code> attributes of the <code>Element</code> and <code>Attr</code> interfaces, when applicable.
<p>
Note also that changing the prefix of an attribute, that is known to have a default value, does not make a new attribute with the default value and the original prefix appear, since the <code>namespaceURI</code> and <code>localName</code> do not change.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>prefix</em>
&nbsp;</td><td>
The prefix of this node. </td></tr>
</table>
</dl><dl compact><dt>
<b>Exceptions: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>DOMException</em>
&nbsp;</td><td>
INVALID_CHARACTER_ERR: Raised if the specified prefix contains an illegal character. <br>
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. <br>
NAMESPACE_ERR: Raised if the specified <code>prefix</code> is malformed, if the specified prefix is "xml" and the <code>namespaceURI</code> of this node is different from "<a href="http://www.w3.org/XML/1998/namespace">http://www.w3.org/XML/1998/namespace</a>", if specified prefix is "xmlns" and the <code>namespaceURI</code> is neither <code>null</code> nor an empty string, or if the <code>localName</code> is <code>null</code>. </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classXalanDocument.html#a25">XalanDocument</a>. </td>
</tr>
</table>
<hr><h2>Friends And Related Function Documentation</h2>
<a name="l1" doxytag="XercesDocumentWrapper::BuildWrapperTreeWalker"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
class BuildWrapperTreeWalker<code> [friend]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="l0" doxytag="XercesDocumentWrapper::XercesWrapperNavigator"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
class XercesWrapperNavigator<code> [friend]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XercesDocumentWrapper_8hpp-source.html">XercesDocumentWrapper.hpp</a></ul>
<p align="center"><a href="diagramnotes.html">Interpreting class diagrams</a></p>
<p><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
<i><A href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</A> and
<A href="http://www.research.att.com/sw/tools/graphviz/">GraphViz</A> are used to generate this API documentation from the Xalan-C header files.</I></FONT></p>
<TABLE border="0" cellpadding="0" cellspacing="0" width="820"><TR><TD bgcolor="#0086b2"><IMG height="1" src="../resources/dot.gif" width="1" alt="dot"></TD></TR></TABLE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="80%">
<TR>
<TD WIDTH="80%" VALIGN="TOP">
<P ALIGN="CENTER"><B>Xalan-C++ XSLT Processor Version 1.10</B><BR>
Copyright &copy; 1999-2004 The Apache Software Foundation. All Rights Reserved.</i></p>
</TD>
</TR>
<TR>
<TD WIDTH="100%">
<P ALIGN="CENTER"><IMG SRC="ApacheLogo.jpg" WIDTH="387" HEIGHT="100" ALIGN="BOTTOM" BORDER="0" ALT="Apache Logo">
</TD>
</TR>
</TABLE>