| 
 | ||||||||||
| 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.
| Field Summary | |
| static PyClass | __class__ | 
|  PyReflectedConstructor | __init__ | 
|  PackageManager | __mgr__ | 
| Fields inherited from class org.python.core.PyClass | 
| __bases__, __dict__, __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 Stringas 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__, __str__ | 
| Methods inherited from class java.lang.Object | 
| getClass, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
public PyReflectedConstructor __init__
public PackageManager __mgr__
public static PyClass __class__
| 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 PyObjectpublic PyObject __findattr__(java.lang.String name)
PyObjectString 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 PyClassname - the name to lookup in this namespace
  must be an interned string .
PyObject.__findattr__(PyString)
public void __setattr__(java.lang.String name,
                        PyObject value)
PyObject
__setattr__ in class PyClassname - the name whose value will be set -
               must be an interned string .value - the value to set this name toPyObject.__setattr__(PyString, PyObject)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 PyClassname - the name which will be removed -
              must be an interned string .PyObject.__delattr__(PyString)
public PyObject __call__(PyObject[] args,
                         java.lang.String[] keywords)
PyObject
__call__ in class PyClassargs - all arguments to the function (including
                 keyword arguments).keywords - the keywords used for all keyword arguments.public java.lang.Object __tojava__(java.lang.Class c)
PyObjectPy.NoConversion
 if this PyObject can not be converted to the
 desired Java class.
__tojava__ in class PyClassc - the Class to convert this PyObject to.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 | |||||||||