|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DecoratorSetContext<Type,Decorator>
Implementations of this interface provide a context to the DecoratorPicker.
| Method Summary | |
|---|---|
Set<Class<? extends Decorator>> |
getDecoratorClasses()
|
Set<Class<? extends Type>> |
getSupportedInterfaces()
|
void |
init(Decorator decorator,
Type object)
Initializes the decorator to decorate given object. |
Decorator |
instantiate(Class<? extends Decorator> decoratorClass)
Instantiates a new decorator of given class. |
| Method Detail |
|---|
Set<Class<? extends Type>> getSupportedInterfaces()
Set<Class<? extends Decorator>> getDecoratorClasses()
Decorator instantiate(Class<? extends Decorator> decoratorClass)
throws Exception
decoratorClass -
Exception
void init(Decorator decorator,
Type object)
throws Exception
decorator - object -
Exception - on error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||