<p><code><aclass="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.
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Adds a node using its <code>nodeName</code> attribute. <ahref="#ab0460a9ab57ae2a669d18a720f18c40d"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the <code>index</code>th item in the map. <ahref="#a4ef53e72c2fa91366ac2db178d9cb8fb"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Retrieves a node specified by name. <ahref="#a4943e18403b1c7f45747a83ef9616f6c"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">The number of nodes in the map. <ahref="#a64f903a4a63b0fb840e8ec5307ed427d"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Removes a node specified by name. <ahref="#a61daea55f82f379af62c90abd973bf1b"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Retrieves a node specified by local name and namespace URI. <ahref="#a1c5b2c32234daa32c7bc2049b80d567a"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Adds a node using its <code>namespaceURI</code> and <code>localName</code>. <ahref="#a659e7833aba836cc3f24c6b93e653b0c"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Removes a node specified by local name and namespace URI. <ahref="#a908b939cd8cf54d649c478ed6720db73"></a><br/></td></tr>
<divclass="textblock"><p><code><aclass="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><aclass="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><aclass="el"href="classxercesc_1_1DOMNodeList.html"title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes.">DOMNodeList</a></code>; <code><aclass="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><aclass="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>
<dlclass="return"><dt><b>Returns:</b></dt><dd>A <code><aclass="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>
<dlclass="return"><dt><b>Returns:</b></dt><dd>A <code><aclass="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>
<dlclass="return"><dt><b>Returns:</b></dt><dd>The node at the <code>index</code>th position in the <code><aclass="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>
<p>If the removed node is an <code><aclass="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>
<tr><tdclass="paramname"><aclass="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><aclass="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>
<tr><tdclass="paramname">namespaceURI</td><td>The <em>namespace URI</em> of the node to remove. </td></tr>
<tr><tdclass="paramname">localName</td><td>The <em>local name</em> of the node to remove. When this <code><aclass="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><aclass="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>
<tr><tdclass="paramname"><aclass="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><aclass="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>
<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>
<tr><tdclass="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>
<dlclass="return"><dt><b>Returns:</b></dt><dd>If the new <code><aclass="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><aclass="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>
<tr><tdclass="paramname"><aclass="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><aclass="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><aclass="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><aclass="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><aclass="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><aclass="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>
<tr><tdclass="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>
<dlclass="return"><dt><b>Returns:</b></dt><dd>If the new <code><aclass="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><aclass="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>
<tr><tdclass="paramname"><aclass="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><aclass="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><aclass="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><aclass="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><aclass="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><aclass="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>