Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | Protected Member Functions | List of all members
XalanEXSLTFunctionEvaluate Class Reference

#include <XalanEXSLTDynamicImpl.hpp>

Inherits FunctionEvaluate.

Public Types

typedef FunctionEvaluate ParentType
 
- Public Types inherited from FunctionEvaluate
typedef Function ParentType
 
- Public Types inherited from Function
typedef XERCES_CPP_NAMESPACE_QUALIFIER Locator LocatorType
 
typedef XPathExecutionContext::XObjectArgVectorType XObjectArgVectorType
 
typedef XPathExecutionContext::GetCachedString GetCachedString
 
typedef XPathExecutionContext::GetCachedNodeList GetCachedNodeList
 

Public Member Functions

 XalanEXSLTFunctionEvaluate ()
 
virtual ~XalanEXSLTFunctionEvaluate ()
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XalanEXSLTFunctionEvaluateclone (MemoryManager &theManager) const
 Create a copy of the function object. More...
 
- Public Member Functions inherited from FunctionEvaluate
 FunctionEvaluate ()
 
virtual ~FunctionEvaluate ()
 
- Public Member Functions inherited from Function
 Function ()
 
virtual ~Function ()
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg1, const XObjectPtr arg2, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg1, const XObjectPtr arg2, const XObjectPtr arg3, const Locator *locator) const
 Execute an XPath function object. More...
 

Protected Member Functions

virtual const XalanDOMStringgetError (XalanDOMString &theResult) const
 Get the error message to report when the function is called with the wrong number of arguments. More...
 
- Protected Member Functions inherited from Function
void generalError (XPathExecutionContext &executionContext, const XalanNode *context, const Locator *locator) const
 Report the error returned from the getError() call. More...
 

Detailed Description

Definition at line 43 of file XalanEXSLTDynamicImpl.hpp.

Member Typedef Documentation

◆ ParentType

Definition at line 47 of file XalanEXSLTDynamicImpl.hpp.

Constructor & Destructor Documentation

◆ XalanEXSLTFunctionEvaluate()

XalanEXSLTFunctionEvaluate::XalanEXSLTFunctionEvaluate ( )
inline

Definition at line 49 of file XalanEXSLTDynamicImpl.hpp.

◆ ~XalanEXSLTFunctionEvaluate()

virtual XalanEXSLTFunctionEvaluate::~XalanEXSLTFunctionEvaluate ( )
inlinevirtual

Definition at line 55 of file XalanEXSLTDynamicImpl.hpp.

Member Function Documentation

◆ clone()

virtual XalanEXSLTFunctionEvaluate* XalanEXSLTFunctionEvaluate::clone ( MemoryManager &  theManager) const
inlinevirtual

Create a copy of the function object.

Returns
pointer to the new object

Reimplemented from FunctionEvaluate.

Definition at line 73 of file XalanEXSLTDynamicImpl.hpp.

◆ execute()

virtual XObjectPtr XalanEXSLTFunctionEvaluate::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.

Parameters
executionContextexecuting context
contextcurrent context node
argsvector of pointers to XObject arguments
locatorLocator instance for the XPath expression that contains the function call
Returns
pointer to the result XObject

Reimplemented from FunctionEvaluate.

◆ getError()

virtual const XalanDOMString& XalanEXSLTFunctionEvaluate::getError ( XalanDOMString theBuffer) const
inlineprotectedvirtual

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

Parameters
theBufferThe XalanDOMString for the message.
Returns
The error message

Reimplemented from FunctionEvaluate.

Definition at line 81 of file XalanEXSLTDynamicImpl.hpp.


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