XSLTFunction
public abstract class XPathFunction
extends java.lang.Object
Constructor | Description |
---|---|
XPathFunction() |
Modifier and Type | Method | Description |
---|---|---|
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 java.lang.String |
getFunctionName() |
Returns the name of this function.
|
abstract java.lang.String |
getNamespaceURI() |
Returns the namespace URI of this function.
|
public abstract XPathResult call(XPathContext context, XPathResult[] args) throws XPathException
context
- The XPath contextparams
- A list of zero or more argumentsXPathException
- if an error occured while invoking this functionpublic XPathResult call(XPathContext context, XPathResult[] args, FunctionState state) throws XPathException
context
- The XPath contextparams
- A list of zero or more argumentsstate
- the FunctionState for obtaining additional
information about the Function call, such as the actual
parameter expressions.XPathException
- if an error occured while invoking this functionpublic abstract java.lang.String getNamespaceURI()
public abstract java.lang.String getFunctionName()