public class AdaptableDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
static Class<?>[] |
EMPTY_CLASSES |
Constructor and Description |
---|
AdaptableDescriptor(Class<?> adaptable) |
Modifier and Type | Method and Description |
---|---|
void |
addAdapterFactory(Class<?> adapter,
AdapterFactory<?> factory) |
static Class<?>[] |
collectSuperTypes(Class<?> klass) |
static void |
collectSuperTypes(Class<?> klass,
List<Class<?>> superClasses,
List<Class<?>> interfaces) |
Class<?> |
getAdaptable() |
AdapterFactory<?> |
getAdapterFactory(Class<?> adapter) |
Class<?>[] |
getSuperTypes() |
void |
removeAdapterFactory(Class<?> adapter,
AdapterFactory<?> factory) |
public static final Class<?>[] EMPTY_CLASSES
public AdaptableDescriptor(Class<?> adaptable)
public Class<?> getAdaptable()
public Class<?>[] getSuperTypes()
public AdapterFactory<?> getAdapterFactory(Class<?> adapter)
public void addAdapterFactory(Class<?> adapter, AdapterFactory<?> factory)
public void removeAdapterFactory(Class<?> adapter, AdapterFactory<?> factory)
Copyright © 2013 Nuxeo SA. All Rights Reserved.