Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Member Functions | Protected Member Functions

XalanNamedNodeMap Class Reference

#include <XalanNamedNodeMap.hpp>

Inherited by XalanEmptyNamedNodeMap, XalanSourceTreeElementA [private], XercesNamedNodeMapBridge, and XercesNamedNodeMapWrapper.

List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

Definition at line 36 of file XalanNamedNodeMap.hpp.


Constructor & Destructor Documentation

XalanNamedNodeMap::XalanNamedNodeMap (  ) 
virtual XalanNamedNodeMap::~XalanNamedNodeMap (  )  [virtual]
XalanNamedNodeMap::XalanNamedNodeMap ( const XalanNamedNodeMap &  theSource  )  [protected]

Member Function Documentation

virtual XalanSize_t XalanNamedNodeMap::getLength (  )  const [pure virtual]

The number of nodes in the map.

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

Implemented in XalanEmptyNamedNodeMap, XercesNamedNodeMapWrapper, and XercesNamedNodeMapBridge.

virtual XalanNode* XalanNamedNodeMap::getNamedItem ( const XalanDOMString &  name  )  const [pure virtual]

Retrieves a node specified by name.

Parameters:
name The 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.

Implemented in XalanEmptyNamedNodeMap, XercesNamedNodeMapWrapper, and XercesNamedNodeMapBridge.

virtual XalanNode* XalanNamedNodeMap::getNamedItemNS ( const XalanDOMString &  namespaceURI,
const XalanDOMString &  localName 
) const [pure virtual]

Retrieves a node specified by local name and namespace URI.

Parameters:
namespaceURI The namespace URI of the node to retrieve.
localName The 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.

Implemented in XalanEmptyNamedNodeMap, XercesNamedNodeMapWrapper, and XercesNamedNodeMapBridge.

virtual XalanNode* XalanNamedNodeMap::item ( XalanSize_t  index  )  const [pure 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:
index Index into the map.
Returns:
The node at the indexth position in the NamedNodeMap, or null if that is not a valid index.

Implemented in XalanEmptyNamedNodeMap, and XercesNamedNodeMapWrapper.

XalanNamedNodeMap& XalanNamedNodeMap::operator= ( const XalanNamedNodeMap &  theSource  )  [protected]
bool XalanNamedNodeMap::operator== ( const XalanNamedNodeMap &  theRHS  )  const [protected]

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

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo