|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AdapterFactory
This interface is insipired by the similar from eclipse project
| Method Summary | ||
|---|---|---|
|
adapt(T object,
Class<T> cls)
Adopts given object to the instance of the asked class |
|
|
getAdaptingClasses(T object)
Returns list of classes to which given object can be adopted to by this adopter factory |
|
| Method Detail |
|---|
<T> T adapt(T object,
Class<T> cls)
object - object to he adoptedcls - asked class
<T> Class<T>[] getAdaptingClasses(T object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||