ClassAdapter (Jython API documentation)
Date: 2012-08-13

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.python.core.adapter
Class ClassAdapter

    java.lang.Object
      org.python.core.adapter.ClassAdapter

All Implemented Interfaces:
  PyObjectAdapter

    public abstract class ClassAdapter

extends Object
implements PyObjectAdapter

Constructor Summary
`ClassAdapter(Class adaptedClass)`

Method Summary
`boolean` | `canAdapt(Object o)` Returns true if o can be adapted by this adapter.
`Class` | `getAdaptedClass()`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface org.python.core.adapter.PyObjectAdapter
`adapt`

Constructor Detail

### ClassAdapter

    public ClassAdapter(Class adaptedClass)

Method Detail

### getAdaptedClass

    public Class getAdaptedClass()

### canAdapt

    public boolean canAdapt(Object o)

  Description copied from interface: `PyObjectAdapter`
  Returns true if o can be adapted by this adapter.

  Specified by:
    `canAdapt` in interface `PyObjectAdapter`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Jython homepage