XQuilla/docs/dom3-api/classxercesc_1_1DOMNamedNodeMap.html
2020-02-17 22:10:06 +01:00

426 lines
26 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 DOM Level 3 API: xercesc::DOMNamedNodeMap Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<div class="nav">
<a class="el" href="namespacexercesc.html">xercesc</a>::<a class="el" href="classxercesc_1_1DOMNamedNodeMap.html">DOMNamedNodeMap</a></div>
<h1>xercesc::DOMNamedNodeMap Class Reference</h1><!-- doxytag: class="xercesc::DOMNamedNodeMap" --><code><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html">DOMNamedNodeMap</a></code>s are used to represent collections of nodes that can be accessed by name.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="DOMNamedNodeMap_8hpp-source.html">DOMNamedNodeMap.hpp</a>&gt;</code>
<p>
<a href="classxercesc_1_1DOMNamedNodeMap-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 1</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html#b0460a9ab57ae2a669d18a720f18c40d">setNamedItem</a> (<a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *arg)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a node using its <code>nodeName</code> attribute. <a href="#b0460a9ab57ae2a669d18a720f18c40d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html#272048d482af8525eb64ad1e1e7b459f">item</a> (XMLSize_t index) const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the <code>index</code>th item in the map. <a href="#272048d482af8525eb64ad1e1e7b459f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html#d7703fc5a8bc51757f175f10d6439cdd">getNamedItem</a> (const XMLCh *name) const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves a node specified by name. <a href="#d7703fc5a8bc51757f175f10d6439cdd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual XMLSize_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html#a653328f663e1ef939d6dbec7276aa30">getLength</a> () const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The number of nodes in the map. <a href="#a653328f663e1ef939d6dbec7276aa30"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html#61daea55f82f379af62c90abd973bf1b">removeNamedItem</a> (const XMLCh *name)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes a node specified by name. <a href="#61daea55f82f379af62c90abd973bf1b"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 2</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html#6e1c7c073b1b098ee924a11b2653702c">getNamedItemNS</a> (const XMLCh *namespaceURI, const XMLCh *localName) const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves a node specified by local name and namespace URI. <a href="#6e1c7c073b1b098ee924a11b2653702c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html#659e7833aba836cc3f24c6b93e653b0c">setNamedItemNS</a> (<a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *arg)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a node using its <code>namespaceURI</code> and <code>localName</code>. <a href="#659e7833aba836cc3f24c6b93e653b0c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html#908b939cd8cf54d649c478ed6720db73">removeNamedItemNS</a> (const XMLCh *namespaceURI, const XMLCh *localName)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes a node specified by local name and namespace URI. <a href="#908b939cd8cf54d649c478ed6720db73"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<code><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html">DOMNamedNodeMap</a></code>s are used to represent collections of nodes that can be accessed by name.
<p>
Note that <code><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html">DOMNamedNodeMap</a></code> does not inherit from <code><a class="el" href="classxercesc_1_1DOMNodeList.html">DOMNodeList</a></code>; <code><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html">DOMNamedNodeMap</a></code>s are not maintained in any particular order. Nodes contained in a <code><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html">DOMNamedNodeMap</a></code> may also be accessed by an ordinal index, but this is simply to allow convenient enumeration of the contents, and does not imply that the DOM specifies an order to these Nodes.<p>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="c9e59ff107fdb47edc1be61e7c864a27"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::DOMNamedNodeMap" ref="c9e59ff107fdb47edc1be61e7c864a27" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">xercesc::DOMNamedNodeMap::DOMNamedNodeMap </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="043e35b25faf3e084f53bcb7af03e995"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::~DOMNamedNodeMap" ref="043e35b25faf3e084f53bcb7af03e995" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual xercesc::DOMNamedNodeMap::~DOMNamedNodeMap </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Destructor.
<p>
</div>
</div><p>
<a class="anchor" name="c9e59ff107fdb47edc1be61e7c864a27"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::DOMNamedNodeMap" ref="c9e59ff107fdb47edc1be61e7c864a27" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">xercesc::DOMNamedNodeMap::DOMNamedNodeMap </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="043e35b25faf3e084f53bcb7af03e995"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::~DOMNamedNodeMap" ref="043e35b25faf3e084f53bcb7af03e995" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual xercesc::DOMNamedNodeMap::~DOMNamedNodeMap </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Destructor.
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="b0460a9ab57ae2a669d18a720f18c40d"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::setNamedItem" ref="b0460a9ab57ae2a669d18a720f18c40d" args="(DOMNode *arg)=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::DOMNamedNodeMap::setNamedItem </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>arg</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Adds a node using its <code>nodeName</code> attribute.
<p>
<br>
As the <code>nodeName</code> attribute is used to derive the name which the node must be stored under, multiple nodes of certain types (those that have a "special" string value) cannot be stored as the names would clash. This is seen as preferable to allowing nodes to be aliased. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>arg</em>&nbsp;</td><td>A node to store in a named node map. The node will later be accessible using the value of the <code>nodeName</code> attribute of the node. If a node with that name is already present in the map, it is replaced by the new one. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>If the new <code><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a></code> replaces an existing node the replaced <code><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a></code> is returned, otherwise <code>null</code> is returned. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>WRONG_DOCUMENT_ERR: Raised if <code>arg</code> was created from a different document than the one that created the <code><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html">DOMNamedNodeMap</a></code>. <br>
NO_MODIFICATION_ALLOWED_ERR: Raised if this <code><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html">DOMNamedNodeMap</a></code> is readonly. <br>
INUSE_ATTRIBUTE_ERR: Raised if <code>arg</code> is an <code><a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a></code> that is already an attribute of another <code><a class="el" href="classxercesc_1_1DOMElement.html">DOMElement</a></code> object. The DOM user must explicitly clone <code><a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a></code> nodes to re-use them in other elements. </td></tr>
</table>
</dl>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div><p>
<a class="anchor" name="272048d482af8525eb64ad1e1e7b459f"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::item" ref="272048d482af8525eb64ad1e1e7b459f" args="(XMLSize_t index) 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::DOMNamedNodeMap::item </td>
<td>(</td>
<td class="paramtype">XMLSize_t&nbsp;</td>
<td class="paramname"> <em>index</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the <code>index</code>th item in the map.
<p>
If <code>index</code> is greater than or equal to the number of nodes in the map, this returns <code>null</code>. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>Index into the map. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The node at the <code>index</code>th position in the <code><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html">DOMNamedNodeMap</a></code>, or <code>null</code> if that is not a valid index. </dd></dl>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div><p>
<a class="anchor" name="d7703fc5a8bc51757f175f10d6439cdd"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::getNamedItem" ref="d7703fc5a8bc51757f175f10d6439cdd" args="(const XMLCh *name) 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::DOMNamedNodeMap::getNamedItem </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>name</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Retrieves a node specified by name.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The <code>nodeName</code> of a node to retrieve. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A <code><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a></code> (of any type) with the specified <code>nodeName</code>, or <code>null</code> if it does not identify any node in the map. </dd></dl>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div><p>
<a class="anchor" name="a653328f663e1ef939d6dbec7276aa30"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::getLength" ref="a653328f663e1ef939d6dbec7276aa30" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual XMLSize_t xercesc::DOMNamedNodeMap::getLength </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The number of nodes in the map.
<p>
The range of valid child node indices is 0 to <code>length-1</code> inclusive. <dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div><p>
<a class="anchor" name="61daea55f82f379af62c90abd973bf1b"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::removeNamedItem" ref="61daea55f82f379af62c90abd973bf1b" args="(const XMLCh *name)=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::DOMNamedNodeMap::removeNamedItem </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>name</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Removes a node specified by name.
<p>
If the removed node is an <code><a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a></code> with a default value it is immediately replaced. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The <code>nodeName</code> of a node to remove. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The node removed from the map if a node with such a name exists. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>NOT_FOUND_ERR: Raised if there is no node named <code>name</code> in the map. <br>
NO_MODIFICATION_ALLOWED_ERR: Raised if this <code><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html">DOMNamedNodeMap</a></code> is readonly. </td></tr>
</table>
</dl>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div><p>
<a class="anchor" name="6e1c7c073b1b098ee924a11b2653702c"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::getNamedItemNS" ref="6e1c7c073b1b098ee924a11b2653702c" args="(const XMLCh *namespaceURI, const XMLCh *localName) 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::DOMNamedNodeMap::getNamedItemNS </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>namespaceURI</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>localName</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Retrieves a node specified by local name and namespace URI.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>namespaceURI</em>&nbsp;</td><td>The <em>namespace URI</em> of the node to retrieve. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>localName</em>&nbsp;</td><td>The <em>local name</em> of the node to retrieve. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A <code><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a></code> (of any type) with the specified local name and namespace URI, or <code>null</code> if they do not identify any node in the map. </dd></dl>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="659e7833aba836cc3f24c6b93e653b0c"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::setNamedItemNS" ref="659e7833aba836cc3f24c6b93e653b0c" args="(DOMNode *arg)=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::DOMNamedNodeMap::setNamedItemNS </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>arg</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Adds a node using its <code>namespaceURI</code> and <code>localName</code>.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>arg</em>&nbsp;</td><td>A node to store in a named node map. The node will later be accessible using the value of the <code>namespaceURI</code> and <code>localName</code> attribute of the node. If a node with those namespace URI and local name is already present in the map, it is replaced by the new one. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>If the new <code><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a></code> replaces an existing node the replaced <code><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a></code> is returned, otherwise <code>null</code> is returned. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>WRONG_DOCUMENT_ERR: Raised if <code>arg</code> was created from a different document than the one that created the <code><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html">DOMNamedNodeMap</a></code>. <br>
NO_MODIFICATION_ALLOWED_ERR: Raised if this <code><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html">DOMNamedNodeMap</a></code> is readonly. <br>
INUSE_ATTRIBUTE_ERR: Raised if <code>arg</code> is an <code><a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a></code> that is already an attribute of another <code><a class="el" href="classxercesc_1_1DOMElement.html">DOMElement</a></code> object. The DOM user must explicitly clone <code><a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a></code> nodes to re-use them in other elements. </td></tr>
</table>
</dl>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="908b939cd8cf54d649c478ed6720db73"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::removeNamedItemNS" ref="908b939cd8cf54d649c478ed6720db73" args="(const XMLCh *namespaceURI, const XMLCh *localName)=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::DOMNamedNodeMap::removeNamedItemNS </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>namespaceURI</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>localName</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Removes a node specified by local name and namespace URI.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>namespaceURI</em>&nbsp;</td><td>The <em>namespace URI</em> of the node to remove. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>localName</em>&nbsp;</td><td>The <em>local name</em> of the node to remove. When this <code><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html">DOMNamedNodeMap</a></code> contains the attributes attached to an element, as returned by the attributes attribute of the <code><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a></code> interface, if the removed attribute is known to have a default value, an attribute immediately appears containing the default value as well as the corresponding namespace URI, local name, and prefix. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The node removed from the map if a node with such a local name and namespace URI exists. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>NOT_FOUND_ERR: Raised if there is no node named <code>name</code> in the map. <br>
NO_MODIFICATION_ALLOWED_ERR: Raised if this <code><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html">DOMNamedNodeMap</a></code> is readonly. </td></tr>
</table>
</dl>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="DOMNamedNodeMap_8hpp-source.html">DOMNamedNodeMap.hpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 12 19:14:17 2007 for XQilla DOM Level 3 API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>