public static interface

Kind.Adaptable

com.google.gdata.data.Kind.Adaptable
Known Indirect Subclasses

Class Overview

The Adaptable interface is implemented by GData ExtensionPoint types that can be flexible adapted based upon the presence of GData kind category elements.

Summary

Public Methods
abstract void addAdaptor(Kind.Adaptor adaptor)
Associates a new Kind.Adaptor with this Adaptable instance.
abstract <E extends Kind.Adaptor> E getAdaptor(Class<E> adaptorClass)
Returns a Kind.Adaptor instance associated with this Adaptable instance of the specified type, or {code null} if none is available..
abstract Collection<Kind.Adaptor> getAdaptors()
Returns the collection of Kind.Adaptor instances associated with the this Adaptable instance.

Public Methods

public abstract void addAdaptor (Kind.Adaptor adaptor)

Associates a new Kind.Adaptor with this Adaptable instance.

Parameters
adaptor

public abstract E getAdaptor (Class<E> adaptorClass)

Returns a Kind.Adaptor instance associated with this Adaptable instance of the specified type, or {code null} if none is available..

Parameters
adaptorClass

public abstract Collection<Kind.Adaptor> getAdaptors ()

Returns the collection of Kind.Adaptor instances associated with the this Adaptable instance.