Class ConstructorFunction
- java.lang.Object
-
- org.apache.commons.jxpath.functions.ConstructorFunction
-
-
Constructor Summary
Constructors Constructor Description ConstructorFunction(Constructor constructor)
Create a new ConstructorFunction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
invoke(ExpressionContext context, Object[] parameters)
Converts parameters to suitable types and invokes the constructor.
-
-
-
Constructor Detail
-
ConstructorFunction
public ConstructorFunction(Constructor constructor)
Create a new ConstructorFunction.- Parameters:
constructor
- the constructor to call.
-
-
Method Detail
-
invoke
public Object invoke(ExpressionContext context, Object[] parameters)
Converts parameters to suitable types and invokes the constructor.
-
-