|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.jxpath.functions.ConstructorFunction
An extension function that creates an instance using a constructor.
Constructor Summary | |
ConstructorFunction(java.lang.reflect.Constructor constructor)
|
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)
Method Detail |
public java.lang.Object invoke(ExpressionContext context, java.lang.Object[] parameters)
invoke
in interface Function
org.apache.commons.jxpath.Function
context
- can be used to acquire the context in which the
function is being evaluted.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |