|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAdapterFactory
The classes that implement the
IAdapterFactory interface are
responsible for creating adapters for adaptable objects.
IAdapter,
IAdaptable| Method Summary | ||
|---|---|---|
|
create(java.lang.Class<A> adapterType,
IAdaptable adaptable)
In fact performs the creation of an adapter instance for the adaptable object. |
|
java.lang.Class<? extends IAdapter>[] |
getAdapterClasses()
Declares the types of adapters, which instances can be created by the Factory. |
|
| Method Detail |
|---|
java.lang.Class<? extends IAdapter>[] getAdapterClasses()
IAdapter
<A extends IAdapter> A create(java.lang.Class<A> adapterType,
IAdaptable adaptable)
null.
A - declares a type of the required adapteradapterType - defines a type of the required adapteradaptable - object for which the current adapter is being created.
null.IAdapter,
IAdaptable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||