|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Function
Interface for the extensible function framework.
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.
FunctionContext
Method Summary | |
---|---|
java.lang.Object |
call(Context context,
java.util.List args)
Evaluate this function. |
Method Detail |
---|
java.lang.Object call(Context context, java.util.List args) throws FunctionCallException
context
- the context at the point in the
expression when the function is calledargs
- arguments provided to the function
List
(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 incorrect
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |