#include <NamedNodeMap.h>
Inheritance diagram for org::w3c::dom::NamedNodeMap:
NamedNodeMap
interface are used to represent collections of nodes that can be accessed by name.
Note that NamedNodeMap
does not inherit from NodeList
; NamedNodeMaps
are not maintained in any particular order. Objects contained in an object implementing NamedNodeMap
may also be accessed by an ordinal index, but this is simply to allow convenient enumeration of the contents of a NamedNodeMap
, and does not imply that the DOM specifies an order to these Nodes.
NamedNodeMap
objects in the DOM are live.
See also the Document acdk::lang::Object Model (DOM) Level 3 Core Specification.
Public Member Functions | |
virtual RNode | getNamedItem (IN(acdk::lang::RString) name)=0 |
Retrieves a node specified by name. | |
virtual RNode | setNamedItem (IN(RNode) arg)=0 throw ( RDOMException ) |
Adds a node using its nodeName attribute. | |
virtual RNode | removeNamedItem (IN(acdk::lang::RString) name)=0 throw ( RDOMException ) |
Removes a node specified by name. | |
virtual RNode | item (int index)=0 |
Returns the index th item in the map. | |
virtual int | getLength ()=0 |
The number of nodes in this map. |
|
The number of nodes in this map.
The range of valid child node indices is Implemented in acdk::xml::dom::XMLNamedNodeMap, and acdk::xml::libxmldom::LibXMLNamedNodeMap. |
|
Retrieves a node specified by name.
Implemented in acdk::xml::dom::XMLNamedNodeMap. |
|
Returns the
If
Implemented in acdk::xml::dom::XMLNamedNodeMap, and acdk::xml::libxmldom::LibXMLNamedNodeMap. |
|
Removes a node specified by name. When this map contains the attributes attached to an element, 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 when applicable.
|
|
Adds a node using its
If a node with that name is already present in this map, it is replaced by the new one. Replacing a node by itself has no effect.
Implemented in acdk::xml::dom::XMLNamedNodeMap. |