|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAdapterFactory
An adapter factory defines behavioral extensions for one or more classes that implements the IAdaptable interface. Adapter factories are registered with an adapter manager.
Clients may implement this interface.
| Method Summary | |
|---|---|
Object |
getAdapter(Object adaptableObject,
Class adapterType,
Object parameter)
Returns an object which is an instance of the given class associated with the given object. |
Class[] |
getAdapterList()
Returns the collection of adapter types handled by this factory. |
| Method Detail |
|---|
Object getAdapter(Object adaptableObject,
Class adapterType,
Object parameter)
null if no such object can be
found.
adaptableObject - the adaptable object being queried (usually an instance of
IAdaptable)adapterType - the type of adapter to look up
null
if this adapter factory does not have an adapter of the given
type for the given objectClass[] getAdapterList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||