|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--WISA.wisa3D.shell.CmdInfo
| Constructor Summary | |
CmdInfo()
|
|
| Method Summary | |
abstract boolean |
accept(java.lang.Object o)
Returns true if this CmdInfo supports Objects of the class of the given Object. |
java.lang.String[] |
getMethodNames(java.lang.Object o)
Returns all names of the methods available for the given Object or null if this Object is not accepted by this CmdInfo. |
abstract java.lang.reflect.Method[] |
getMethods(java.lang.Object o)
Returns all methods available for the given Object or null if this Object is not accepted by this CmdInfo. |
abstract java.lang.String[] |
getVars(java.lang.Object o)
Returns all variables available for the given Object or null if this Object is not accepted by this CmdInfo. |
java.lang.Object |
invoke(java.lang.Object o,
java.lang.reflect.Method m,
java.lang.Object[] args)
Invoke the given Method of the given Object with the given arguments. |
java.lang.Object |
invoke(java.lang.Object o,
java.lang.String m,
java.lang.Object[] args)
Invoke the given Method of the given Object with the given arguments. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CmdInfo()
| Method Detail |
public abstract boolean accept(java.lang.Object o)
o - The Object to be determined if it is supported by this CmdInfo.
public java.lang.String[] getMethodNames(java.lang.Object o)
o - The Object whose method names should be returned.
public abstract java.lang.reflect.Method[] getMethods(java.lang.Object o)
o - The Object whose methods should be returned.
public abstract java.lang.String[] getVars(java.lang.Object o)
o - The Object whose variables should be returned.
public java.lang.Object invoke(java.lang.Object o,
java.lang.String m,
java.lang.Object[] args)
throws ConsoleException
o - The Object where the Method should be called.m - The Name of the method to be invoked.args - The arguments with which the Method should be invoked. Can be null
if this Method needs no arguments.
ConsoleException
public java.lang.Object invoke(java.lang.Object o,
java.lang.reflect.Method m,
java.lang.Object[] args)
throws ConsoleException
o - The Object where the Method should be called.m - The Method to be invoked.args - The arguments with which the Method should be invoked. Can be null
if this Method needs no arguments.
ConsoleException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||