|
|||||||||
| 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)
|
|
| 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 Functioncontext - can be used to acquire the context in which the
function is being evaluted.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||