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_ARRAYprivate java.lang.reflect.Methodmethod
-
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.Objectinvoke(ExpressionContext context, java.lang.Object[] parameters)Computes the value of the function.java.lang.StringtoString()
-
-
-
Method Detail
-
invoke
public java.lang.Object invoke(ExpressionContext context, java.lang.Object[] parameters)
Description copied from interface:FunctionComputes 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:
toStringin classjava.lang.Object
-
-