org.apache.commons.jxpath.functions
Class MethodFunction
java.lang.Object
org.apache.commons.jxpath.functions.MethodFunction
- Function
public class MethodFunction
extends java.lang.Object
An XPath extension function implemented as an individual Java method.
$Revision: 1.11 $ $Date: 2004/02/29 14:17:44 $
MethodFunction
public MethodFunction(Method method)
invoke
public Object invoke(ExpressionContext context,
Object[] parameters)
Computes the value of the function. Each implementation of Function
is responsible for conversion of supplied parameters to the required
argument types.
- invoke in interface Function
context
- can be used to acquire the context in which the
function is being evaluted.
toString
public String toString()