Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

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

XPath implementation of "lang" function. More...

Inheritance diagram for FunctionLang:
Function

Public Types

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

Public Member Functions

 FunctionLang ()
virtual ~FunctionLang ()
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg1, const LocatorType *locator) const
 Execute an XPath function object.
virtual FunctionLangclone (MemoryManagerType &theManager) const
 Create a copy of the function object.
- Public Member Functions inherited from Function
 Function ()
virtual ~Function ()
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const LocatorType *locator) const
 Execute an XPath function object.
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const LocatorType *locator) const
 Execute an XPath function object.
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg1, const XObjectPtr arg2, const LocatorType *locator) const
 Execute an XPath function object.
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg1, const XObjectPtr arg2, const XObjectPtr arg3, const LocatorType *locator) const
 Execute an XPath function object.

Static Public Member Functions

static void initialize (MemoryManagerType &theManager)
 Perform static initialization.
static void terminate ()
 Perform static shut down.

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.

Detailed Description

XPath implementation of "lang" function.

Member Typedef Documentation

Constructor & Destructor Documentation

FunctionLang::FunctionLang ( )
virtual FunctionLang::~FunctionLang ( )
virtual

Member Function Documentation

virtual FunctionLang* FunctionLang::clone ( MemoryManagerType theManager) const
virtual

Create a copy of the function object.

Returns
pointer to the new object

Implements Function.

virtual XObjectPtr FunctionLang::execute ( XPathExecutionContext executionContext,
XalanNode context,
const XObjectPtr  arg,
const LocatorType locator 
) const
virtual

Execute an XPath function object.

The function must return a valid object. Called if function has one parameter.

Parameters
executionContextexecuting context
contextcurrent context node
argpointer to XObject argument
locatorLocatorType instance for the XPath expression that contains the function call
Returns
pointer to the result XObject

Reimplemented from Function.

virtual const XalanDOMString& FunctionLang::getError ( XalanDOMString theBuffer) const
protectedvirtual

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

Returns
function error message

Implements Function.

static void FunctionLang::initialize ( MemoryManagerType theManager)
static

Perform static initialization.

See class XPathInit.

static void FunctionLang::terminate ( )
static

Perform static shut down.

See class XPathInit.


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.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo