1397 lines
110 KiB
HTML
1397 lines
110 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 DOM3 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&type=2" border="0" alt="SourceForge.net Logo" /></a>
|
|
<!-- Generated by Doxygen 1.7.3 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main 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 id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="namespacexercesc.html">xercesc</a> </li>
|
|
<li class="navelem"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> </li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<h1>xercesc::DOMNode Class Reference</h1> </div>
|
|
</div>
|
|
<div class="contents">
|
|
<!-- 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 <<a class="el" href="DOMNode_8hpp_source.html">DOMNode.hpp</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for xercesc::DOMNode:</div>
|
|
<div class="dyncontent">
|
|
<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" id="node3" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element." alt="" coords="245,5,373,35"/><area shape="rect" id="node5" href="classxercesc_1_1DOMCharacterData.html" title="The DOMCharacterData interface extends DOMNode with a set of attributes and methods for accessing cha..." alt="" coords="213,59,405,88"/><area shape="rect" id="node13" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document." alt="" coords="227,112,392,141"/><area shape="rect" id="node15" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object..." alt="" coords="199,165,420,195"/><area shape="rect" id="node17" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object..." alt="" coords="212,219,407,248"/><area shape="rect" id="node19" href="classxercesc_1_1DOMElement.html" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume..." alt="" coords="232,272,387,301"/><area shape="rect" id="node21" href="classxercesc_1_1DOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document." alt="" coords="239,325,380,355"/><area shape="rect" id="node23" href="classxercesc_1_1DOMEntityReference.html" title="DOMEntityReference objects may be inserted into the structure model when an entity reference is in th..." alt="" coords="209,379,409,408"/><area shape="rect" id="node25" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD." alt="" coords="232,432,387,461"/><area shape="rect" id="node27" href="classxercesc_1_1DOMProcessingInstruction.html" title="The DOMProcessingInstruction interface represents a "processing  instruction", used in XML as a way to keep processor-specific information in the text of the document." alt="" coords="193,485,425,515"/><area shape="rect" id="node29" href="classxercesc_1_1DOMXPathNamespace.html" title="The DOMXPathNamespace interface is returned by DOMXPathResult interfaces to represent the XPath names..." alt="" coords="203,539,416,568"/><area shape="rect" id="node7" href="classxercesc_1_1DOMComment.html" title="This interface inherits from CharacterData and represents the content of a comment, i.e., all the characters between the starting ' <!--' and ending '-->'." alt="" coords="476,32,639,61"/><area shape="rect" id="node9" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara..." alt="" coords="491,85,624,115"/><area shape="rect" id="node11" href="classxercesc_1_1DOMCDATASection.html" title="CDATA sections are used to escape blocks of text containing characters that would otherwise be regard..." alt="" coords="688,85,885,115"/></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 class="memberdecls">
|
|
<tr><td colspan="2"><h2><a name="pub-types"></a>
|
|
Public Types</h2></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Public Contants</div></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#aa84ca6bc1ed4fe13540ed4972918392b">NodeType</a> { <br/>
|
|
  <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/>
|
|
  <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/>
