|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.jxpath.functions.ConstructorFunction
public class ConstructorFunction
An extension function that creates an instance using a constructor.
| Constructor Summary | |
|---|---|
ConstructorFunction(java.lang.reflect.Constructor constructor)
Create a new ConstructorFunction. |
|
| Method Summary | |
|---|---|
java.lang.Object |
invoke(ExpressionContext context,
java.lang.Object[] parameters)
Converts parameters to suitable types and invokes the constructor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConstructorFunction(java.lang.reflect.Constructor constructor)
constructor - the constructor to call.| Method Detail |
|---|
public java.lang.Object invoke(ExpressionContext context,
java.lang.Object[] parameters)
invoke in interface Functioncontext - evaluation contextparameters - constructor args
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||