Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.4

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

FunctionFormatNumber Class Reference

#include <FunctionFormatNumber.hpp>

Inheritance diagram for FunctionFormatNumber:

Function FunctionICUFormatNumber Collaboration diagram for FunctionFormatNumber:

List of all members.

Public Methods

Static Public Methods

Protected Methods


Detailed Description


Constructor & Destructor Documentation

FunctionFormatNumber::FunctionFormatNumber ()

virtual FunctionFormatNumber::~FunctionFormatNumber () [virtual]


Member Function Documentation

virtual FunctionFormatNumber* FunctionFormatNumber::clone () const [virtual]

Create a copy of the function object.

Returns:
pointer to the new object

Reimplemented from Function.

Reimplemented in FunctionICUFormatNumber.

virtual void FunctionFormatNumber::doFormat ( XPathExecutionContext & executionContext,
XalanNode * context,
double theNumber,
const XalanDOMString & thePattern,
const XalanDecimalFormatSymbols * theDFS,
XalanDOMString & theResult,
const Locator * locator,
bool fWarn = true) const [protected, virtual]

Reimplemented in FunctionICUFormatNumber.

virtual XObjectPtr FunctionFormatNumber::execute ( XPathExecutionContext & executionContext,
XalanNode * context,
const XObjectPtr arg1,
const XObjectPtr arg2,
const XObjectPtr arg3,
const Locator * locator) const [virtual]

Execute an XPath function object.

The function must return a valid object. Called if function has three parameters.

Parameters:
executionContext   executing context
context   current context node
arg1   pointer to XObject arguments
arg2   pointer to XObject argument
arg3   pointer to XObject argument
locator   Locator for the XPath expression that contains the function call
Returns:
pointer to the result XObject

Reimplemented from Function.

virtual XObjectPtr FunctionFormatNumber::execute ( XPathExecutionContext & executionContext,
XalanNode * context,
const XObjectPtr arg1,
const XObjectPtr arg2,
const Locator * locator) const [virtual]

Execute an XPath function object.

The function must return a valid object. Called if function has two parameters.

Parameters:
executionContext   executing context
context   current context node
arg1   pointer to XObject argument
arg2   pointer to XObject argument
locator   Locator for the XPath expression that contains the function call
Returns:
pointer to the result XObject

Reimplemented from Function.

void FunctionFormatNumber::initialize () [static]

Perform static initialization.

See class XSLTInit.

void FunctionFormatNumber::terminate () [static]

Perform static shut down.

See class XSLTInit.


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.4
Copyright © 2000, 2001, 2002 The Apache Software Foundation. All Rights Reserved.