public static interface Kind.Adaptable
ExtensionPoint
types that can be flexible adapted based upon the presence of GData
kind category elements.Modifier and Type | Method and Description |
---|---|
void |
addAdaptor(Kind.Adaptor adaptor)
Associates a new
Kind.Adaptor with this Adaptable instance. |
<E extends Kind.Adaptor> |
getAdaptor(java.lang.Class<E> adaptorClass)
Returns a
Kind.Adaptor instance associated with this
Adaptable instance of the specified type, or {code null}
if none is available.. |
java.util.Collection<Kind.Adaptor> |
getAdaptors()
Returns the collection of
Kind.Adaptor instances associated with the
this Adaptable instance. |
void addAdaptor(Kind.Adaptor adaptor)
Kind.Adaptor
with this Adaptable
instance.java.util.Collection<Kind.Adaptor> getAdaptors()
Kind.Adaptor
instances associated with the
this Adaptable
instance.<E extends Kind.Adaptor> E getAdaptor(java.lang.Class<E> adaptorClass)
Kind.Adaptor
instance associated with this
Adaptable
instance of the specified type, or {code null}
if none is available..