Class ConstructorFunction
java.lang.Object
org.apache.commons.jxpath.functions.ConstructorFunction
- All Implemented Interfaces:
Function
An extension function that creates an instance using a constructor.
- Version:
- $Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructorFunction
(Constructor constructor) Create a new ConstructorFunction. -
Method Summary
Modifier and TypeMethodDescriptioninvoke
(ExpressionContext context, Object[] parameters) Converts parameters to suitable types and invokes the constructor.
-
Field Details
-
EMPTY_ARRAY
-
constructor
-
-
Constructor Details
-
ConstructorFunction
Create a new ConstructorFunction.- Parameters:
constructor
- the constructor to call.
-
-
Method Details