Class MethodFunction
- java.lang.Object
-
- org.apache.commons.jxpath.functions.MethodFunction
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.Object[]
EMPTY_ARRAY
private java.lang.reflect.Method
method
-
Constructor Summary
Constructors Constructor Description MethodFunction(java.lang.reflect.Method method)
Create a new MethodFunction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
invoke(ExpressionContext context, java.lang.Object[] parameters)
Computes the value of the function.java.lang.String
toString()
-
-
-
Method Detail
-
invoke
public java.lang.Object invoke(ExpressionContext context, java.lang.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.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-