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 02:38:44 -0500 (Sat, 01 Mar 2003) $

Author: Keith Visco

Field Summary
static StringFUNCTION_NOT_DEFINED
Constructor Summary
ExtensionFunctionCall(String name, ProcessorState ps)
Creates a new ExtensionFunctionCall
Method Summary
XPathResultcall(XPathContext context, XPathResult[] args)
Invokes the function and returns the XPath result.
StringgetNameSpace()
Returns the namespace that this function call is in

Field Detail

FUNCTION_NOT_DEFINED

public static final String FUNCTION_NOT_DEFINED

Constructor Detail

ExtensionFunctionCall

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

Method Detail

call

public XPathResult call(XPathContext context, XPathResult[] args)
Invokes the function and returns the XPath result.

Parameters: context The XPath context params A list of zero or more arguments

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