Class MethodFunction
- java.lang.Object
-
- org.apache.commons.jxpath.functions.MethodFunction
-
-
Constructor Summary
Constructors Constructor Description MethodFunction(Method method)
Create a new MethodFunction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
invoke(ExpressionContext context, Object[] parameters)
Computes the value of the function.String
toString()
-
-
-
Constructor Detail
-
MethodFunction
public MethodFunction(Method method)
Create a new MethodFunction.- Parameters:
method
- implementing Method
-
-
Method Detail
-
invoke
public Object invoke(ExpressionContext context, Object[] parameters)
Description copied from interface:Function
Computes the value of the function. Each implementation of Function is responsible for conversion of supplied parameters to the required argument types.
-
-