XQuilla/docs/dom3-api/classxercesc_1_1DOMNamedNodeMap.html

388 lines
27 KiB
HTML
Raw Normal View History

2020-02-17 21:05:20 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
2020-02-17 21:11:31 +00:00
<title>XQilla DOM3 API Documentation</title>
2020-02-17 21:05:20 +00:00
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
2020-02-17 21:11:31 +00:00
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
2020-02-17 21:22:42 +00:00
<!-- Generated by Doxygen 1.7.3 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
2020-02-17 21:19:57 +00:00
<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>
2020-02-17 21:22:42 +00:00
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
2020-02-17 21:19:57 +00:00
</ul>
</div>
2020-02-17 21:22:42 +00:00
<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_1DOMNamedNodeMap.html">DOMNamedNodeMap</a> </li>
</ul>
2020-02-17 21:19:57 +00:00
</div>
</div>
2020-02-17 21:22:42 +00:00
<div class="header">
<div class="headertitle">
<h1>xercesc::DOMNamedNodeMap Class Reference</h1> </div>
</div>
2020-02-17 21:19:57 +00:00
<div class="contents">
2020-02-17 21:22:42 +00:00
<!-- doxytag: class="xercesc::DOMNamedNodeMap" -->
<p><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>s are used to represent collections of nodes that can be accessed by name.
2020-02-17 21:19:57 +00:00
<a href="#_details">More...</a></p>
2020-02-17 21:05:20 +00:00
2020-02-17 21:19:57 +00:00
<p><code>#include &lt;<a class="el" href="DOMNamedNodeMap_8hpp_source.html">DOMNamedNodeMap.hpp</a>&gt;</code></p>
2020-02-17 21:05:20 +00:00
2020-02-17 21:19:57 +00:00
<p><a href="classxercesc_1_1DOMNamedNodeMap-members.html">List of all members.</a></p>
2020-02-17 21:22:42 +00:00
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
2020-02-17 21:19:57 +00:00
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
2020-02-17 21:22:42 +00:00
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html#a043e35b25faf3e084f53bcb7af03e995">~DOMNamedNodeMap</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#a043e35b25faf3e084f53bcb7af03e995"></a><br/></td></tr>
2020-02-17 21:19:57 +00:00
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 1</div></td></tr>
2020-02-17 21:22:42 +00:00
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html#ab0460a9ab57ae2a669d18a720f18c40d">setNamedItem</a> (<a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *arg)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a node using its <code>nodeName</code> attribute. <a href="#ab0460a9ab57ae2a669d18a720f18c40d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html#a4ef53e72c2fa91366ac2db178d9cb8fb">item</a> (XMLSize_t index) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>index</code>th item in the map. <a href="#a4ef53e72c2fa91366ac2db178d9cb8fb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html#a4943e18403b1c7f45747a83ef9616f6c">getNamedItem</a> (const XMLCh *name) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves a node specified by name. <a href="#a4943e18403b1c7f45747a83ef9616f6c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual XMLSize_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html#a64f903a4a63b0fb840e8ec5307ed427d">getLength</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of nodes in the map. <a href="#a64f903a4a63b0fb840e8ec5307ed427d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html#a61daea55f82f379af62c90abd973bf1b">removeNamedItem</a> (const XMLCh *name)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes a node specified by name. <a href="#a61daea55f82f379af62c90abd973bf1b"></a><br/></td></tr>
2020-02-17 21:05:20 +00:00
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 2</div></td></tr>
2020-02-17 21:22:42 +00:00
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html#a1c5b2c32234daa32c7bc2049b80d567a">getNamedItemNS</a> (const XMLCh *namespaceURI, const XMLCh *localName) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves a node specified by local name and namespace URI. <a href="#a1c5b2c32234daa32c7bc2049b80d567a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html#a659e7833aba836cc3f24c6b93e653b0c">setNamedItemNS</a> (<a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *arg)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a node using its <code>namespaceURI</code> and <code>localName</code>. <a href="#a659e7833aba836cc3f24c6b93e653b0c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html#a908b939cd8cf54d649c478ed6720db73">removeNamedItemNS</a> (const XMLCh *namespaceURI, const XMLCh *localName)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes a node specified by local name and namespace URI. <a href="#a908b939cd8cf54d649c478ed6720db73"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
2020-02-17 21:17:06 +00:00
<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
2020-02-17 21:22:42 +00:00
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html#ac9e59ff107fdb47edc1be61e7c864a27">DOMNamedNodeMap</a> ()</td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
<hr/><a name="_details"></a><h2>Detailed Description</h2>
2020-02-17 21:22:42 +00:00
<div class="textblock"><p><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>s are used to represent collections of nodes that can be accessed by name. </p>
<p>Note that <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> does not inherit from <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>; <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>s are not maintained in any particular order. Nodes contained in 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> 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>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
2020-02-17 21:22:42 +00:00
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
2020-02-17 21:19:57 +00:00
<a class="anchor" id="ac9e59ff107fdb47edc1be61e7c864a27"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::DOMNamedNodeMap" ref="ac9e59ff107fdb47edc1be61e7c864a27" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">xercesc::DOMNamedNodeMap::DOMNamedNodeMap </td>
<td>(</td>
2020-02-17 21:22:42 +00:00
<td class="paramname"></td><td>)</td>
2020-02-17 21:19:57 +00:00
<td><code> [inline, protected]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
2020-02-17 21:19:57 +00:00
</div>
</div>
<a class="anchor" id="a043e35b25faf3e084f53bcb7af03e995"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::~DOMNamedNodeMap" ref="a043e35b25faf3e084f53bcb7af03e995" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual xercesc::DOMNamedNodeMap::~DOMNamedNodeMap </td>
<td>(</td>
2020-02-17 21:22:42 +00:00
<td class="paramname"></td><td>)</td>
2020-02-17 21:19:57 +00:00
<td><code> [inline, virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
2020-02-17 21:19:57 +00:00
<p>Destructor. </p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a64f903a4a63b0fb840e8ec5307ed427d"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::getLength" ref="a64f903a4a63b0fb840e8ec5307ed427d" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual XMLSize_t xercesc::DOMNamedNodeMap::getLength </td>
<td>(</td>
2020-02-17 21:22:42 +00:00
<td class="paramname"></td><td>)</td>
2020-02-17 21:19:57 +00:00
<td> const<code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
2020-02-17 21:19:57 +00:00
<p>The number of nodes in the map. </p>
<p>The range of valid child node indices is 0 to <code>length-1</code> inclusive. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a4943e18403b1c7f45747a83ef9616f6c"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::getNamedItem" ref="a4943e18403b1c7f45747a83ef9616f6c" args="(const XMLCh *name) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMNamedNodeMap::getNamedItem </td>
<td>(</td>
2020-02-17 21:22:42 +00:00
<td class="paramtype">const XMLCh *&#160;</td>
<td class="paramname"><em>name</em></td><td>)</td>
2020-02-17 21:19:57 +00:00
<td> const<code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
2020-02-17 21:19:57 +00:00
<p>Retrieves a node specified by name. </p>
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:22:42 +00:00
<table class="params">
<tr><td class="paramname">name</td><td>The <code>nodeName</code> of a node to retrieve. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:22:42 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>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> (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>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a1c5b2c32234daa32c7bc2049b80d567a"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::getNamedItemNS" ref="a1c5b2c32234daa32c7bc2049b80d567a" args="(const XMLCh *namespaceURI, const XMLCh *localName) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMNamedNodeMap::getNamedItemNS </td>
<td>(</td>
2020-02-17 21:22:42 +00:00
<td class="paramtype">const XMLCh *&#160;</td>
<td class="paramname"><em>namespaceURI</em>, </td>
2020-02-17 21:19:08 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td class="paramkey"></td>
<td></td>
2020-02-17 21:22:42 +00:00
<td class="paramtype">const XMLCh *&#160;</td>
<td class="paramname"><em>localName</em>&#160;</td>
2020-02-17 21:19:08 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td></td>
<td>)</td>
2020-02-17 21:22:42 +00:00
<td></td><td> const<code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
2020-02-17 21:19:57 +00:00
<p>Retrieves a node specified by local name and namespace URI. </p>
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:22:42 +00:00
<table class="params">
<tr><td class="paramname">namespaceURI</td><td>The <em>namespace URI</em> of the node to retrieve. </td></tr>
<tr><td class="paramname">localName</td><td>The <em>local name</em> of the node to retrieve. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:22:42 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>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> (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>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a4ef53e72c2fa91366ac2db178d9cb8fb"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::item" ref="a4ef53e72c2fa91366ac2db178d9cb8fb" args="(XMLSize_t index) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMNamedNodeMap::item </td>
<td>(</td>
2020-02-17 21:22:42 +00:00
<td class="paramtype">XMLSize_t&#160;</td>
<td class="paramname"><em>index</em></td><td>)</td>
2020-02-17 21:19:57 +00:00
<td> const<code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:10:06 +00:00
2020-02-17 21:19:57 +00:00
<p>Returns the <code>index</code>th item in the map. </p>
<p>If <code>index</code> is greater than or equal to the number of nodes in the map, this returns <code>null</code>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:22:42 +00:00
<table class="params">
<tr><td class="paramname">index</td><td>Index into the map. </td></tr>
2020-02-17 21:19:08 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:19:08 +00:00
</dl>
2020-02-17 21:22:42 +00:00
<dl class="return"><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" title="DOMNamedNodeMaps are used to represent collections of nodes that can be accessed by name...">DOMNamedNodeMap</a></code>, or <code>null</code> if that is not a valid index. </dd></dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a61daea55f82f379af62c90abd973bf1b"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::removeNamedItem" ref="a61daea55f82f379af62c90abd973bf1b" args="(const XMLCh *name)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:10:06 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMNamedNodeMap::removeNamedItem </td>
<td>(</td>
2020-02-17 21:22:42 +00:00
<td class="paramtype">const XMLCh *&#160;</td>
<td class="paramname"><em>name</em></td><td>)</td>
2020-02-17 21:19:57 +00:00
<td><code> [pure virtual]</code></td>
2020-02-17 21:10:06 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
2020-02-17 21:19:57 +00:00
<p>Removes a node specified by name. </p>
<p>If the removed node is an <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code> with a default value it is immediately replaced. </p>
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:22:42 +00:00
<table class="params">
<tr><td class="paramname">name</td><td>The <code>nodeName</code> of a node to remove. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>The node removed from the map if a node with such a name exists. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
2020-02-17 21:22:42 +00:00
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></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" title="DOMNamedNodeMaps are used to represent collections of nodes that can be accessed by name...">DOMNamedNodeMap</a></code> is readonly. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a908b939cd8cf54d649c478ed6720db73"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::removeNamedItemNS" ref="a908b939cd8cf54d649c478ed6720db73" args="(const XMLCh *namespaceURI, const XMLCh *localName)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMNamedNodeMap::removeNamedItemNS </td>
<td>(</td>
2020-02-17 21:22:42 +00:00
<td class="paramtype">const XMLCh *&#160;</td>
<td class="paramname"><em>namespaceURI</em>, </td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td class="paramkey"></td>
<td></td>
2020-02-17 21:22:42 +00:00
<td class="paramtype">const XMLCh *&#160;</td>
<td class="paramname"><em>localName</em>&#160;</td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td></td>
<td>)</td>
2020-02-17 21:22:42 +00:00
<td></td><td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
2020-02-17 21:19:57 +00:00
<p>Removes a node specified by local name and namespace URI. </p>
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:22:42 +00:00
<table class="params">
<tr><td class="paramname">namespaceURI</td><td>The <em>namespace URI</em> of the node to remove. </td></tr>
<tr><td class="paramname">localName</td><td>The <em>local name</em> of the node to remove. When this <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> contains the attributes attached to an element, as returned by the attributes attribute of 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, 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>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="return"><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><dt><b>Exceptions:</b></dt><dd>
2020-02-17 21:22:42 +00:00
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></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" title="DOMNamedNodeMaps are used to represent collections of nodes that can be accessed by name...">DOMNamedNodeMap</a></code> is readonly. </td></tr>
2020-02-17 21:19:08 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:19:08 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="ab0460a9ab57ae2a669d18a720f18c40d"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::setNamedItem" ref="ab0460a9ab57ae2a669d18a720f18c40d" args="(DOMNode *arg)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMNamedNodeMap::setNamedItem </td>
<td>(</td>
2020-02-17 21:22:42 +00:00
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&#160;</td>
<td class="paramname"><em>arg</em></td><td>)</td>
2020-02-17 21:19:57 +00:00
<td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
2020-02-17 21:19:57 +00:00
<p>Adds a node using its <code>nodeName</code> attribute. </p>
<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. </p>
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:22:42 +00:00
<table class="params">
<tr><td class="paramname">arg</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>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:22:42 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>If the new <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> replaces an existing node the replaced <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> is returned, otherwise <code>null</code> is returned. </dd></dl>
2020-02-17 21:19:57 +00:00
<dl><dt><b>Exceptions:</b></dt><dd>
2020-02-17 21:22:42 +00:00
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></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" title="DOMNamedNodeMaps are used to represent collections of nodes that can be accessed by name...">DOMNamedNodeMap</a></code>. <br/>
NO_MODIFICATION_ALLOWED_ERR: Raised if this <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> is readonly. <br/>
INUSE_ATTRIBUTE_ERR: Raised if <code>arg</code> is an <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code> that is already an attribute of another <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> object. The DOM user must explicitly clone <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 to re-use them in other elements. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a659e7833aba836cc3f24c6b93e653b0c"></a><!-- doxytag: member="xercesc::DOMNamedNodeMap::setNamedItemNS" ref="a659e7833aba836cc3f24c6b93e653b0c" args="(DOMNode *arg)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMNamedNodeMap::setNamedItemNS </td>
<td>(</td>
2020-02-17 21:22:42 +00:00
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&#160;</td>
<td class="paramname"><em>arg</em></td><td>)</td>
2020-02-17 21:19:57 +00:00
<td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
2020-02-17 21:19:57 +00:00
<p>Adds a node using its <code>namespaceURI</code> and <code>localName</code>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:22:42 +00:00
<table class="params">
<tr><td class="paramname">arg</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>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:22:42 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>If the new <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> replaces an existing node the replaced <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> is returned, otherwise <code>null</code> is returned. </dd></dl>
2020-02-17 21:19:57 +00:00
<dl><dt><b>Exceptions:</b></dt><dd>
2020-02-17 21:22:42 +00:00
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></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" title="DOMNamedNodeMaps are used to represent collections of nodes that can be accessed by name...">DOMNamedNodeMap</a></code>. <br/>
NO_MODIFICATION_ALLOWED_ERR: Raised if this <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> is readonly. <br/>
INUSE_ATTRIBUTE_ERR: Raised if <code>arg</code> is an <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code> that is already an attribute of another <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> object. The DOM user must explicitly clone <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 to re-use them in other elements. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<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></li>
</ul>
</div>
2020-02-17 21:22:42 +00:00
<hr class="footer"/><address class="footer"><small>Generated on Mon Oct 31 2011 19:08:37 for XQilla DOM Level 3 API by&#160;
2020-02-17 21:05:20 +00:00
<a href="http://www.doxygen.org/index.html">
2020-02-17 21:22:42 +00:00
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
2020-02-17 21:05:20 +00:00
</body>
</html>