Xalan-C++ API Reference
1.12.0
|
#include <xalanc/XalanDOM/XalanNamedNodeMap.hpp>
Public Member Functions | |
XalanNamedNodeMap () | |
virtual | ~XalanNamedNodeMap () |
virtual XalanNode * | item (XalanSize_t index) const =0 |
Returns the index th item in the map. More... | |
virtual XalanNode * | getNamedItem (const XalanDOMString &name) const =0 |
Retrieves a node specified by name. More... | |
virtual XalanSize_t | getLength () const =0 |
The number of nodes in the map. More... | |
virtual XalanNode * | getNamedItemNS (const XalanDOMString &namespaceURI, const XalanDOMString &localName) const =0 |
Retrieves a node specified by local name and namespace URI. More... | |
Protected Member Functions | |
XalanNamedNodeMap (const XalanNamedNodeMap &theSource) | |
XalanNamedNodeMap & | operator= (const XalanNamedNodeMap &theSource) |
bool | operator== (const XalanNamedNodeMap &theRHS) const |
Definition at line 36 of file XalanNamedNodeMap.hpp.
xalanc::XalanNamedNodeMap::XalanNamedNodeMap | ( | ) |
|
virtual |
|
protected |
|
pure virtual |
The number of nodes in the map.
The range of valid child node indices is 0 to length-1
inclusive.
Implemented in xalanc::XercesNamedNodeMapBridge, xalanc::XercesNamedNodeMapWrapper, and xalanc::XalanEmptyNamedNodeMap.
|
pure virtual |
Retrieves a node specified by name.
name | The nodeName of a node to retrieve. |
Node
(of any type) with the specified nodeName
, or null
if it does not identify any node in the map. Implemented in xalanc::XercesNamedNodeMapBridge, xalanc::XercesNamedNodeMapWrapper, and xalanc::XalanEmptyNamedNodeMap.
|
pure virtual |
Retrieves a node specified by local name and namespace URI.
namespaceURI | The namespace URI of the node to retrieve. |
localName | The local name of the node to retrieve. |
Node
(of any type) with the specified local name and namespace URI, or null
if they do not identify any node in the map. Implemented in xalanc::XercesNamedNodeMapBridge, xalanc::XercesNamedNodeMapWrapper, and xalanc::XalanEmptyNamedNodeMap.
|
pure virtual |
Returns the index
th item in the map.
If index
is greater than or equal to the number of nodes in the map, this returns null
.
index | Index into the map. |
index
th position in the NamedNodeMap
, or null
if that is not a valid index. Implemented in xalanc::XercesNamedNodeMapWrapper, and xalanc::XalanEmptyNamedNodeMap.
|
protected |
|
protected |
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:36 for Xalan-C++ API Reference by 1.8.17