|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jxpath.functions.MethodFunction
public class MethodFunction
An XPath extension function implemented as an individual Java method.
Constructor Summary | |
---|---|
MethodFunction(java.lang.reflect.Method method)
Create a new MethodFunction. |
Method Summary | |
---|---|
java.lang.Object |
invoke(ExpressionContext context,
java.lang.Object[] parameters)
Computes the value of the function. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MethodFunction(java.lang.reflect.Method method)
method
- implementing MethodMethod Detail |
---|
public java.lang.Object invoke(ExpressionContext context, java.lang.Object[] parameters)
Function
invoke
in interface Function
context
- can be used to acquire the context in which the
function is being evaluted.parameters
- function arguments
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |