public interface Function
NOTE: This class is not typically used directly, but is exposed for writers of extended XPath packages.
Implementations of Function are functors
which are used to evaluate a function-call within an
XPath expression.
FunctionContextObject call(Context context, List args) throws FunctionCallException
context - the context at the point in the
expression when the function is calledargs - arguments provided to the functionList
(node-set), Double, Boolean, or
StringFunctionCallException - if an XPath error occurs during evaluation;
for instance, if the number or type of the arguments is incorrectCopyright © 2001-2012 Codehaus. All Rights Reserved.