|
|
  <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"> </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  </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a5ceab9a0da19d803e0b0d03267176d9b">DocumentPosition</a> { <br/>
|
|
  <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/>
|
|
  <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"> </td><td class="mdescRight"><p>DocumentPosition: </p>
|
|
<a href="classxercesc_1_1DOMNode.html#a5ceab9a0da19d803e0b0d03267176d9b">More...</a><br/></td></tr>
|
|
<tr><td colspan="2"><h2><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#aee64d231b5a95de008f0400698ecd153">~DOMNode</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </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 class="memItemLeft" align="right" valign="top">virtual const XMLCh * </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"> </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 * </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"> </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> </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"> </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> * </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"> </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 <a class="el" href="classxercesc_1_1DOMNodeList.html">DOMNodeList</a> * </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"> </td><td class="mdescRight">Gets a <code><a class="el" href="classxercesc_1_1DOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes.">DOMNodeList</a></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> * </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"> </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> * </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"> </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> * </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"> </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> * </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"> </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 <a class="el" href="classxercesc_1_1DOMNamedNodeMap.html">DOMNamedNodeMap</a> * </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"> </td><td class="mdescRight">Gets a <code><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html" title="DOMNamedNodeMaps are used to represent collections of nodes that can be accessed by name...">DOMNamedNodeMap</a></code> containing the attributes of this node (if it is an <code><a class="el" href="classxercesc_1_1DOMElement.html" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">DOMElement</a></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> * </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"> </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> * </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"> </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> * </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"> </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> * </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"> </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> * </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"> </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> * </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"> </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 </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"> </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 </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"> </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 class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a98d4e1ca99342ae7fa64ffcb1731b1e9">normalize</a> ()=0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Puts all <code><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></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><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> nodes, i.e., there are neither adjacent <code><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> nodes nor empty <code><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> nodes. <a href="#a98d4e1ca99342ae7fa64ffcb1731b1e9"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </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"> </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 * </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"> </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 * </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"> </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 * </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"> </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 </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"> </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 </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"> </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 class="memItemLeft" align="right" valign="top">virtual bool </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"> </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 </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"> </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 * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#af1b188358a3cbb7b44a24fc71425bf42">setUserData</a> (const XMLCh *key, void *data, <a class="el" href="classxercesc_1_1DOMUserDataHandler.html">DOMUserDataHandler</a> *handler)=0</td></tr>
|
|
<tr><td class="mdescLeft"> </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 * </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"> </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 * </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"> </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 </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"> </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 * </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"> </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 </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"> </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><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></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 * </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"> </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 </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"> </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 * </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"> </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 * </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"> </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 class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNode.html#a0618f7ce0796d8c35ede74882a93dae1">release</a> ()=0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Called to indicate that this Node (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><a name="pro-methods"></a>
|
|
Protected Member Functions</h2></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </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"> </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> &)</td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<div class="textblock"><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><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> nodes may not have children, and adding children to such nodes results in a <code><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></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><a class="el" href="classxercesc_1_1DOMElement.html" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">DOMElement</a></code> or <code>attributes</code> for a <code><a class="el" href="classxercesc_1_1DOMComment.html" title="This interface inherits from CharacterData and represents the content of a comment, i.e., all the characters between the starting ' <!--' and ending '-->'.">DOMComment</a></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">
|
|
<tr>
|
|
<td>Interface </td><td>nodeName </td><td>nodeValue </td><td>attributes </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1"><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a> </td><td valign="top" rowspan="1" colspan="1">name of attribute </td><td valign="top" rowspan="1" colspan="1">value of attribute </td><td valign="top" rowspan="1" colspan="1">null </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1"><a class="el" href="classxercesc_1_1DOMCDATASection.html" title="CDATA sections are used to escape blocks of text containing characters that would otherwise be regard...">DOMCDATASection</a> </td><td valign="top" rowspan="1" colspan="1">"#cdata-section" </td><td valign="top" rowspan="1" colspan="1">content of the CDATA Section </td><td valign="top" rowspan="1" colspan="1">null </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1"><a class="el" href="classxercesc_1_1DOMComment.html" title="This interface inherits from CharacterData and represents the content of a comment, i.e., all the characters between the starting ' <!--' and ending '-->'.">DOMComment</a> </td><td valign="top" rowspan="1" colspan="1">"#comment" </td><td valign="top" rowspan="1" colspan="1">content of the comment </td><td valign="top" rowspan="1" colspan="1">null </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1"><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a> </td><td valign="top" rowspan="1" colspan="1">"#document" </td><td valign="top" rowspan="1" colspan="1">null </td><td valign="top" rowspan="1" colspan="1">null </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1"><a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object...">DOMDocumentFragment</a> </td><td valign="top" rowspan="1" colspan="1">"#document-fragment" </td><td valign="top" rowspan="1" colspan="1">null </td><td valign="top" rowspan="1" colspan="1">null </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1"><a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object...">DOMDocumentType</a> </td><td valign="top" rowspan="1" colspan="1">document type name </td><td valign="top" rowspan="1" colspan="1">null </td><td valign="top" rowspan="1" colspan="1">null </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1"><a class="el" href="classxercesc_1_1DOMElement.html" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">DOMElement</a> </td><td valign="top" rowspan="1" colspan="1">tag name </td><td valign="top" rowspan="1" colspan="1">null </td><td valign="top" rowspan="1" colspan="1">NamedNodeMap </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1"><a class="el" href="classxercesc_1_1DOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document.">DOMEntity</a> </td><td valign="top" rowspan="1" colspan="1">entity name </td><td valign="top" rowspan="1" colspan="1">null </td><td valign="top" rowspan="1" colspan="1">null </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1"><a class="el" href="classxercesc_1_1DOMEntityReference.html" title="DOMEntityReference objects may be inserted into the structure model when an entity reference is in th...">DOMEntityReference</a> </td><td valign="top" rowspan="1" colspan="1">name of entity referenced </td><td valign="top" rowspan="1" colspan="1">null </td><td valign="top" rowspan="1" colspan="1">null </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1"><a class="el" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD.">DOMNotation</a> </td><td valign="top" rowspan="1" colspan="1">notation name </td><td valign="top" rowspan="1" colspan="1">null </td><td valign="top" rowspan="1" colspan="1">null </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1"><a class="el" href="classxercesc_1_1DOMProcessingInstruction.html" title="The DOMProcessingInstruction interface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document.">DOMProcessingInstruction</a> </td><td valign="top" rowspan="1" colspan="1">target </td><td valign="top" rowspan="1" colspan="1">entire content excluding the target </td><td valign="top" rowspan="1" colspan="1">null </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1"><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a> </td><td valign="top" rowspan="1" colspan="1">"#text" </td><td valign="top" rowspan="1" colspan="1">content of the text node </td><td valign="top" rowspan="1" colspan="1">null </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>
|
|
</div><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> </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> </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> </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> </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> </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> </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> </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> </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> </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> </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> </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> </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> </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> </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> </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> </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> </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> </td><td>
|
|
</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Constructor & 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>)</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 &)" -->
|
|
<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> & </td>
|
|
<td class="paramname"></td><td>)</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>)</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> * </td>
|
|
<td class="paramname"><em>newChild</em></td><td>)</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 class="params">
|
|
<tr><td class="paramname">newChild</td><td>The node to add.If it is a <code><a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object...">DOMDocumentFragment</a></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 class="exception">
|
|
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></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 </td>
|
|
<td class="paramname"><em>deep</em></td><td>)</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><a class="el" href="classxercesc_1_1DOMElement.html" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">DOMElement</a></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><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> node. Cloning any other type of node simply returns a copy of this node. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">deep</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><a class="el" href="classxercesc_1_1DOMElement.html" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">DOMElement</a></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> * </td>
|
|
<td class="paramname"><em>other</em></td><td>)</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 class="params">
|
|
<tr><td class="paramname">other</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 <a class="el" href="classxercesc_1_1DOMNamedNodeMap.html">DOMNamedNodeMap</a>* xercesc::DOMNode::getAttributes </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Gets a <code><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html" title="DOMNamedNodeMaps are used to represent collections of nodes that can be accessed by name...">DOMNamedNodeMap</a></code> containing the attributes of this node (if it is an <code><a class="el" href="classxercesc_1_1DOMElement.html" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">DOMElement</a></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>)</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><a class="el" href="classxercesc_1_1DOMElement.html" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">DOMElement</a></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><a class="el" href="classxercesc_1_1DOMProcessingInstruction.html" title="The DOMProcessingInstruction interface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document.">DOMProcessingInstruction</a></code>, this attribute represents the properties [base URI] defined in . When the node is a <code><a class="el" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD.">DOMNotation</a></code>, an <code><a class="el" href="classxercesc_1_1DOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document.">DOMEntity</a></code>, or an <code><a class="el" href="classxercesc_1_1DOMEntityReference.html" title="DOMEntityReference objects may be inserted into the structure model when an entity reference is in th...">DOMEntityReference</a></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 <a class="el" href="classxercesc_1_1DOMNodeList.html">DOMNodeList</a>* xercesc::DOMNode::getChildNodes </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Gets a <code><a class="el" href="classxercesc_1_1DOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes.">DOMNodeList</a></code> that contains all children of this node. </p>
|
|
<p>If there are no children, this is a <code><a class="el" href="classxercesc_1_1DOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes.">DOMNodeList</a></code> containing no nodes. The content of the returned <code><a class="el" href="classxercesc_1_1DOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes.">DOMNodeList</a></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><a class="el" href="classxercesc_1_1DOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes.">DOMNodeList</a></code> accessors; it is not a static snapshot of the content of the node. This is true for every <code><a class="el" href="classxercesc_1_1DOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes.">DOMNodeList</a></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 * </td>
|
|
<td class="paramname"><em>feature</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const XMLCh * </td>
|
|
<td class="paramname"><em>version</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<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 class="params">
|
|
<tr><td class="paramname">feature</td><td>The name of the feature requested (case-insensitive). </td></tr>
|
|
<tr><td class="paramname">version</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>)</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>)</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>)</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>)</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>)</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>)</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>)</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>)</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 class="exception">
|
|
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></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>)</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><a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object...">DOMDocumentType</a></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>)</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><a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object...">DOMDocumentFragment</a></code>, and <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></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>)</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>)</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>)</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">
|
|
<tr>
|
|
<td>Node type </td><td>Content </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1">ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, DOCUMENT_FRAGMENT_NODE </td><td valign="top" rowspan="1" colspan="1">concatenation of the <code>textContent</code> attribute value of every child node, excluding COMMENT_NODE and PROCESSING_INSTRUCTION_NODE nodes </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1">ATTRIBUTE_NODE, TEXT_NODE, CDATA_SECTION_NODE, COMMENT_NODE, PROCESSING_INSTRUCTION_NODE </td><td valign="top" rowspan="1" colspan="1"><code>nodeValue</code> </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1">DOCUMENT_NODE, DOCUMENT_TYPE_NODE, NOTATION_NODE </td><td valign="top" rowspan="1" colspan="1">null </td></tr>
|
|
</table>
|
|
<dl><dt><b>Exceptions:</b></dt><dd>
|
|
<table class="exception">
|
|
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></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 is not empty o...">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 * </td>
|
|
<td class="paramname"><em>key</em></td><td>)</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 class="params">
|
|
<tr><td class="paramname">key</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>)</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>)</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> * </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> * </td>
|
|
<td class="paramname"><em>refChild</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<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><a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object...">DOMDocumentFragment</a></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 class="params">
|
|
<tr><td class="paramname">newChild</td><td>The node to insert. </td></tr>
|
|
<tr><td class="paramname">refChild</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 class="exception">
|
|
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></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 * </td>
|
|
<td class="paramname"><em>namespaceURI</em></td><td>)</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 class="params">
|
|
<tr><td class="paramname">namespaceURI</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> * </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</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><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></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><a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object...">DOMDocumentType</a></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><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code> nodes, the <code>isWhitespaceInElementContent</code> attribute for <code><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> nodes, as well as any user data or event listeners registered on the nodes.</p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">arg</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> * </td>
|
|
<td class="paramname"><em>other</em></td><td>)</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 class="params">
|
|
<tr><td class="paramname">other</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 * </td>
|
|
<td class="paramname"><em>feature</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const XMLCh * </td>
|
|
<td class="paramname"><em>version</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<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 class="params">
|
|
<tr><td class="paramname">feature</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><a class="el" href="classxercesc_1_1DOMImplementation.html" title="The DOMImplementation interface provides a number of methods for performing operations that are indep...">DOMImplementation</a></code>. </td></tr>
|
|
<tr><td class="paramname">version</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 * </td>
|
|
<td class="paramname"><em>prefix</em></td><td>)</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 class="params">
|
|
<tr><td class="paramname">prefix</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 * </td>
|
|
<td class="paramname"><em>namespaceURI</em></td><td>)</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 class="params">
|
|
<tr><td class="paramname">namespaceURI</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>)</td>
|
|
<td><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Puts all <code><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></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><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> nodes, i.e., there are neither adjacent <code><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> nodes nor empty <code><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></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><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> nodes and <code><a class="el" href="classxercesc_1_1DOMCDATASection.html" title="CDATA sections are used to escape blocks of text containing characters that would otherwise be regard...">DOMCDATASection</a></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>)</td>
|
|
<td><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Called to indicate that this Node (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 class="exception">
|
|
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_ACCESS_ERR: Raised if this Node 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> * </td>
|
|
<td class="paramname"><em>oldChild</em></td><td>)</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 class="params">
|
|
<tr><td class="paramname">oldChild</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 class="exception">
|
|
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></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> * </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> * </td>
|
|
<td class="paramname"><em>oldChild</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<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><a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object...">DOMDocumentFragment</a></code> object, <code>oldChild</code> is replaced by all of the <code><a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object...">DOMDocumentFragment</a></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 class="params">
|
|
<tr><td class="paramname">newChild</td><td>The new node to put in the child list. </td></tr>
|
|
<tr><td class="paramname">oldChild</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 class="exception">
|
|
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></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 * </td>
|
|
<td class="paramname"><em>nodeValue</em></td><td>)</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 Node, value is null and attempting to set it will throw DOMException(NO_MODIFICATION_ALLOWED_ERR). This will also be thrown if the node is read-only. </p>
|
|
<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 * </td>
|
|
<td class="paramname"><em>prefix</em></td><td>)</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><a class="el" href="classxercesc_1_1DOMElement.html" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">DOMElement</a></code> and <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></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 class="params">
|
|
<tr><td class="paramname">prefix</td><td>The prefix of this node. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Exceptions:</b></dt><dd>
|
|
<table class="exception">
|
|
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></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 * </td>
|
|
<td class="paramname"><em>textContent</em></td><td>)</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><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></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 class="exception">
|
|
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></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 * </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>data</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMUserDataHandler.html">DOMUserDataHandler</a> * </td>
|
|
<td class="paramname"><em>handler</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<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 class="params">
|
|
<tr><td class="paramname">key</td><td>The key to associate the object to. </td></tr>
|
|
<tr><td class="paramname">data</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 class="paramname">handler</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 class="footer"/><address class="footer"><small>Generated on Mon Oct 31 2011 19:08:37 for XQilla DOM Level 3 API by 
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
|
|
</body>
|
|
</html>
|