Constructor and Description |
---|
DocumentFunction() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
call(Context context,
java.util.List args)
Evaluate this function.
|
static java.lang.Object |
evaluate(java.lang.String url,
Navigator nav) |
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.lang.Object evaluate(java.lang.String url, Navigator nav) throws FunctionCallException
FunctionCallException