Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.6

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

FunctionNodeSet Class Reference

XPath implementation of "node-set" function. More...

#include <FunctionNodeSet.hpp>

Inheritance diagram for FunctionNodeSet

Collaboration diagram for FunctionNodeSet:

List of all members.

Public Types

Public Methods

Protected Methods


Detailed Description

XPath implementation of "node-set" function.


Member Typedef Documentation

typedef Function FunctionNodeSet::ParentType


Constructor & Destructor Documentation

FunctionNodeSet::FunctionNodeSet ( bool convertString = true )

Constructor.

Parameters:
convertString   If true, strings as well as result tree fragments will be converted to nodesets.

virtual FunctionNodeSet::~FunctionNodeSet ( ) [virtual]


Member Function Documentation

virtual FunctionNodeSet* FunctionNodeSet::clone ( ) const [virtual]

Create a copy of the function object.

Returns:
pointer to the new object

Reimplemented from Function.

Reimplemented in XalanEXSLTFunctionNodeSet.

virtual XObjectPtr FunctionNodeSet::execute ( XPathExecutionContext & executionContext,
XalanNode * context,
const XObjectArgVectorType & args,
const LocatorType * locator ) const [virtual]

Execute an XPath function object.

The function must return a valid object. Extension functions should override this version of execute(), rather than one of the other calls designed for a specific number of arguments, since the extension function mechanism will call this version first. Extension functions that accept more than three arguments _must_ override this version.

Parameters:
executionContext   executing context
context   current context node
args   vector of pointers to XObject arguments
locator   LocatorType instance for the XPath expression that contains the function call
Returns:
pointer to the result XObject

Reimplemented from Function.

virtual const XalanDOMString FunctionNodeSet::getError ( ) const [protected, virtual]

Get the error message to report when the function is called with the wrong number of arguments.

Returns:
function error message

Reimplemented from Function.

Reimplemented in XalanEXSLTFunctionNodeSet.

virtual const XalanDOMString FunctionNodeSet::getInvalidArgumentTypeError ( ) const [protected, virtual]

Reimplemented in XalanEXSLTFunctionNodeSet.


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.6
Copyright © 2000, 2001, 2002, 2003 The Apache Software Foundation. All Rights Reserved.