Xalan-C++ API Reference  1.12.0
Public Member Functions | List of all members
xalanc::XalanEmptyNamedNodeMap Class Reference

#include <xalanc/XalanDOM/XalanEmptyNamedNodeMap.hpp>

Inheritance diagram for xalanc::XalanEmptyNamedNodeMap:
[legend]
Collaboration diagram for xalanc::XalanEmptyNamedNodeMap:
[legend]

Public Member Functions

 XalanEmptyNamedNodeMap ()
 
virtual ~XalanEmptyNamedNodeMap ()
 
 XalanEmptyNamedNodeMap (const XalanEmptyNamedNodeMap &theSource)
 
XalanEmptyNamedNodeMapoperator= (const XalanEmptyNamedNodeMap &theSource)
 
bool operator== (const XalanEmptyNamedNodeMap &theRHS) const
 
virtual XalanNodeitem (XalanSize_t index) const
 Returns the indexth item in the map. More...
 
virtual XalanNodegetNamedItem (const XalanDOMString &name) const
 Retrieves a node specified by name. More...
 
virtual XalanSize_t getLength () const
 The number of nodes in the map. More...
 
virtual XalanNodegetNamedItemNS (const XalanDOMString &namespaceURI, const XalanDOMString &localName) const
 Retrieves a node specified by local name and namespace URI. More...
 
- Public Member Functions inherited from xalanc::XalanNamedNodeMap
 XalanNamedNodeMap ()
 
virtual ~XalanNamedNodeMap ()
 

Additional Inherited Members

- Protected Member Functions inherited from xalanc::XalanNamedNodeMap
 XalanNamedNodeMap (const XalanNamedNodeMap &theSource)
 
XalanNamedNodeMapoperator= (const XalanNamedNodeMap &theSource)
 
bool operator== (const XalanNamedNodeMap &theRHS) const
 

Detailed Description

Definition at line 31 of file XalanEmptyNamedNodeMap.hpp.

Constructor & Destructor Documentation

◆ XalanEmptyNamedNodeMap() [1/2]

xalanc::XalanEmptyNamedNodeMap::XalanEmptyNamedNodeMap ( )

◆ ~XalanEmptyNamedNodeMap()

virtual xalanc::XalanEmptyNamedNodeMap::~XalanEmptyNamedNodeMap ( )
virtual

◆ XalanEmptyNamedNodeMap() [2/2]

xalanc::XalanEmptyNamedNodeMap::XalanEmptyNamedNodeMap ( const XalanEmptyNamedNodeMap theSource)

Member Function Documentation

◆ getLength()

virtual XalanSize_t xalanc::XalanEmptyNamedNodeMap::getLength ( ) const
virtual

The number of nodes in the map.

The range of valid child node indices is 0 to length-1 inclusive.

Implements xalanc::XalanNamedNodeMap.

◆ getNamedItem()

virtual XalanNode* xalanc::XalanEmptyNamedNodeMap::getNamedItem ( const XalanDOMString name) const
virtual

Retrieves a node specified by name.

Parameters
nameThe nodeName of a node to retrieve.
Returns
A Node (of any type) with the specified nodeName, or null if it does not identify any node in the map.

Implements xalanc::XalanNamedNodeMap.

◆ getNamedItemNS()

virtual XalanNode* xalanc::XalanEmptyNamedNodeMap::getNamedItemNS ( const XalanDOMString namespaceURI,
const XalanDOMString localName 
) const
virtual

Retrieves a node specified by local name and namespace URI.

Parameters
namespaceURIThe namespace URI of the node to retrieve.
localNameThe local name of the node to retrieve.
Returns
A Node (of any type) with the specified local name and namespace URI, or null if they do not identify any node in the map.

Implements xalanc::XalanNamedNodeMap.

◆ item()

virtual XalanNode* xalanc::XalanEmptyNamedNodeMap::item ( XalanSize_t  index) const
virtual

Returns the indexth item in the map.

If index is greater than or equal to the number of nodes in the map, this returns null.

Parameters
indexIndex into the map.
Returns
The node at the indexth position in the NamedNodeMap, or null if that is not a valid index.

Implements xalanc::XalanNamedNodeMap.

◆ operator=()

XalanEmptyNamedNodeMap& xalanc::XalanEmptyNamedNodeMap::operator= ( const XalanEmptyNamedNodeMap theSource)

◆ operator==()

bool xalanc::XalanEmptyNamedNodeMap::operator== ( const XalanEmptyNamedNodeMap theRHS) const

The documentation for this class was generated from the following file: