|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gdata.data.Kind.AdaptableHelper
public static class Kind.AdaptableHelper
A simple helper class implementation of the Kind.Adaptable interface.
Classes that need to implement Adaptable can construct an
instance of this class and delegate to it.
| Constructor Summary | |
|---|---|
Kind.AdaptableHelper()
|
|
| Method Summary | ||
|---|---|---|
void |
addAdaptor(Kind.Adaptor adaptor)
Associates a new Kind.Adaptor with this Adaptable instance. |
|
|
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. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Kind.AdaptableHelper()
| Method Detail |
|---|
public void addAdaptor(Kind.Adaptor adaptor)
Kind.AdaptableKind.Adaptor with this Adaptable instance.
addAdaptor in interface Kind.Adaptablepublic java.util.Collection<Kind.Adaptor> getAdaptors()
Kind.AdaptableKind.Adaptor instances associated with the
this Adaptable instance.
getAdaptors in interface Kind.Adaptablepublic <E extends Kind.Adaptor> E getAdaptor(java.lang.Class<E> adaptorClass)
Kind.AdaptableKind.Adaptor instance associated with this
Adaptable instance of the specified type, or {code null}
if none is available..
getAdaptor in interface Kind.Adaptable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||