|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.python.core.PyObject org.python.core.PyClass org.python.core.PyJavaClass
A wrapper around a java class.
Nested Class Summary |
Nested classes inherited from class org.python.core.PyObject |
PyObject.ConversionException |
Field Summary | |
PyReflectedConstructor |
__init__
|
PackageManager |
__mgr__
|
Fields inherited from class org.python.core.PyClass |
__bases__, __class__, __dict__, __name__ |
Fields inherited from class org.python.core.PyObject |
exposed_name |
Method Summary | |
PyObject |
__call__(PyObject[] args,
java.lang.String[] keywords)
The basic method to override when implementing a callable object. |
void |
__delattr__(java.lang.String name)
A variant of the __delattr__ method which accepts a String as the key. |
PyObject |
__dir__()
Equivalent to the standard Python __dir__ method. |
PyObject |
__findattr__(java.lang.String name)
A variant of the __findattr__ method which accepts a Java String as the name.
|
void |
__setattr__(java.lang.String name,
PyObject value)
A variant of the __setattr__ method which accepts a String as the key. |
java.lang.Object |
__tojava__(java.lang.Class c)
Equivalent to the Jython __tojava__ method. |
static InternalTables |
getInternalTables()
|
boolean |
isLazy()
|
static PyJavaClass |
lookup(java.lang.Class c)
|
static PyJavaClass |
lookup(java.lang.String name,
PackageManager mgr)
|
java.lang.String |
toString()
|
Methods inherited from class org.python.core.PyClass |
__cmp__, __rawdir__, __str__, isSubClass, safeRepr |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public PyReflectedConstructor __init__
public PackageManager __mgr__
Method Detail |
public static final InternalTables getInternalTables()
public final boolean isLazy()
public static final PyJavaClass lookup(java.lang.String name, PackageManager mgr)
public static final PyJavaClass lookup(java.lang.Class c)
public PyObject __dir__()
PyObject
__dir__
in class PyObject
public PyObject __findattr__(java.lang.String name)
PyObject
String
as the name.
By default, this method will call __findattr__(PyString
name)
with the appropriate args. The only reason to override
this method is for performance.
Warning: name must be an interned string!!!!!!!!
__findattr__
in class PyClass
public void __setattr__(java.lang.String name, PyObject value)
PyObject
__setattr__
in class PyClass
public void __delattr__(java.lang.String name)
PyObject
__delattr__(PyString name)
with the appropriate args.
The only reason to override this method is for performance.
__delattr__
in class PyClass
public PyObject __call__(PyObject[] args, java.lang.String[] keywords)
PyObject
__call__
in class PyClass
public java.lang.Object __tojava__(java.lang.Class c)
PyObject
Py.NoConversion
if this PyObject
can not be converted to the
desired Java class.
__tojava__
in class PyClass
public java.lang.String toString()
toString
in class PyClass
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |