Unicorn XML Toolkit
Version 1.00.00

Namespace Xslt
Class CExtensionFunction

class CExtensionFunction: public CInterface {
public:
    CExtensionFunction();
    virtual ~CExtensionFunction();
public:
    virtual XValue Evaluate(
        const XExtensionContext &pExtensionContext,
        const XExprContext &pExprContext,
        const CArgumentList &argList) = 0;
    };

The abstract interface to extension functions.

For each extension function supported by the particular XSLT implementation, the separate derived class must be provided.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CExtensionContext, Xpath::CValue, Xpath::CArgumentList, Xpath::CContext
Constructor/Destructor Summary
CExtensionFunction ();
����������Constructs the extension function.
~CExtensionFunction ();
����������Destroys the extension function.

Function Summary
XValue Evaluate (const XExtensionContext &pExtensionContext, const XExprContext &pExprContext, const CArgumentList &argList);
����������Evaluates this extension function with the given extension context, the given XPath expression context, and the given list of arguments.

Constructor/Destructor Detail

CExtensionFunction

CExtensionFunction();

Constructs the extension function.

~CExtensionFunction

virtual ~CExtensionFunction();

Destroys the extension function.

Function Detail

Evaluate

virtual XValue Evaluate(
    const XExtensionContext &pExtensionContext,
    const XExprContext &pExprContext,
    const CArgumentList &argList) = 0;

Evaluates this extension function with the given extension context, the given XPath expression context, and the given list of arguments.

Parameters:
pExtensionContext - the extension context
pExprContext - the XPath expression context
argList - the list of arguments
Returns:
the value obtained as the result of evaluation

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

Copyright 1999-2001 Unicorn Enterprises SA.
All Rights Reserved.