Constructor and Description |
---|
EvaluateFunction() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
call(Context context,
java.util.List args)
Evaluate this function.
|
static java.util.List |
evaluate(Context context,
java.lang.Object arg) |
public java.lang.Object call(Context context, java.util.List args) throws FunctionCallException
Function
call
in interface Function
context
- the context at the point in the
expression when the function is calledargs
- arguments provided to the functionList
(node-set), Double
, Boolean
, or
String
FunctionCallException
- if an XPath error occurs during evaluation;
for instance, if the number or type of the arguments is incorrectpublic static java.util.List evaluate(Context context, java.lang.Object arg) throws FunctionCallException
FunctionCallException