cz.cuni.amis.introspection.python
Class PythonInstrospectableProxy
java.lang.Object
cz.cuni.amis.introspection.Feature
cz.cuni.amis.introspection.Folder
cz.cuni.amis.introspection.AbstractObjectFolder<Object>
cz.cuni.amis.introspection.python.PythonInstrospectableProxy
public class PythonInstrospectableProxy
- extends AbstractObjectFolder<Object>
| Fields inherited from class cz.cuni.amis.introspection.Feature |
name |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PythonInstrospectableProxy
public PythonInstrospectableProxy(String name,
PyObjectPlace place)
PythonInstrospectableProxy
public PythonInstrospectableProxy(PyObjectAdapter adapter)
getName
public String getName()
- Overrides:
getName in class Feature
filterObject
protected ArrayList<PyObjectAdapter> filterObject(Object object,
boolean hasChildren)
- Filters children of the proxy according to 'hasChildren' parameter.
- Parameters:
object - hasChildren - true = return only items with children, false = opposite
- Returns:
- return list of wrappers who can or can't have children
computeFolders
protected Folder[] computeFolders(Object object)
- Description copied from class:
AbstractObjectFolder
- Computes list of introspectable children of object to be introspected.
- Specified by:
computeFolders in class AbstractObjectFolder<Object>
- Parameters:
object - Object to be introspected.
- Returns:
- Array of introspectable children.
computeProperties
protected Property[] computeProperties(Object object)
- Description copied from class:
AbstractObjectFolder
- Computes list of properties of object to be introspected.
- Specified by:
computeProperties in class AbstractObjectFolder<Object>
- Parameters:
object - Object to be introspected.
- Returns:
- Array of properties.
closeIntrospection
public void closeIntrospection()
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.