Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.9

Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

FunctionLang Class Reference

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

Inheritance diagram for FunctionLang:

Inheritance graph
[legend]
Collaboration diagram for FunctionLang:

Collaboration graph
[legend]
List of all members.

Public Types

Public Member Functions

Static Public Member Functions

Protected Member Functions


Detailed Description

XPath implementation of "lang" function.


Member Typedef Documentation

typedef Function FunctionLang::ParentType
 


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  arg1,
const LocatorType locator
const [virtual]
 

Execute an XPath function object.

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

Parameters:
executionContext executing context
context current context node
arg pointer to XObject argument
locator LocatorType 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 theResult  )  const [protected, virtual]
 

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

Returns:
function error message

Implements Function.

void FunctionLang::initialize MemoryManagerType theManager  )  [static]
 

Perform static initialization.

See class XPathInit.

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.

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