Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions

XNodeSet Class Reference

Class to hold XPath return types. More...

#include <XNodeSet.hpp>

Inherits XNodeSetBase.

Collaboration diagram for XNodeSet:
Collaboration graph
[legend]

List of all members.

Public Types

Public Member Functions


Detailed Description

Class to hold XPath return types.

Definition at line 44 of file XNodeSet.hpp.


Member Typedef Documentation

Definition at line 48 of file XNodeSet.hpp.


Constructor & Destructor Documentation

XNodeSet::XNodeSet ( BorrowReturnMutableNodeRefList value,
MemoryManager &  theMemoryManager 
)

Create an XNodeSet from a node list.

Parameters:
value Pointer to source node list. The XNodeSet will adopt the pointer.
theMemoryManager The MemoryManager for the instance.
XNodeSet::XNodeSet ( const XNodeSet source,
MemoryManager &  theMemoryManager 
)

Create an XNodeSet from another.

Parameters:
source object to copy
theMemoryManager The MemoryManager for the instance.
virtual XNodeSet::~XNodeSet (  )  [virtual]

Member Function Documentation

virtual size_type XNodeSet::getLength (  )  const [virtual]

Implements XNodeSetBase.

virtual XalanNode* XNodeSet::item ( size_type  index  )  const [virtual]

Implements XNodeSetBase.

virtual const NodeRefListBase& XNodeSet::nodeset (  )  const [virtual]

Cast result object to a nodelist.

This function does not have access to the current XPathExecutionContext, so the result may contain data from whitespace text nodes that might have been stripped otherwise.

Parameters:
executionContext The current XPathExecutionContext
Returns:
node list

Implements XNodeSetBase.

void XNodeSet::release (  ) 

Release the node set held by the instance.

void XNodeSet::set ( BorrowReturnMutableNodeRefList value  ) 

Change the value of an XNodeSet.

Parameters:
theValue The new value.

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