Constructor and Description |
---|
DynObjectAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
delegate(DynObject dynObject) |
DynClass |
getDynClass() |
java.lang.Object |
getDynValue(java.lang.String name) |
boolean |
hasDynValue(java.lang.String name) |
void |
implement(DynClass dynClass) |
java.lang.Object |
invokeDynMethod(int code,
java.lang.Object[] args) |
java.lang.Object |
invokeDynMethod(java.lang.String name,
java.lang.Object[] args) |
void |
setDynValue(java.lang.String name,
java.lang.Object value) |
public DynClass getDynClass()
getDynClass
in interface DynObject
public java.lang.Object getDynValue(java.lang.String name) throws DynFieldNotFoundException
getDynValue
in interface DynObject
DynFieldNotFoundException
public void setDynValue(java.lang.String name, java.lang.Object value) throws DynFieldNotFoundException
setDynValue
in interface DynObject
DynFieldNotFoundException
public boolean hasDynValue(java.lang.String name)
hasDynValue
in interface DynObject
public java.lang.Object invokeDynMethod(java.lang.String name, java.lang.Object[] args) throws DynMethodException
invokeDynMethod
in interface DynObject
DynMethodException
public java.lang.Object invokeDynMethod(int code, java.lang.Object[] args) throws DynMethodException
invokeDynMethod
in interface DynObject
DynMethodException