public class ExtensionFunctionCall extends XSLTFunction
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
FUNCTION_NOT_DEFINED |
INVALID_NUMBER_PARAMS, XSLT_NAMESPACE
Constructor | Description |
---|---|
ExtensionFunctionCall(java.lang.String name,
ProcessorState ps) |
Creates a new ExtensionFunctionCall
|
Modifier and Type | Method | Description |
---|---|---|
XPathResult |
call(XPathContext context,
XPathResult[] args) |
Invokes the function and returns the XPath result.
|
java.lang.String |
getNameSpace() |
Returns the namespace that this function call is in
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
call
getFunctionName, getNamespaceURI
public static final java.lang.String FUNCTION_NOT_DEFINED
public ExtensionFunctionCall(java.lang.String name, ProcessorState ps)
public XPathResult call(XPathContext context, XPathResult[] args) throws XPathException
call
in class XSLTFunction
context
- The XPath contextparams
- A list of zero or more argumentsXPathException
- An error occured while invoking this functionpublic java.lang.String getNameSpace()