public interface IAdapterFactory
clazz
on behalf of the object object
.Modifier and Type | Method and Description |
---|---|
<T> T |
getAdapter(java.lang.Object object,
java.lang.Class<T> clazz)
Return an object of type
clazz that represents
object . |
java.lang.Class |
getBaseType()
The type of objects that can be adapted by this factory.
|
<T> T getAdapter(java.lang.Object object, java.lang.Class<T> clazz)
clazz
that represents
object
.
This method should return null
if adaption is not possible.
T
- object
- clazz
- clazz
that represents
object
.java.lang.Class getBaseType()