public class ExtensionFunctionCall extends FunctionCallImpl
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FUNCTION_NOT_DEFINED |
INVALID_NUMBER_PARAMS, INVALID_RESULTEXPR, FUNCTION_CALL, LITERAL, NUMBER, VARIABLE_REFERENCEBOOLEAN, ERROR, FILTER_EXPR, LOCATION_PATH, NODE_TEST, PATH_EXPR, PRIMARY, STEP, STRING, UNION_EXPR| Constructor and Description |
|---|
ExtensionFunctionCall(java.lang.String name)
Creates a new ExtensionFunctionCall for the
function with the given name
|
| Modifier and Type | Method and Description |
|---|---|
XPathResult |
evaluate(XPathContext context)
Evaluates the expression and returns the XPath result.
|
addParameter, getFunctionName, getParameter, getParameterCount, toStringgetExprType, getTypepublic static final java.lang.String FUNCTION_NOT_DEFINED
public ExtensionFunctionCall(java.lang.String name)
name - the name of the function to call
when the execute method is invoked.public XPathResult evaluate(XPathContext context) throws XPathException
context - The XPathContext to use during evaluation.XPathException - if an error occured while
evaluating this expression.