|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kemet.impl.grammar.toolbox.ReflexionToolBox
public class ReflexionToolBox
Toolbox for reflexion.
Constructor Summary | |
---|---|
ReflexionToolBox()
|
Method Summary | |
---|---|
static java.util.ArrayList |
execGenericMethod(java.lang.Class cl,
java.lang.String name,
java.util.Vector param)
execute a method with ArrayList type returned value. |
static java.lang.String |
execMethod(java.lang.Class cl,
java.lang.String name,
java.util.Vector param)
execute a method with string type returned value. |
static boolean |
searchMethod(java.lang.Class cl,
java.lang.String methodName,
java.lang.String returnType)
verify if method exist ? |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReflexionToolBox()
Method Detail |
---|
public static java.lang.String execMethod(java.lang.Class cl, java.lang.String name, java.util.Vector param) throws KemetAPIException
execute a method with string type returned value.
cl
- the classname
- name of the methodparam
- parameters method (type and value)
KemetAPIException
public static java.util.ArrayList execGenericMethod(java.lang.Class cl, java.lang.String name, java.util.Vector param) throws KemetAPIException
execute a method with ArrayList type returned value.
cl
- the classname
- name of the methodparam
- parameters method (type and value)
KemetAPIException
public static boolean searchMethod(java.lang.Class cl, java.lang.String methodName, java.lang.String returnType)
verify if method exist ?
cl
- associated classmethodName
- method to verifyreturnType
- returnType of method
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |