Xalan-C++ API Documentation

The Xalan-C++ XSL Transformer Version 1.0

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XNodeSet Class Reference

Class to hold XPath return types. More...

#include <XNodeSet.hpp>

Inheritance diagram for XNodeSet:

XObject XSpan Collaboration diagram for XNodeSet:

List of all members.

Public Types

Public Methods


Detailed Description

Class to hold XPath return types.


Member Typedef Documentation

typedef XPathExecutionContext::BorrowReturnMutableNodeRefList XNodeSet::BorrowReturnMutableNodeRefList


Constructor & Destructor Documentation

XNodeSet::XNodeSet ( BorrowReturnMutableNodeRefList & value)

Create an XNodeSet from a node list.

Parameters:
value   Pointer to source node list. The XNodeSet will adopt the pointer.

XNodeSet::XNodeSet ( const XNodeSet & source,
bool deepClone = false)

Create an XNodeSet from another.

Parameters:
source   object to copy
deepClone   true to copy all children on nodeset nodes

virtual XNodeSet::~XNodeSet () [virtual]


Member Function Documentation

virtual void XNodeSet::ProcessXObjectTypeCallback ( XObjectTypeCallback & theCallbackObject) const [virtual]

Process a callback request for preferred type information.

Parameters:
theCallbackObject   object to call back

Reimplemented from XObject.

virtual void XNodeSet::ProcessXObjectTypeCallback ( XObjectTypeCallback & theCallbackObject) [virtual]

Process a callback request for preferred type information.

Parameters:
theCallbackObject   object to call back

Reimplemented from XObject.

virtual bool XNodeSet::boolean () const [virtual]

Cast result object to a boolean.

Returns:
boolean value

Reimplemented from XObject.

virtual XNodeSet* XNodeSet::clone ( void * theAddress = 0) const [virtual]

Clone the instance.

Parameters:
If   theAddress is not null, the XObject will clone itself into that address.
Returns:
a clone of the instance.

Reimplemented from XObject.

Reimplemented in XSpan.

virtual XalanDOMString XNodeSet::getTypeString () const [virtual]

Given a request type, return the equivalent string.

For diagnostic purposes.

Returns:
string for type

Reimplemented from XObject.

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

Cast result object to a nodelist.

Returns:
node list

Reimplemented from XObject.

virtual double XNodeSet::num () const [virtual]

Cast result object to a number.

Returns:
numeric value

Reimplemented from XObject.

virtual const ResultTreeFragBase& XNodeSet::rtree ( XPathExecutionContext & executionContext) const [virtual]

Cast result object to a result tree fragment.

Parameters:
executionContext   the current execution context
Returns:
result tree fragment

Reimplemented from XObject.

virtual const XalanDOMString& XNodeSet::str () const [virtual]

Cast result object to a string.

Returns:
string value

Reimplemented from XObject.


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++ XSL Transformer Version 1.0
Copyright © 2000 The Apache Software Foundation. All Rights Reserved.