XQuilla/docs/simple-api/classxercesc_1_1DOMNode.html
2020-02-17 22:21:23 +01:00

1497 lines
101 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>XQilla Simple API Documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
<div class="navpath"><a class="el" href="namespacexercesc.html">xercesc</a>::<a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>
</div>
</div>
<div class="contents">
<h1>xercesc::DOMNode Class Reference</h1><!-- doxytag: class="xercesc::DOMNode" -->
<p>The <code><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a></code> interface is the primary datatype for the entire Document Object Model.
<a href="#_details">More...</a></p>
<p><code>#include &lt;<a class="el" href="DOMNode_8hpp_source.html">DOMNode.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for xercesc::DOMNode:</div>
<div class="dynsection">
<div class="center"><img src="classxercesc_1_1DOMNode__inherit__graph.png" border="0" usemap="#xercesc_1_1DOMNode_inherit__map" alt="Inheritance graph"/></div>
<map name="xercesc_1_1DOMNode_inherit__map" id="xercesc_1_1DOMNode_inherit__map">
<area shape="rect" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document." alt="" coords="5,83,168,112"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classxercesc_1_1DOMNode-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Public Contants</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpeea8a2ca342b573ab0550c66f85c693d"></a> </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#aa84ca6bc1ed4fe13540ed4972918392b">NodeType</a> { <br/>
&nbsp;&nbsp;<a class="el" href="classxercesc_1_1DOMNode.html#aa84ca6bc1ed4fe13540ed4972918392ba4dde63b0461b184c8fd822cd031239ad">ELEMENT_NODE</a> = 1,
<a class="el" href="classxercesc_1_1DOMNode.html#aa84ca6bc1ed4fe13540ed4972918392ba1d9bea0ca88401448ea6030291ac07ad">ATTRIBUTE_NODE</a> = 2,
<a class="el" href="classxercesc_1_1DOMNode.html#aa84ca6bc1ed4fe13540ed4972918392badff704deef92511c8b9d13316e7c2762">TEXT_NODE</a> = 3,
<a class="el" href="classxercesc_1_1DOMNode.html#aa84ca6bc1ed4fe13540ed4972918392ba89a6fc9fd3aa6148030ade46477e187d">CDATA_SECTION_NODE</a> = 4,
<br/>
&nbsp;&nbsp;<a class="el" href="classxercesc_1_1DOMNode.html#aa84ca6bc1ed4fe13540ed4972918392ba323e0f077f4c09f73d454cf21f2e9228">ENTITY_REFERENCE_NODE</a> = 5,
<a class="el" href="classxercesc_1_1DOMNode.html#aa84ca6bc1ed4fe13540ed4972918392ba0a8e47e264ac05239a97391894368dc6">ENTITY_NODE</a> = 6,
<a class="el" href="classxercesc_1_1DOMNode.html#aa84ca6bc1ed4fe13540ed4972918392ba965f667bdda3274ee368297a43140561">PROCESSING_INSTRUCTION_NODE</a> = 7,
<a class="el" href="classxercesc_1_1DOMNode.html#aa84ca6bc1ed4fe13540ed4972918392bafa882b9f79dc0de96ab5d9aadcd79180">COMMENT_NODE</a> = 8,
<br/>
&nbsp;&nbsp;<a class="el" href="classxercesc_1_1DOMNode.html#aa84ca6bc1ed4fe13540ed4972918392ba2dd0c4b8c68415351d742da8c5d74c0a">DOCUMENT_NODE</a> = 9,
<a class="el" href="classxercesc_1_1DOMNode.html#aa84ca6bc1ed4fe13540ed4972918392ba6b339d162d1eff36d690e37cc654acc0">DOCUMENT_TYPE_NODE</a> = 10,
<a class="el" href="classxercesc_1_1DOMNode.html#aa84ca6bc1ed4fe13540ed4972918392ba7f8e6b73737fee944fab5b994072d910">DOCUMENT_FRAGMENT_NODE</a> = 11,
<a class="el" href="classxercesc_1_1DOMNode.html#aa84ca6bc1ed4fe13540ed4972918392baab54f6297992490f298dc34f874f3c93">NOTATION_NODE</a> = 12
<br/>
}</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><p>NodeType. </p>
<a href="classxercesc_1_1DOMNode.html#aa84ca6bc1ed4fe13540ed4972918392b">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a5ceab9a0da19d803e0b0d03267176d9b">DocumentPosition</a> { <br/>
&nbsp;&nbsp;<a class="el" href="classxercesc_1_1DOMNode.html#a5ceab9a0da19d803e0b0d03267176d9ba1a4e3e80bda6501c127f17a5328fdded">DOCUMENT_POSITION_DISCONNECTED</a> = 0x01,
<a class="el" href="classxercesc_1_1DOMNode.html#a5ceab9a0da19d803e0b0d03267176d9ba8380a35047743766e233d3f4695c68cc">DOCUMENT_POSITION_PRECEDING</a> = 0x02,
<a class="el" href="classxercesc_1_1DOMNode.html#a5ceab9a0da19d803e0b0d03267176d9baef89a7aaccf4b9c4da1cd0dd9b0cfad6">DOCUMENT_POSITION_FOLLOWING</a> = 0x04,
<a class="el" href="classxercesc_1_1DOMNode.html#a5ceab9a0da19d803e0b0d03267176d9ba769ee643d165a958909367cba166389e">DOCUMENT_POSITION_CONTAINS</a> = 0x08,
<br/>
&nbsp;&nbsp;<a class="el" href="classxercesc_1_1DOMNode.html#a5ceab9a0da19d803e0b0d03267176d9bacd23448499d958d90c01449aef3e68bf">DOCUMENT_POSITION_CONTAINED_BY</a> = 0x10,
<a class="el" href="classxercesc_1_1DOMNode.html#a5ceab9a0da19d803e0b0d03267176d9ba7c0db9d3d7bdcc7d05bb46567a3bc8cd">DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC</a> = 0x20
<br/>
}</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><p>DocumentPosition:. </p>
<a href="classxercesc_1_1DOMNode.html#a5ceab9a0da19d803e0b0d03267176d9b">More...</a><br/></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp22a8ec108d963f279c6a6a95aa960a57"></a> </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#aee64d231b5a95de008f0400698ecd153">~DOMNode</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <a href="#aee64d231b5a95de008f0400698ecd153"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 1</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp24249042249e54f2e7b060cef8bc9ec0"></a> </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a7b32344fcf1bc6750237d0d136e669c5">getNodeName</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The name of this node, depending on its type; see the table above. <a href="#a7b32344fcf1bc6750237d0d136e669c5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a91c52c0624325ac9c9e176e944c2e179">getNodeValue</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the value of this node, depending on its type. <a href="#a91c52c0624325ac9c9e176e944c2e179"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html#aa84ca6bc1ed4fe13540ed4972918392b">NodeType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a2efeafaf11c2e91d4e2334f4a5837812">getNodeType</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An enum value representing the type of the underlying object. <a href="#a2efeafaf11c2e91d4e2334f4a5837812"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a75d88c459e52996255af85d0c2bb6c28">getParentNode</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the parent of this node. <a href="#a75d88c459e52996255af85d0c2bb6c28"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual DOMNodeList *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a5606d1504a6e5e34b8323c9c03bf0871">getChildNodes</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets a <code>DOMNodeList</code> that contains all children of this node. <a href="#a5606d1504a6e5e34b8323c9c03bf0871"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a2332c89f39231890e5124b45b7576fea">getFirstChild</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the first child of this node. <a href="#a2332c89f39231890e5124b45b7576fea"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a5105b148ca44c2e0560559410bde6f28">getLastChild</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the last child of this node. <a href="#a5105b148ca44c2e0560559410bde6f28"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a9b331b808c3bca80b262a2a4b5ae3039">getPreviousSibling</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the node immediately preceding this node. <a href="#a9b331b808c3bca80b262a2a4b5ae3039"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a15122c1270fbb4e49e3278600fc3e92f">getNextSibling</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the node immediately following this node. <a href="#a15122c1270fbb4e49e3278600fc3e92f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual DOMNamedNodeMap *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a94cba44e801d6ef597d6158d08a8db4b">getAttributes</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets a <code>DOMNamedNodeMap</code> containing the attributes of this node (if it is an <code>DOMElement</code>) or <code>null</code> otherwise. <a href="#a94cba44e801d6ef597d6158d08a8db4b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a678751c64acb0ba5ffdd80695b1bc357">getOwnerDocument</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> object associated with this node. <a href="#a678751c64acb0ba5ffdd80695b1bc357"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#acbd55c7876782a2147b092416609055d">cloneNode</a> (bool deep) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a duplicate of this node. <a href="#acbd55c7876782a2147b092416609055d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#ab53ebbb7276d3d20d24cb486f948717c">insertBefore</a> (<a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *newChild, <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *refChild)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Inserts the node <code>newChild</code> before the existing child node <code>refChild</code>. <a href="#ab53ebbb7276d3d20d24cb486f948717c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a94ce2693cd6634ac744ef6c3ed0609c0">replaceChild</a> (<a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *newChild, <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *oldChild)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Replaces the child node <code>oldChild</code> with <code>newChild</code> in the list of children, and returns the <code>oldChild</code> node. <a href="#a94ce2693cd6634ac744ef6c3ed0609c0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a6d55c029576075e0cfd8fc26f48c8b84">removeChild</a> (<a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *oldChild)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes the child node indicated by <code>oldChild</code> from the list of children, and returns it. <a href="#a6d55c029576075e0cfd8fc26f48c8b84"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#ade4f6d57748def70f0444b004df96a94">appendChild</a> (<a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *newChild)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds the node <code>newChild</code> to the end of the list of children of this node. <a href="#ade4f6d57748def70f0444b004df96a94"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a2bc565b40dd4bb5aba845d9dd2c7583a">hasChildNodes</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This is a convenience method to allow easy determination of whether a node has any children. <a href="#a2bc565b40dd4bb5aba845d9dd2c7583a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a4994a1cde1e661348fc7814dc794cedf">setNodeValue</a> (const XMLCh *nodeValue)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the value of the node. <a href="#a4994a1cde1e661348fc7814dc794cedf"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 2.</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpee044fee300a1cf0b61e35fb8e994c41"></a> </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a98d4e1ca99342ae7fa64ffcb1731b1e9">normalize</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Puts all <code>DOMText</code> nodes in the full depth of the sub-tree underneath this <code><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a></code>, including attribute nodes, into a "normal" form where only markup (e.g., tags, comments, processing instructions, CDATA sections, and entity references) separates <code>DOMText</code> nodes, i.e., there are neither adjacent <code>DOMText</code> nodes nor empty <code>DOMText</code> nodes. <a href="#a98d4e1ca99342ae7fa64ffcb1731b1e9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a1c65320f33cec3065797a0e9b3cdcacd">isSupported</a> (const XMLCh *feature, const XMLCh *version) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tests whether the DOM implementation implements a specific feature and that feature is supported by this node. <a href="#a1c65320f33cec3065797a0e9b3cdcacd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#af35cfa2da40fa282118ec1aca93fc306">getNamespaceURI</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the <em>namespace URI</em> of this node, or <code>null</code> if it is unspecified. <a href="#af35cfa2da40fa282118ec1aca93fc306"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#ad1f609ef0a7ebd5d4467e83940f9d085">getPrefix</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the <em>namespace prefix</em> of this node, or <code>null</code> if it is unspecified. <a href="#ad1f609ef0a7ebd5d4467e83940f9d085"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a5d459b8e9f1fe8cc82f3690d71d9d98e">getLocalName</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the local part of the <em>qualified name</em> of this node. <a href="#a5d459b8e9f1fe8cc82f3690d71d9d98e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#aded63bdb02c190b1a6136c8a7deafcd8">setPrefix</a> (const XMLCh *prefix)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the <em>namespace prefix</em> of this node. <a href="#aded63bdb02c190b1a6136c8a7deafcd8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a9857bb0538097f155821e5831fe6326b">hasAttributes</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether this node (if it is an element) has any attributes. <a href="#a9857bb0538097f155821e5831fe6326b"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3.</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp24c278d8f8612550f82b59dac8fab429"></a> </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a439002778f99343aba9298d7b0f712c4">isSameNode</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *other) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether this node is the same node as the given one. <a href="#a439002778f99343aba9298d7b0f712c4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#ae7e8ea1540b43fc6f73a2595dc45cfce">isEqualNode</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *arg) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tests whether two nodes are equal. <a href="#ae7e8ea1540b43fc6f73a2595dc45cfce"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#af1b188358a3cbb7b44a24fc71425bf42">setUserData</a> (const XMLCh *key, void *data, DOMUserDataHandler *handler)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Associate an object to a key on this node. <a href="#af1b188358a3cbb7b44a24fc71425bf42"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#af9d881c5e6a25c61732060dc6c6955ea">getUserData</a> (const XMLCh *key) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the object associated to a key on a this node. <a href="#af9d881c5e6a25c61732060dc6c6955ea"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#af775e8a5faa128e2b7d301b29d285192">getBaseURI</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The absolute base URI of this node or <code>null</code> if undefined. <a href="#af775e8a5faa128e2b7d301b29d285192"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual short&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#ac905b4d9386c40069c0aae057a514bcc">compareDocumentPosition</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *other) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compares the reference node, i.e. <a href="#ac905b4d9386c40069c0aae057a514bcc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#afbc6510ae34920edb171bc1b7499e2fd">getTextContent</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This attribute returns the text content of this node and its descendants. <a href="#afbc6510ae34920edb171bc1b7499e2fd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a5b9b83d624c3d85e7ad8d4f30e9a8bb4">setTextContent</a> (const XMLCh *textContent)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This attribute removes any possible children this node may have and, if the new string is not empty or null, replaced by a single <code>DOMText</code> node containing the string this attribute is set to. <a href="#a5b9b83d624c3d85e7ad8d4f30e9a8bb4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a55b9c445bcec20de933bd33fa38ef2a3">lookupPrefix</a> (const XMLCh *namespaceURI) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Look up the prefix associated to the given namespace URI, starting from this node. <a href="#a55b9c445bcec20de933bd33fa38ef2a3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a97bd8a011432b6bb97152cfed2984d9e">isDefaultNamespace</a> (const XMLCh *namespaceURI) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method checks if the specified <code>namespaceURI</code> is the default namespace or not. <a href="#a97bd8a011432b6bb97152cfed2984d9e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#aff70b3729ab0030f559b1c0bf9d5196e">lookupNamespaceURI</a> (const XMLCh *prefix) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Look up the namespace URI associated to the given prefix, starting from this node. <a href="#aff70b3729ab0030f559b1c0bf9d5196e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#ab448bae0f53b1d355cb448186ce5d47e">getFeature</a> (const XMLCh *feature, const XMLCh *version) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method makes available a <code><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a></code>'s specialized interface. <a href="#ab448bae0f53b1d355cb448186ce5d47e"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Non-standard Extension</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp9dcec5ccdd5c6c786291d764303b4dc3"></a> </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a0618f7ce0796d8c35ede74882a93dae1">release</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called to indicate that this <a class="el" href="classNode.html">Node</a> (and its associated children) is no longer in use and that the implementation may relinquish any resources associated with it and its associated children. <a href="#a0618f7ce0796d8c35ede74882a93dae1"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp7d629e77fff660516f7d86e8f54695d0"></a> </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a10dd1ae818ce0ddf258a5f27771bb68d">DOMNode</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a1ede20b1068cef86c2b74b4c0ac1e958">DOMNode</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> &amp;)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>The <code><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a></code> interface is the primary datatype for the entire Document Object Model. </p>
<p>It represents a single node in the document tree. While all objects implementing the <code><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a></code> interface expose methods for dealing with children, not all objects implementing the <code><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a></code> interface may have children. For example, <code>DOMText</code> nodes may not have children, and adding children to such nodes results in a <code>DOMException</code> being raised. </p>
<p>The attributes <code>nodeName</code>, <code>nodeValue</code> and <code>attributes</code> are included as a mechanism to get at node information without casting down to the specific derived interface. In cases where there is no obvious mapping of these attributes for a specific <code>nodeType</code> (e.g., <code>nodeValue</code> for an <code>DOMElement</code> or <code>attributes</code> for a <code>DOMComment</code> ), this returns <code>null</code>. Note that the specialized interfaces may contain additional and more convenient mechanisms to get and set the relevant information. </p>
<p>The values of <code>nodeName</code>, <code>nodeValue</code>, and <code>attributes</code> vary according to the node type as follows: </p>
<table border="1" cellspacing="3" cellpadding="3">
<tr>
<td><p>Interface </p>
</td><td><p>nodeName </p>
</td><td><p>nodeValue </p>
</td><td><p>attributes </p>
</td></tr>
<tr>
<td valign="top" rowspan="1" colspan="1"><p>DOMAttr </p>
</td><td valign="top" rowspan="1" colspan="1"><p>name of attribute </p>
</td><td valign="top" rowspan="1" colspan="1"><p>value of attribute </p>
</td><td valign="top" rowspan="1" colspan="1"><p>null </p>
</td></tr>
<tr>
<td valign="top" rowspan="1" colspan="1"><p>DOMCDATASection </p>
</td><td valign="top" rowspan="1" colspan="1"><p>"#cdata-section" </p>
</td><td valign="top" rowspan="1" colspan="1"><p>content of the CDATA Section </p>
</td><td valign="top" rowspan="1" colspan="1"><p>null </p>
</td></tr>
<tr>
<td valign="top" rowspan="1" colspan="1"><p>DOMComment </p>
</td><td valign="top" rowspan="1" colspan="1"><p>"#comment" </p>
</td><td valign="top" rowspan="1" colspan="1"><p>content of the comment </p>
</td><td valign="top" rowspan="1" colspan="1"><p>null </p>
</td></tr>
<tr>
<td valign="top" rowspan="1" colspan="1"><p><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a> </p>
</td><td valign="top" rowspan="1" colspan="1"><p>"#document" </p>
</td><td valign="top" rowspan="1" colspan="1"><p>null </p>
</td><td valign="top" rowspan="1" colspan="1"><p>null </p>
</td></tr>
<tr>
<td valign="top" rowspan="1" colspan="1"><p>DOMDocumentFragment </p>
</td><td valign="top" rowspan="1" colspan="1"><p>"#document-fragment" </p>
</td><td valign="top" rowspan="1" colspan="1"><p>null </p>
</td><td valign="top" rowspan="1" colspan="1"><p>null </p>
</td></tr>
<tr>
<td valign="top" rowspan="1" colspan="1"><p>DOMDocumentType </p>
</td><td valign="top" rowspan="1" colspan="1"><p>document type name </p>
</td><td valign="top" rowspan="1" colspan="1"><p>null </p>
</td><td valign="top" rowspan="1" colspan="1"><p>null </p>
</td></tr>
<tr>
<td valign="top" rowspan="1" colspan="1"><p>DOMElement </p>
</td><td valign="top" rowspan="1" colspan="1"><p>tag name </p>
</td><td valign="top" rowspan="1" colspan="1"><p>null </p>
</td><td valign="top" rowspan="1" colspan="1"><p>NamedNodeMap </p>
</td></tr>
<tr>
<td valign="top" rowspan="1" colspan="1"><p>DOMEntity </p>
</td><td valign="top" rowspan="1" colspan="1"><p>entity name </p>
</td><td valign="top" rowspan="1" colspan="1"><p>null </p>
</td><td valign="top" rowspan="1" colspan="1"><p>null </p>
</td></tr>
<tr>
<td valign="top" rowspan="1" colspan="1"><p>DOMEntityReference </p>
</td><td valign="top" rowspan="1" colspan="1"><p>name of entity referenced </p>
</td><td valign="top" rowspan="1" colspan="1"><p>null </p>
</td><td valign="top" rowspan="1" colspan="1"><p>null </p>
</td></tr>
<tr>
<td valign="top" rowspan="1" colspan="1"><p>DOMNotation </p>
</td><td valign="top" rowspan="1" colspan="1"><p>notation name </p>
</td><td valign="top" rowspan="1" colspan="1"><p>null </p>
</td><td valign="top" rowspan="1" colspan="1"><p>null </p>
</td></tr>
<tr>
<td valign="top" rowspan="1" colspan="1"><p>DOMProcessingInstruction </p>
</td><td valign="top" rowspan="1" colspan="1"><p>target </p>
</td><td valign="top" rowspan="1" colspan="1"><p>entire content excluding the target </p>
</td><td valign="top" rowspan="1" colspan="1"><p>null </p>
</td></tr>
<tr>
<td valign="top" rowspan="1" colspan="1"><p>DOMText </p>
</td><td valign="top" rowspan="1" colspan="1"><p>"#text" </p>
</td><td valign="top" rowspan="1" colspan="1"><p>content of the text node </p>
</td><td valign="top" rowspan="1" colspan="1"><p>null </p>
</td></tr>
</table>
<p>See also the <a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113">Document Object Model (DOM) Level 2 Core Specification</a>.</p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a5ceab9a0da19d803e0b0d03267176d9b"></a><!-- doxytag: member="xercesc::DOMNode::DocumentPosition" ref="a5ceab9a0da19d803e0b0d03267176d9b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classxercesc_1_1DOMNode.html#a5ceab9a0da19d803e0b0d03267176d9b">xercesc::DOMNode::DocumentPosition</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>DocumentPosition:. </p>
<p><code>DOCUMENT_POSITION_CONTAINED_BY:</code> The node is contained by the reference node. A node which is contained is always following, too. </p>
<p><code>DOCUMENT_POSITION_CONTAINS:</code> The node contains the reference node. A node which contains is always preceding, too. </p>
<p><code>DOCUMENT_POSITION_DISCONNECTED:</code> The two nodes are disconnected. Order between disconnected nodes is always implementation-specific. </p>
<p><code>DOCUMENT_POSITION_FOLLOWING:</code> The node follows the reference node. </p>
<p><code>DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:</code> The determination of preceding versus following is implementation-specific. </p>
<p><code>DOCUMENT_POSITION_PRECEDING:</code> The second node precedes the reference node.</p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a5ceab9a0da19d803e0b0d03267176d9ba1a4e3e80bda6501c127f17a5328fdded"></a><!-- doxytag: member="DOCUMENT_POSITION_DISCONNECTED" ref="a5ceab9a0da19d803e0b0d03267176d9ba1a4e3e80bda6501c127f17a5328fdded" args="" -->DOCUMENT_POSITION_DISCONNECTED</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a5ceab9a0da19d803e0b0d03267176d9ba8380a35047743766e233d3f4695c68cc"></a><!-- doxytag: member="DOCUMENT_POSITION_PRECEDING" ref="a5ceab9a0da19d803e0b0d03267176d9ba8380a35047743766e233d3f4695c68cc" args="" -->DOCUMENT_POSITION_PRECEDING</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a5ceab9a0da19d803e0b0d03267176d9baef89a7aaccf4b9c4da1cd0dd9b0cfad6"></a><!-- doxytag: member="DOCUMENT_POSITION_FOLLOWING" ref="a5ceab9a0da19d803e0b0d03267176d9baef89a7aaccf4b9c4da1cd0dd9b0cfad6" args="" -->DOCUMENT_POSITION_FOLLOWING</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a5ceab9a0da19d803e0b0d03267176d9ba769ee643d165a958909367cba166389e"></a><!-- doxytag: member="DOCUMENT_POSITION_CONTAINS" ref="a5ceab9a0da19d803e0b0d03267176d9ba769ee643d165a958909367cba166389e" args="" -->DOCUMENT_POSITION_CONTAINS</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a5ceab9a0da19d803e0b0d03267176d9bacd23448499d958d90c01449aef3e68bf"></a><!-- doxytag: member="DOCUMENT_POSITION_CONTAINED_BY" ref="a5ceab9a0da19d803e0b0d03267176d9bacd23448499d958d90c01449aef3e68bf" args="" -->DOCUMENT_POSITION_CONTAINED_BY</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a5ceab9a0da19d803e0b0d03267176d9ba7c0db9d3d7bdcc7d05bb46567a3bc8cd"></a><!-- doxytag: member="DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" ref="a5ceab9a0da19d803e0b0d03267176d9ba7c0db9d3d7bdcc7d05bb46567a3bc8cd" args="" -->DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aa84ca6bc1ed4fe13540ed4972918392b"></a><!-- doxytag: member="xercesc::DOMNode::NodeType" ref="aa84ca6bc1ed4fe13540ed4972918392b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classxercesc_1_1DOMNode.html#aa84ca6bc1ed4fe13540ed4972918392b">xercesc::DOMNode::NodeType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>NodeType. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="aa84ca6bc1ed4fe13540ed4972918392ba4dde63b0461b184c8fd822cd031239ad"></a><!-- doxytag: member="ELEMENT_NODE" ref="aa84ca6bc1ed4fe13540ed4972918392ba4dde63b0461b184c8fd822cd031239ad" args="" -->ELEMENT_NODE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aa84ca6bc1ed4fe13540ed4972918392ba1d9bea0ca88401448ea6030291ac07ad"></a><!-- doxytag: member="ATTRIBUTE_NODE" ref="aa84ca6bc1ed4fe13540ed4972918392ba1d9bea0ca88401448ea6030291ac07ad" args="" -->ATTRIBUTE_NODE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aa84ca6bc1ed4fe13540ed4972918392badff704deef92511c8b9d13316e7c2762"></a><!-- doxytag: member="TEXT_NODE" ref="aa84ca6bc1ed4fe13540ed4972918392badff704deef92511c8b9d13316e7c2762" args="" -->TEXT_NODE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aa84ca6bc1ed4fe13540ed4972918392ba89a6fc9fd3aa6148030ade46477e187d"></a><!-- doxytag: member="CDATA_SECTION_NODE" ref="aa84ca6bc1ed4fe13540ed4972918392ba89a6fc9fd3aa6148030ade46477e187d" args="" -->CDATA_SECTION_NODE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aa84ca6bc1ed4fe13540ed4972918392ba323e0f077f4c09f73d454cf21f2e9228"></a><!-- doxytag: member="ENTITY_REFERENCE_NODE" ref="aa84ca6bc1ed4fe13540ed4972918392ba323e0f077f4c09f73d454cf21f2e9228" args="" -->ENTITY_REFERENCE_NODE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aa84ca6bc1ed4fe13540ed4972918392ba0a8e47e264ac05239a97391894368dc6"></a><!-- doxytag: member="ENTITY_NODE" ref="aa84ca6bc1ed4fe13540ed4972918392ba0a8e47e264ac05239a97391894368dc6" args="" -->ENTITY_NODE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aa84ca6bc1ed4fe13540ed4972918392ba965f667bdda3274ee368297a43140561"></a><!-- doxytag: member="PROCESSING_INSTRUCTION_NODE" ref="aa84ca6bc1ed4fe13540ed4972918392ba965f667bdda3274ee368297a43140561" args="" -->PROCESSING_INSTRUCTION_NODE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aa84ca6bc1ed4fe13540ed4972918392bafa882b9f79dc0de96ab5d9aadcd79180"></a><!-- doxytag: member="COMMENT_NODE" ref="aa84ca6bc1ed4fe13540ed4972918392bafa882b9f79dc0de96ab5d9aadcd79180" args="" -->COMMENT_NODE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aa84ca6bc1ed4fe13540ed4972918392ba2dd0c4b8c68415351d742da8c5d74c0a"></a><!-- doxytag: member="DOCUMENT_NODE" ref="aa84ca6bc1ed4fe13540ed4972918392ba2dd0c4b8c68415351d742da8c5d74c0a" args="" -->DOCUMENT_NODE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aa84ca6bc1ed4fe13540ed4972918392ba6b339d162d1eff36d690e37cc654acc0"></a><!-- doxytag: member="DOCUMENT_TYPE_NODE" ref="aa84ca6bc1ed4fe13540ed4972918392ba6b339d162d1eff36d690e37cc654acc0" args="" -->DOCUMENT_TYPE_NODE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aa84ca6bc1ed4fe13540ed4972918392ba7f8e6b73737fee944fab5b994072d910"></a><!-- doxytag: member="DOCUMENT_FRAGMENT_NODE" ref="aa84ca6bc1ed4fe13540ed4972918392ba7f8e6b73737fee944fab5b994072d910" args="" -->DOCUMENT_FRAGMENT_NODE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aa84ca6bc1ed4fe13540ed4972918392baab54f6297992490f298dc34f874f3c93"></a><!-- doxytag: member="NOTATION_NODE" ref="aa84ca6bc1ed4fe13540ed4972918392baab54f6297992490f298dc34f874f3c93" args="" -->NOTATION_NODE</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a10dd1ae818ce0ddf258a5f27771bb68d"></a><!-- doxytag: member="xercesc::DOMNode::DOMNode" ref="a10dd1ae818ce0ddf258a5f27771bb68d" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">xercesc::DOMNode::DOMNode </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a1ede20b1068cef86c2b74b4c0ac1e958"></a><!-- doxytag: member="xercesc::DOMNode::DOMNode" ref="a1ede20b1068cef86c2b74b4c0ac1e958" args="(const DOMNode &amp;)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">xercesc::DOMNode::DOMNode </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> &amp;&nbsp;</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="aee64d231b5a95de008f0400698ecd153"></a><!-- doxytag: member="xercesc::DOMNode::~DOMNode" ref="aee64d231b5a95de008f0400698ecd153" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual xercesc::DOMNode::~DOMNode </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destructor. </p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ade4f6d57748def70f0444b004df96a94"></a><!-- doxytag: member="xercesc::DOMNode::appendChild" ref="ade4f6d57748def70f0444b004df96a94" args="(DOMNode *newChild)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMNode::appendChild </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>newChild</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Adds the node <code>newChild</code> to the end of the list of children of this node. </p>
<p>If the <code>newChild</code> is already in the tree, it is first removed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>newChild</em>&nbsp;</td><td>The node to add.If it is a <code>DOMDocumentFragment</code> object, the entire contents of the document fragment are moved into the child list of this node </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The node added. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>DOMException</em>&nbsp;</td><td>HIERARCHY_REQUEST_ERR: Raised if this node is of a type that does not allow children of the type of the <code>newChild</code> node, or if the node to append is one of this node's ancestors. <br/>
WRONG_DOCUMENT_ERR: Raised if <code>newChild</code> was created from a different document than the one that created this node. <br/>
NO_MODIFICATION_ALLOWED_ERR: Raised if this node or the node being appended is readonly. </td></tr>
</table>
</dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="acbd55c7876782a2147b092416609055d"></a><!-- doxytag: member="xercesc::DOMNode::cloneNode" ref="acbd55c7876782a2147b092416609055d" args="(bool deep) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMNode::cloneNode </td>
<td>(</td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>deep</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns a duplicate of this node. </p>
<p>This function serves as a generic copy constructor for nodes.</p>
<p>The duplicate node has no parent ( <code>parentNode</code> returns <code>null</code>.). <br/>
Cloning an <code>DOMElement</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>DOMText</code> node. Cloning any other type of node simply returns a copy of this node. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><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>DOMElement</code>). </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The duplicate node. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="ac905b4d9386c40069c0aae057a514bcc"></a><!-- doxytag: member="xercesc::DOMNode::compareDocumentPosition" ref="ac905b4d9386c40069c0aae057a514bcc" args="(const DOMNode *other) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual short xercesc::DOMNode::compareDocumentPosition </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>other</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Compares the reference node, i.e. </p>
<p>the node on which this method is being called, with a node, i.e. the one passed as a parameter, with regard to their position in the document and according to the document order.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>other</em>&nbsp;</td><td>The node to compare against this node. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns how the given node is positioned relatively to this node. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="a94cba44e801d6ef597d6158d08a8db4b"></a><!-- doxytag: member="xercesc::DOMNode::getAttributes" ref="a94cba44e801d6ef597d6158d08a8db4b" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual DOMNamedNodeMap* xercesc::DOMNode::getAttributes </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets a <code>DOMNamedNodeMap</code> containing the attributes of this node (if it is an <code>DOMElement</code>) or <code>null</code> otherwise. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="af775e8a5faa128e2b7d301b29d285192"></a><!-- doxytag: member="xercesc::DOMNode::getBaseURI" ref="af775e8a5faa128e2b7d301b29d285192" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const XMLCh* xercesc::DOMNode::getBaseURI </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The absolute base URI of this node or <code>null</code> if undefined. </p>
<p>This value is computed according to . However, when the <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> supports the feature "HTML" , the base URI is computed using first the value of the href attribute of the HTML BASE element if any, and the value of the <code>documentURI</code> attribute from the <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> interface otherwise.</p>
<p><br/>
When the node is an <code>DOMElement</code>, a <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> or a a <code>DOMProcessingInstruction</code>, this attribute represents the properties [base URI] defined in . When the node is a <code>DOMNotation</code>, an <code>DOMEntity</code>, or an <code>DOMEntityReference</code>, this attribute represents the properties [declaration base URI]. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="a5606d1504a6e5e34b8323c9c03bf0871"></a><!-- doxytag: member="xercesc::DOMNode::getChildNodes" ref="a5606d1504a6e5e34b8323c9c03bf0871" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual DOMNodeList* xercesc::DOMNode::getChildNodes </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets a <code>DOMNodeList</code> that contains all children of this node. </p>
<p>If there are no children, this is a <code>DOMNodeList</code> containing no nodes. The content of the returned <code>DOMNodeList</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>DOMNodeList</code> accessors; it is not a static snapshot of the content of the node. This is true for every <code>DOMNodeList</code>, including the ones returned by the <code>getElementsByTagName</code> method. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="ab448bae0f53b1d355cb448186ce5d47e"></a><!-- doxytag: member="xercesc::DOMNode::getFeature" ref="ab448bae0f53b1d355cb448186ce5d47e" args="(const XMLCh *feature, const XMLCh *version) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void* xercesc::DOMNode::getFeature </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>feature</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>version</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This method makes available a <code><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a></code>'s specialized interface. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>feature</em>&nbsp;</td><td>The name of the feature requested (case-insensitive). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>version</em>&nbsp;</td><td>The version of the feature requested. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns an alternate <code><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a></code> which implements the specialized APIs of the specified feature, if any, or <code>null</code> if there is no alternate <code><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a></code> which implements interfaces associated with that feature. Any alternate <code><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a></code> returned by this method must delegate to the primary core <code><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a></code> and not return results inconsistent with the primary core <code><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a></code> such as <code>key</code>, <code>attributes</code>, <code>childNodes</code>, etc. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="a2332c89f39231890e5124b45b7576fea"></a><!-- doxytag: member="xercesc::DOMNode::getFirstChild" ref="a2332c89f39231890e5124b45b7576fea" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMNode::getFirstChild </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the first child of this node. </p>
<p>If there is no such node, this returns <code>null</code>. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a5105b148ca44c2e0560559410bde6f28"></a><!-- doxytag: member="xercesc::DOMNode::getLastChild" ref="a5105b148ca44c2e0560559410bde6f28" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMNode::getLastChild </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the last child of this node. </p>
<p>If there is no such node, this returns <code>null</code>. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a5d459b8e9f1fe8cc82f3690d71d9d98e"></a><!-- doxytag: member="xercesc::DOMNode::getLocalName" ref="a5d459b8e9f1fe8cc82f3690d71d9d98e" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const XMLCh* xercesc::DOMNode::getLocalName </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> interface, it is null.</p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="af35cfa2da40fa282118ec1aca93fc306"></a><!-- doxytag: member="xercesc::DOMNode::getNamespaceURI" ref="af35cfa2da40fa282118ec1aca93fc306" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const XMLCh* xercesc::DOMNode::getNamespaceURI </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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>
<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><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> interface, this is always <code>null</code>.</p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a15122c1270fbb4e49e3278600fc3e92f"></a><!-- doxytag: member="xercesc::DOMNode::getNextSibling" ref="a15122c1270fbb4e49e3278600fc3e92f" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMNode::getNextSibling </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the node immediately following this node. </p>
<p>If there is no such node, this returns <code>null</code>. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a7b32344fcf1bc6750237d0d136e669c5"></a><!-- doxytag: member="xercesc::DOMNode::getNodeName" ref="a7b32344fcf1bc6750237d0d136e669c5" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const XMLCh* xercesc::DOMNode::getNodeName </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The name of this node, depending on its type; see the table above. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a2efeafaf11c2e91d4e2334f4a5837812"></a><!-- doxytag: member="xercesc::DOMNode::getNodeType" ref="a2efeafaf11c2e91d4e2334f4a5837812" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html#aa84ca6bc1ed4fe13540ed4972918392b">NodeType</a> xercesc::DOMNode::getNodeType </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>An enum value representing the type of the underlying object. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a91c52c0624325ac9c9e176e944c2e179"></a><!-- doxytag: member="xercesc::DOMNode::getNodeValue" ref="a91c52c0624325ac9c9e176e944c2e179" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const XMLCh* xercesc::DOMNode::getNodeValue </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the value of this node, depending on its type. </p>
<dl><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>DOMException</em>&nbsp;</td><td>NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly. </td></tr>
</table>
</dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a678751c64acb0ba5ffdd80695b1bc357"></a><!-- doxytag: member="xercesc::DOMNode::getOwnerDocument" ref="a678751c64acb0ba5ffdd80695b1bc357" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a>* xercesc::DOMNode::getOwnerDocument </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> object associated with this node. </p>
<p>This is also the <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> object used to create new nodes. When this node is a <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> or a <code>DOMDocumentType</code> which is not used with any <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> yet, this is <code>null</code>.</p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a75d88c459e52996255af85d0c2bb6c28"></a><!-- doxytag: member="xercesc::DOMNode::getParentNode" ref="a75d88c459e52996255af85d0c2bb6c28" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMNode::getParentNode </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the parent of this node. </p>
<p>All nodes, except <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code>, <code>DOMDocumentFragment</code>, and <code>DOMAttr</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> <a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a> is returned. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="ad1f609ef0a7ebd5d4467e83940f9d085"></a><!-- doxytag: member="xercesc::DOMNode::getPrefix" ref="ad1f609ef0a7ebd5d4467e83940f9d085" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const XMLCh* xercesc::DOMNode::getPrefix </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the <em>namespace prefix</em> of this node, or <code>null</code> if it is unspecified. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a9b331b808c3bca80b262a2a4b5ae3039"></a><!-- doxytag: member="xercesc::DOMNode::getPreviousSibling" ref="a9b331b808c3bca80b262a2a4b5ae3039" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMNode::getPreviousSibling </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the node immediately preceding this node. </p>
<p>If there is no such node, this returns <code>null</code>. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="afbc6510ae34920edb171bc1b7499e2fd"></a><!-- doxytag: member="xercesc::DOMNode::getTextContent" ref="afbc6510ae34920edb171bc1b7499e2fd" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const XMLCh* xercesc::DOMNode::getTextContent </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This attribute returns the text content of this node and its descendants. </p>
<p>No serialization is performed, the returned string does not contain any markup. No whitespace normalization is performed and the returned string does not contain the white spaces in element content.</p>
<p><br/>
The string returned is made of the text content of this node depending on its type, as defined below: </p>
<table border="1" cellspacing="3" cellpadding="3">
<tr>
<td><p><a class="el" href="classNode.html">Node</a> type </p>
</td><td><p>Content </p>
</td></tr>
<tr>
<td valign="top" rowspan="1" colspan="1"><p>ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, DOCUMENT_FRAGMENT_NODE </p>
</td><td valign="top" rowspan="1" colspan="1"><p>concatenation of the <code>textContent</code> attribute value of every child node, excluding COMMENT_NODE and PROCESSING_INSTRUCTION_NODE nodes </p>
</td></tr>
<tr>
<td valign="top" rowspan="1" colspan="1"><p>ATTRIBUTE_NODE, TEXT_NODE, CDATA_SECTION_NODE, COMMENT_NODE, PROCESSING_INSTRUCTION_NODE </p>
</td><td valign="top" rowspan="1" colspan="1"><p><code>nodeValue</code> </p>
</td></tr>
<tr>
<td valign="top" rowspan="1" colspan="1"><p>DOCUMENT_NODE, DOCUMENT_TYPE_NODE, NOTATION_NODE </p>
</td><td valign="top" rowspan="1" colspan="1"><p>null </p>
</td></tr>
</table>
<dl><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>DOMException</em>&nbsp;</td><td>DOMSTRING_SIZE_ERR: Raised when it would return more characters than fit in a <code>DOMString</code> variable on the implementation platform. </td></tr>
</table>
</dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMNode.html#a5b9b83d624c3d85e7ad8d4f30e9a8bb4" title="This attribute removes any possible children this node may have and, if the new string...">setTextContent</a> </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="af9d881c5e6a25c61732060dc6c6955ea"></a><!-- doxytag: member="xercesc::DOMNode::getUserData" ref="af9d881c5e6a25c61732060dc6c6955ea" args="(const XMLCh *key) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void* xercesc::DOMNode::getUserData </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>key</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Retrieves the object associated to a key on a this node. </p>
<p>The object must first have been set to this node by calling <code>setUserData</code> with the same key.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>key</em>&nbsp;</td><td>The key the object is associated to. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the <code>void*</code> associated to the given key on this node, or <code>null</code> if there was none. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMNode.html#af1b188358a3cbb7b44a24fc71425bf42" title="Associate an object to a key on this node.">setUserData</a> </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="a9857bb0538097f155821e5831fe6326b"></a><!-- doxytag: member="xercesc::DOMNode::hasAttributes" ref="a9857bb0538097f155821e5831fe6326b" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool xercesc::DOMNode::hasAttributes </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns whether this node (if it is an element) has any attributes. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this node has any attributes, <code>false</code> otherwise. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a2bc565b40dd4bb5aba845d9dd2c7583a"></a><!-- doxytag: member="xercesc::DOMNode::hasChildNodes" ref="a2bc565b40dd4bb5aba845d9dd2c7583a" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool xercesc::DOMNode::hasChildNodes </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This is a convenience method to allow easy determination of whether a node has any children. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the node has any children, <code>false</code> if the node has no children. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="ab53ebbb7276d3d20d24cb486f948717c"></a><!-- doxytag: member="xercesc::DOMNode::insertBefore" ref="ab53ebbb7276d3d20d24cb486f948717c" args="(DOMNode *newChild, DOMNode *refChild)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMNode::insertBefore </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>newChild</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>refChild</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Inserts the node <code>newChild</code> before the existing child node <code>refChild</code>. </p>
<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>DOMDocumentFragment</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><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a></code> that has never been assigned to refer to an actual node is == null. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>newChild</em>&nbsp;</td><td>The node to insert. </td></tr>
<tr><td valign="top"></td><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>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The node being inserted. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>DOMException</em>&nbsp;</td><td>HIERARCHY_REQUEST_ERR: Raised if this node is of a type that does not allow children of the type of the <code>newChild</code> node, or if the node to insert is one of this node's ancestors. <br/>
WRONG_DOCUMENT_ERR: Raised if <code>newChild</code> was created from a different document than the one that created this node. <br/>
NO_MODIFICATION_ALLOWED_ERR: Raised if this node or the node being inserted is readonly. <br/>
NOT_FOUND_ERR: Raised if <code>refChild</code> is not a child of this node. </td></tr>
</table>
</dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a97bd8a011432b6bb97152cfed2984d9e"></a><!-- doxytag: member="xercesc::DOMNode::isDefaultNamespace" ref="a97bd8a011432b6bb97152cfed2984d9e" args="(const XMLCh *namespaceURI) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool xercesc::DOMNode::isDefaultNamespace </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>namespaceURI</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This method checks if the specified <code>namespaceURI</code> is the default namespace or not. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>namespaceURI</em>&nbsp;</td><td>The namespace URI to look for. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the specified <code>namespaceURI</code> is the default namespace, <code>false</code> otherwise. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="ae7e8ea1540b43fc6f73a2595dc45cfce"></a><!-- doxytag: member="xercesc::DOMNode::isEqualNode" ref="ae7e8ea1540b43fc6f73a2595dc45cfce" args="(const DOMNode *arg) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool xercesc::DOMNode::isEqualNode </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>arg</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Tests whether two nodes are equal. </p>
<p><br/>
This method tests for equality of nodes, not sameness (i.e., whether the two nodes are pointers to the same object) which can be tested with <code><a class="el" href="classxercesc_1_1DOMNode.html#a439002778f99343aba9298d7b0f712c4" title="Returns whether this node is the same node as the given one.">DOMNode::isSameNode</a></code>. All nodes that are the same will also be equal, though the reverse may not be true. <br/>
Two nodes are equal if and only if the following conditions are satisfied: The two nodes are of the same type.The following string attributes are equal: <code>nodeName</code>, <code>localName</code>, <code>namespaceURI</code>, <code>prefix</code>, <code>nodeValue</code> , <code>baseURI</code>. This is: they are both <code>null</code>, or they have the same length and are character for character identical. The <code>attributes</code> <code>DOMNamedNodeMaps</code> are equal. This is: they are both <code>null</code>, or they have the same length and for each node that exists in one map there is a node that exists in the other map and is equal, although not necessarily at the same index.The <code>childNodes</code> <code>DOMNodeLists</code> are equal. This is: they are both <code>null</code>, or they have the same length and contain equal nodes at the same index. This is true for <code>DOMAttr</code> nodes as for any other type of node. Note that normalization can affect equality; to avoid this, nodes should be normalized before being compared. <br/>
For two <code>DOMDocumentType</code> nodes to be equal, the following conditions must also be satisfied: The following string attributes are equal: <code>publicId</code>, <code>systemId</code>, <code>internalSubset</code>.The <code>entities</code> <code>DOMNamedNodeMaps</code> are equal.The <code>notations</code> <code>DOMNamedNodeMaps</code> are equal. <br/>
On the other hand, the following do not affect equality: the <code>ownerDocument</code> attribute, the <code>specified</code> attribute for <code>DOMAttr</code> nodes, the <code>isWhitespaceInElementContent</code> attribute for <code>DOMText</code> nodes, as well as any user data or event listeners registered on the nodes.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>arg</em>&nbsp;</td><td>The node to compare equality with. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>If the nodes, and possibly subtrees are equal, <code>true</code> otherwise <code>false</code>. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="a439002778f99343aba9298d7b0f712c4"></a><!-- doxytag: member="xercesc::DOMNode::isSameNode" ref="a439002778f99343aba9298d7b0f712c4" args="(const DOMNode *other) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool xercesc::DOMNode::isSameNode </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>other</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns whether this node is the same node as the given one. </p>
<p><br/>
This method provides a way to determine whether two <code><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a></code> references returned by the implementation reference the same object. When two <code><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a></code> references are references to the same object, even if through a proxy, the references may be used completely interchangeably, such that all attributes have the same values and calling the same DOM method on either reference always has exactly the same effect.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>other</em>&nbsp;</td><td>The node to test against. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns <code>true</code> if the nodes are the same, <code>false</code> otherwise. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="a1c65320f33cec3065797a0e9b3cdcacd"></a><!-- doxytag: member="xercesc::DOMNode::isSupported" ref="a1c65320f33cec3065797a0e9b3cdcacd" args="(const XMLCh *feature, const XMLCh *version) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool xercesc::DOMNode::isSupported </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>feature</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>version</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Tests whether the DOM implementation implements a specific feature and that feature is supported by this node. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><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"></td><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>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns <code>true</code> if the specified feature is supported on this node, <code>false</code> otherwise. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="aff70b3729ab0030f559b1c0bf9d5196e"></a><!-- doxytag: member="xercesc::DOMNode::lookupNamespaceURI" ref="aff70b3729ab0030f559b1c0bf9d5196e" args="(const XMLCh *prefix) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const XMLCh* xercesc::DOMNode::lookupNamespaceURI </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>prefix</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Look up the namespace URI associated to the given prefix, starting from this node. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>prefix</em>&nbsp;</td><td>The prefix to look for. If this parameter is <code>null</code>, the method will return the default namespace URI if any. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the associated namespace URI or <code>null</code> if none is found. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="a55b9c445bcec20de933bd33fa38ef2a3"></a><!-- doxytag: member="xercesc::DOMNode::lookupPrefix" ref="a55b9c445bcec20de933bd33fa38ef2a3" args="(const XMLCh *namespaceURI) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const XMLCh* xercesc::DOMNode::lookupPrefix </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>namespaceURI</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Look up the prefix associated to the given namespace URI, starting from this node. </p>
<p>The default namespace declarations are ignored by this method.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>namespaceURI</em>&nbsp;</td><td>The namespace URI to look for. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns an associated namespace prefix if found, <code>null</code> if none is found. If more than one prefix are associated to the namespace prefix, the returned namespace prefix is implementation dependent. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="a98d4e1ca99342ae7fa64ffcb1731b1e9"></a><!-- doxytag: member="xercesc::DOMNode::normalize" ref="a98d4e1ca99342ae7fa64ffcb1731b1e9" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMNode::normalize </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Puts all <code>DOMText</code> nodes in the full depth of the sub-tree underneath this <code><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a></code>, including attribute nodes, into a "normal" form where only markup (e.g., tags, comments, processing instructions, CDATA sections, and entity references) separates <code>DOMText</code> nodes, i.e., there are neither adjacent <code>DOMText</code> nodes nor empty <code>DOMText</code> nodes. </p>
<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>
<p><b>Note:</b> In cases where the document contains <code>DOMCDATASections</code>, the normalize operation alone may not be sufficient, since XPointers do not differentiate between <code>DOMText</code> nodes and <code>DOMCDATASection</code> nodes.</p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a0618f7ce0796d8c35ede74882a93dae1"></a><!-- doxytag: member="xercesc::DOMNode::release" ref="a0618f7ce0796d8c35ede74882a93dae1" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMNode::release </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Called to indicate that this <a class="el" href="classNode.html">Node</a> (and its associated children) is no longer in use and that the implementation may relinquish any resources associated with it and its associated children. </p>
<p>If this is a document, any nodes it owns (created by DOMDocument::createXXXX()) are also released.</p>
<p>Access to a released object will lead to unexpected result.</p>
<dl><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>DOMException</em>&nbsp;</td><td>INVALID_ACCESS_ERR: Raised if this <a class="el" href="classNode.html">Node</a> has a parent and thus should not be released yet. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a6d55c029576075e0cfd8fc26f48c8b84"></a><!-- doxytag: member="xercesc::DOMNode::removeChild" ref="a6d55c029576075e0cfd8fc26f48c8b84" args="(DOMNode *oldChild)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMNode::removeChild </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>oldChild</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Removes the child node indicated by <code>oldChild</code> from the list of children, and returns it. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>oldChild</em>&nbsp;</td><td>The node being removed. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The node removed. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>DOMException</em>&nbsp;</td><td>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. <br/>
NOT_FOUND_ERR: Raised if <code>oldChild</code> is not a child of this node. </td></tr>
</table>
</dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a94ce2693cd6634ac744ef6c3ed0609c0"></a><!-- doxytag: member="xercesc::DOMNode::replaceChild" ref="a94ce2693cd6634ac744ef6c3ed0609c0" args="(DOMNode *newChild, DOMNode *oldChild)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMNode::replaceChild </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>newChild</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>oldChild</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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>
<p>If <code>newChild</code> is a <code>DOMDocumentFragment</code> object, <code>oldChild</code> is replaced by all of the <code>DOMDocumentFragment</code> children, which are inserted in the same order.</p>
<p>If the <code>newChild</code> is already in the tree, it is first removed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>newChild</em>&nbsp;</td><td>The new node to put in the child list. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>oldChild</em>&nbsp;</td><td>The node being replaced in the list. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The node replaced. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>DOMException</em>&nbsp;</td><td>HIERARCHY_REQUEST_ERR: Raised if this node is of a type that does not allow children of the type of the <code>newChild</code> node, or it the node to put in is one of this node's ancestors. <br/>
WRONG_DOCUMENT_ERR: Raised if <code>newChild</code> was created from a different document than the one that created this node. <br/>
NO_MODIFICATION_ALLOWED_ERR: Raised if this node or the new node is readonly. <br/>
NOT_FOUND_ERR: Raised if <code>oldChild</code> is not a child of this node. </td></tr>
</table>
</dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a4994a1cde1e661348fc7814dc794cedf"></a><!-- doxytag: member="xercesc::DOMNode::setNodeValue" ref="a4994a1cde1e661348fc7814dc794cedf" args="(const XMLCh *nodeValue)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMNode::setNodeValue </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>nodeValue</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the value of the node. </p>
<p>Any node which can have a nodeValue 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>
<p>For most types of <a class="el" href="classNode.html">Node</a>, 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>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMNode.html#a91c52c0624325ac9c9e176e944c2e179" title="Gets the value of this node, depending on its type.">getNodeValue</a> </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="aded63bdb02c190b1a6136c8a7deafcd8"></a><!-- doxytag: member="xercesc::DOMNode::setPrefix" ref="aded63bdb02c190b1a6136c8a7deafcd8" args="(const XMLCh *prefix)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMNode::setPrefix </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>prefix</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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>DOMElement</code> and <code>DOMAttr</code> interfaces, when applicable. </p>
<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.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>prefix</em>&nbsp;</td><td>The prefix of this node. </td></tr>
</table>
</dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><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 <code>namespaceURI</code> of this node is <code>null</code>, if the specified prefix is "xml" and the <code>namespaceURI</code> of this node is different from "http://www.w3.org/XML/1998/namespace", if this node is an attribute and the specified prefix is "xmlns" and the <code>namespaceURI</code> of this node is different from "http://www.w3.org/2000/xmlns/", or if this node is an attribute and the <code>qualifiedName</code> of this node is "xmlns". </td></tr>
</table>
</dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a5b9b83d624c3d85e7ad8d4f30e9a8bb4"></a><!-- doxytag: member="xercesc::DOMNode::setTextContent" ref="a5b9b83d624c3d85e7ad8d4f30e9a8bb4" args="(const XMLCh *textContent)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMNode::setTextContent </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>textContent</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This attribute removes any possible children this node may have and, if the new string is not empty or null, replaced by a single <code>DOMText</code> node containing the string this attribute is set to. </p>
<p>No parsing is performed, the input string is taken as pure textual content.</p>
<dl><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>DOMException</em>&nbsp;</td><td>NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly. </td></tr>
</table>
</dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMNode.html#afbc6510ae34920edb171bc1b7499e2fd" title="This attribute returns the text content of this node and its descendants.">getTextContent</a> </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="af1b188358a3cbb7b44a24fc71425bf42"></a><!-- doxytag: member="xercesc::DOMNode::setUserData" ref="af1b188358a3cbb7b44a24fc71425bf42" args="(const XMLCh *key, void *data, DOMUserDataHandler *handler)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void* xercesc::DOMNode::setUserData </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&nbsp;</td>
<td class="paramname"> <em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">DOMUserDataHandler *&nbsp;</td>
<td class="paramname"> <em>handler</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Associate an object to a key on this node. </p>
<p>The object can later be retrieved from this node by calling <code>getUserData</code> with the same key.</p>
<p>Deletion of the user data remains the responsibility of the application program; it will not be automatically deleted when the nodes themselves are reclaimed.</p>
<p>Both the parameter <code>data</code> and the returned object are void pointer, it is applications' responsibility to keep track of their original type. Casting them to the wrong type may result unexpected behavior.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>key</em>&nbsp;</td><td>The key to associate the object to. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>The object to associate to the given key, or <code>null</code> to remove any existing association to that key. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>handler</em>&nbsp;</td><td>The handler to associate to that key, or <code>null</code>. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the void* object previously associated to the given key on this node, or <code>null</code> if there was none. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMNode.html#af9d881c5e6a25c61732060dc6c6955ea" title="Retrieves the object associated to a key on a this node.">getUserData</a></dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="DOMNode_8hpp_source.html">DOMNode.hpp</a></li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Mar 1 21:16:18 2010 for XQilla Simple API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>