org.exolab.adaptx.xpath
Class XPathFunction
java.lang.Object
org.exolab.adaptx.xpath.XPathFunction
public abstract class XPathFunction
extends java.lang.Object
Abstract class representing an XPath function.
call
public XPathResult call(XPathContext context,
XPathResult[] args,
FunctionState state)
throws XPathException
Invokes the function and returns the XPath result.
context
- The XPath contextstate
- the FunctionState for obtaining additional
information about the Function call, such as the actual
parameter expressions.
- An XPath result (not null)
getFunctionName
public abstract String getFunctionName()
Returns the name of this function.
- The name of this function
getNamespaceURI
public abstract String getNamespaceURI()
Returns the namespace URI of this function.
- The namespace URI of this function