public class DocumentFunction extends Object implements Function
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 Object evaluate(String url, Navigator nav) throws FunctionCallException
FunctionCallException
Copyright © 2001-2015 Codehaus. All Rights Reserved.