|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.introspection.python.PyObjectWrapper
public abstract class PyObjectWrapper
| Constructor Summary | |
|---|---|
PyObjectWrapper(Class javaClass)
|
|
| Method Summary | |
|---|---|
abstract ArrayList<PyObjectAdapter> |
getChildren(Object pyObject)
If the PyObject contains children (e.g. |
Class |
getJavaClass()
Returns class which PyObject represents and whose instance is expected in the set() method as parameter |
abstract Object |
getJavaObject(Object pyObject)
Returns java representation of the object. |
abstract org.python.core.PyObject |
getNewValue(Object newValue)
Creates instance of correct descendant of the PyObject according to the type of wrapper from newValue. |
abstract boolean |
hasChildren(Object pyObject)
Whether the wrapper may have children (e.g. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PyObjectWrapper(Class javaClass)
| Method Detail |
|---|
public Class getJavaClass()
public abstract ArrayList<PyObjectAdapter> getChildren(Object pyObject)
public abstract boolean hasChildren(Object pyObject)
public abstract Object getJavaObject(Object pyObject)
public abstract org.python.core.PyObject getNewValue(Object newValue)
newValue -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||