org.exolab.adaptx.xslt.functions

Class ExtensionFunctionCall


public class ExtensionFunctionCall
extends XSLTFunction

A class for representing extension function calls
Version:
$Revision: 3633 $ $Date: 2003-03-01 08:38:44 +0100 (Sat, 01 Mar 2003) $
Author:
Keith Visco

Field Summary

static String
FUNCTION_NOT_DEFINED

Fields inherited from class org.exolab.adaptx.xslt.XSLTFunction

INVALID_NUMBER_PARAMS, XSLT_NAMESPACE

Constructor Summary

ExtensionFunctionCall(String name, ProcessorState ps)
Creates a new ExtensionFunctionCall

Method Summary

XPathResult
call(XPathContext context, XPathResult[] args)
Invokes the function and returns the XPath result.
String
getNameSpace()
Returns the namespace that this function call is in

Methods inherited from class org.exolab.adaptx.xslt.XSLTFunction

call, getFunctionName, getNamespaceURI

Methods inherited from class org.exolab.adaptx.xpath.XPathFunction

call, call, getFunctionName, getNamespaceURI

Field Details

FUNCTION_NOT_DEFINED

public static final String FUNCTION_NOT_DEFINED

Constructor Details

ExtensionFunctionCall

public ExtensionFunctionCall(String name,
                             ProcessorState ps)
Creates a new ExtensionFunctionCall

Method Details

call

public XPathResult call(XPathContext context,
                        XPathResult[] args)
            throws XPathException
Invokes the function and returns the XPath result.
Overrides:
call in interface XSLTFunction
Parameters:
context - The XPath context
Returns:
An XPath result (not null)
Throws:
XPathException - An error occured while invoking this function

getNameSpace

public String getNameSpace()
Returns the namespace that this function call is in