XPath implementation of "node-set" function. More...
#include <FunctionNodeSet.hpp>
Inherits Function.
Inherited by XalanEXSLTFunctionNodeSet.
XPath implementation of "node-set" function.
Definition at line 44 of file FunctionNodeSet.hpp.
typedef Function FunctionNodeSet::ParentType |
Definition at line 48 of file FunctionNodeSet.hpp.
FunctionNodeSet::FunctionNodeSet | ( | bool | convertString = true |
) |
Constructor.
convertString | If true, strings as well as result tree fragments will be converted to nodesets. |
virtual FunctionNodeSet::~FunctionNodeSet | ( | ) | [virtual] |
virtual FunctionNodeSet* FunctionNodeSet::clone | ( | MemoryManager & | theManager | ) | const [virtual] |
Create a copy of the function object.
Implements Function.
Reimplemented in XalanEXSLTFunctionNodeSet.
virtual XObjectPtr FunctionNodeSet::execute | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | context, | |||
const XObjectArgVectorType & | args, | |||
const Locator * | 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.
executionContext | executing context | |
context | current context node | |
args | vector of pointers to XObject arguments | |
locator | Locator instance for the XPath expression that contains the function call |
Reimplemented from Function.
virtual const XalanDOMString& FunctionNodeSet::getError | ( | XalanDOMString & | theBuffer | ) | const [protected, virtual] |
Get the error message to report when the function is called with the wrong number of arguments.
theBuffer | The XalanDOMString for the message. |
Implements Function.
Reimplemented in XalanEXSLTFunctionNodeSet.
virtual const XalanDOMString& FunctionNodeSet::getInvalidArgumentTypeError | ( | XalanDOMString & | theResult | ) | const [protected, virtual] |
Reimplemented in XalanEXSLTFunctionNodeSet.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|