|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Function
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 |
---|
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.parameters
- function arguments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |