CurrentFunctionCall, DocumentFunctionCall, ExtensionFunctionCall, GenerateIDFunctionCall, RTF2NodeSetFunctionCall, SystemFunctionCallpublic abstract class XSLTFunction extends XPathFunction
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
INVALID_NUMBER_PARAMS |
|
static java.lang.String |
XSLT_NAMESPACE |
The current (and ever changing) XSLT namespace
|
| Constructor | Description |
|---|---|
XSLTFunction(java.lang.String name) |
Creates a new XSLTFunction with the given name.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract XPathResult |
call(XPathContext context,
XPathResult[] args) |
Invokes the function and returns the XPath result.
|
java.lang.String |
getFunctionName() |
Returns the name of this function.
|
java.lang.String |
getNamespaceURI() |
Returns the namespace URI of this function.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcallpublic static final java.lang.String XSLT_NAMESPACE
public static final java.lang.String INVALID_NUMBER_PARAMS
public XSLTFunction(java.lang.String name)
name - the function name.public abstract XPathResult call(XPathContext context, XPathResult[] args) throws XPathException
call in class XPathFunctioncontext - The XPath contextparams - A list of zero or more argumentsXPathException - An error occured while invoking this functionpublic java.lang.String getNamespaceURI()
getNamespaceURI in class XPathFunctionpublic java.lang.String getFunctionName()
getFunctionName in class XPathFunction