|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcz.cuni.pogamut.introspection.python.PyObjectWrapper
public abstract class PyObjectWrapper
| Field Summary | |
|---|---|
private java.lang.Class |
javaClass
|
| Constructor Summary | |
|---|---|
PyObjectWrapper(java.lang.Class javaClass)
|
|
| Method Summary | |
|---|---|
abstract java.util.ArrayList<PyObjectAdapter> |
getChildren(java.lang.Object pyObject)
If the PyObject contains children (e.g. |
java.lang.Class |
getJavaClass()
Returns class which PyObject represents and whose instance is expected in the set() method as parameter |
abstract java.lang.Object |
getJavaObject(java.lang.Object pyObject)
Returns java representation of the object. |
abstract PyObject |
getNewValue(java.lang.Object newValue)
Creates instance of correct descendant of the PyObject according to the type of wrapper from newValue. |
abstract boolean |
hasChildren(java.lang.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 |
| Field Detail |
|---|
private java.lang.Class javaClass
| Constructor Detail |
|---|
public PyObjectWrapper(java.lang.Class javaClass)
| Method Detail |
|---|
public java.lang.Class getJavaClass()
public abstract java.util.ArrayList<PyObjectAdapter> getChildren(java.lang.Object pyObject)
public abstract boolean hasChildren(java.lang.Object pyObject)
public abstract java.lang.Object getJavaObject(java.lang.Object pyObject)
public abstract PyObject getNewValue(java.lang.Object newValue)
newValue -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||