|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extension function interface. Extension functions are grouped into
Functions
objects, which are installed on
JXPathContexts using the
JXPathContext.setFunctions()
call.
The Function interface can be implemented directly. However,
most of the time JXPath's built-in implementations should suffice.
See ClassFunctions
and
PackageFunctions
.
Method Summary | |
java.lang.Object |
invoke(ExpressionContext context,
java.lang.Object[] parameters)
Computes the value of the function. |
Method Detail |
public java.lang.Object invoke(ExpressionContext context, java.lang.Object[] parameters)
context
- can be used to acquire the context in which the
function is being evaluted.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |