Constructor and Description |
---|
EvaluateFunction() |
Modifier and Type | Method and Description |
---|---|
Object |
call(Context context,
List args)
Evaluate this function.
|
static List |
evaluate(Context context,
Object arg) |
public Object call(Context context, 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 List evaluate(Context context, Object arg) throws FunctionCallException
FunctionCallException
Copyright 2001–2022 The Jaxen Project. All rights reserved.