ClassAdapter (Jython API documentation)
Date: 2017-06-30

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

    Constructors
    Constructor and Description
    `ClassAdapter(Class adaptedClass)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`

Jython homepage