Xalan-C++ API Reference  1.12.0
Public Types | Public Member Functions | Protected Member Functions | List of all members
xalanc::XalanEXSLTFunctionLeading Class Reference

#include <xalanc/XalanEXSLT/XalanEXSLTSetImpl.hpp>

Inheritance diagram for xalanc::XalanEXSLTFunctionLeading:
[legend]
Collaboration diagram for xalanc::XalanEXSLTFunctionLeading:
[legend]

Public Types

typedef Function ParentType
 
- Public Types inherited from xalanc::Function
typedef xercesc::Locator LocatorType
 
typedef XPathExecutionContext::XObjectArgVectorType XObjectArgVectorType
 
typedef XPathExecutionContext::GetCachedString GetCachedString
 
typedef XPathExecutionContext::GetCachedNodeList GetCachedNodeList
 

Public Member Functions

 XalanEXSLTFunctionLeading ()
 
virtual ~XalanEXSLTFunctionLeading ()
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XalanEXSLTFunctionLeadingclone (MemoryManager &theManager) const
 Create a copy of the function object. More...
 
- Public Member Functions inherited from xalanc::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 &theBuffer) const
 Get the error message to report when the function is called with the wrong number of arguments. More...
 
- Protected Member Functions inherited from xalanc::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 233 of file XalanEXSLTSetImpl.hpp.

Member Typedef Documentation

Definition at line 237 of file XalanEXSLTSetImpl.hpp.

Constructor & Destructor Documentation

xalanc::XalanEXSLTFunctionLeading::XalanEXSLTFunctionLeading ( )
inline

Definition at line 239 of file XalanEXSLTSetImpl.hpp.

virtual xalanc::XalanEXSLTFunctionLeading::~XalanEXSLTFunctionLeading ( )
inlinevirtual

Definition at line 245 of file XalanEXSLTSetImpl.hpp.

Member Function Documentation

virtual XalanEXSLTFunctionLeading* xalanc::XalanEXSLTFunctionLeading::clone ( MemoryManager &  theManager) const
inlinevirtual

Create a copy of the function object.

Returns
pointer to the new object

Implements xalanc::Function.

Definition at line 261 of file XalanEXSLTSetImpl.hpp.

References xalanc::XalanCopyConstruct().

virtual XObjectPtr xalanc::XalanEXSLTFunctionLeading::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 xalanc::Function.

virtual const XalanDOMString& xalanc::XalanEXSLTFunctionLeading::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

Implements xalanc::Function.

Definition at line 269 of file XalanEXSLTSetImpl.hpp.


The documentation for this class was generated from the following file: