DOMNamedNodeMaps are used to represent collections of nodes that can be accessed by name.
More...
#include <DOMNamedNodeMap.hpp>
Public Member Functions | |
Destructor | |
| virtual | ~DOMNamedNodeMap () |
| Destructor. | |
Functions introduced in DOM Level 1 | |
| virtual DOMNode * | setNamedItem (DOMNode *arg)=0 |
Adds a node using its nodeName attribute. | |
| virtual DOMNode * | item (XMLSize_t index) const =0 |
Returns the indexth item in the map. | |
| virtual DOMNode * | getNamedItem (const XMLCh *name) const =0 |
| Retrieves a node specified by name. | |
| virtual XMLSize_t | getLength () const =0 |
| The number of nodes in the map. | |
| virtual DOMNode * | removeNamedItem (const XMLCh *name)=0 |
| Removes a node specified by name. | |
Functions introduced in DOM Level 2 | |
| virtual DOMNode * | getNamedItemNS (const XMLCh *namespaceURI, const XMLCh *localName) const =0 |
| Retrieves a node specified by local name and namespace URI. | |
| virtual DOMNode * | setNamedItemNS (DOMNode *arg)=0 |
Adds a node using its namespaceURI and localName. | |
| virtual DOMNode * | removeNamedItemNS (const XMLCh *namespaceURI, const XMLCh *localName)=0 |
| Removes a node specified by local name and namespace URI. | |
Protected Member Functions | |
Hidden constructors | |
| DOMNamedNodeMap () | |
DOMNamedNodeMaps are used to represent collections of nodes that can be accessed by name.
Note that DOMNamedNodeMap does not inherit from DOMNodeList; DOMNamedNodeMaps are not maintained in any particular order. Nodes contained in a DOMNamedNodeMap 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.
|
|
|
|
|
Destructor.
|
|
|
The number of nodes in the map.
The range of valid child node indices is 0 to
|
|
|
Retrieves a node specified by name.
|
|
||||||||||||
|
Retrieves a node specified by local name and namespace URI.
|
|
|
Returns the
If
|
|
|
Removes a node specified by name.
If the removed node is an
|
|
||||||||||||
|
Removes a node specified by local name and namespace URI.
|
|
|
Adds a node using its
|
|
|
Adds a node using its
|
1.3.9.1