org.exolab.adaptx.xpath
public abstract class XPathFunction extends Object
Method Summary | |
---|---|
abstract XPathResult | call(XPathContext context, XPathResult[] args)
Invokes the function and returns the XPath result.
|
XPathResult | call(XPathContext context, XPathResult[] args, FunctionState state)
Invokes the function and returns the XPath result.
|
abstract String | getFunctionName()
Returns the name of this function.
|
abstract String | getNamespaceURI()
Returns the namespace URI of this function.
|
Parameters: context The XPath context params A list of zero or more arguments
Returns: An XPath result (not null)
Throws: XPathException if an error occured while invoking this function
Parameters: context The XPath context params A list of zero or more arguments state the FunctionState for obtaining additional information about the Function call, such as the actual parameter expressions.
Returns: An XPath result (not null)
Throws: XPathException if an error occured while invoking this function
Returns: The name of this function
Returns: The namespace URI of this function