|
|||||||||
| Home >> All >> ulu >> [ view overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
ulu.view
Interface Shaper

- All Known Implementing Classes:
- ShaperChain, ShaperImpl
- public interface Shaper
An object capable of modifying the fields and methods of an Item, possibly adding new children or pruning existing ones too.
Earlier versions of Uncle Unc used specialised subclasses of ItemImpl or ViewImpl to represent specific services e.g. the StoredLogView, RSView, ObjectView. This led to some problems with multiple inheritance - for example, we might want to wrap a specific stream of content in more than one way (e.g. an Ant build file as a filesystem file, a plain XML file using a generic XML parser, and as an Ant Project object). The Shaper interface would allow more than one Shaper delegate to operate on the same Item, creating a composite set of methods not possible under the inheritance-based architecture.
In the long-term, all subclasses of ItemImpl and ViewImpl will be refactored as Shapers, and the distinction between View and ViewImpl may no longer be needed. In the meantime, the two architectures can co-exist, as Shapers may also operate on the specialist subclasses.
| Method Summary | |
void |
modify(Item i)
modify this Item in some way |
| Method Detail |
modify
public void modify(Item i)
- modify this Item in some way
|
|||||||||
| Home >> All >> ulu >> [ view overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC