|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectuk.ac.vamsas.objects.DocumentUpdaterEngine
Implements a depth first traversal over the document tree calling update handlers based on the Vobject.isUpdated() and Vobject.isNewInDocument() state at each backtrack.
| Constructor Summary | |
DocumentUpdaterEngine(IDocumentUpdater handler)
initialise the engine with an implementation of the interface. |
|
| Method Summary | |
void |
callHandlers(IClientDocument cdoc)
call the necessary update handlers at each point on the VamsasDocument OM TODO: later: Make this more elegant (use reflection and factor to single update(Object) method) ? - we take the plodding, explicit approach rather than a funky generalised one here |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DocumentUpdaterEngine(IDocumentUpdater handler)
| Method Detail |
public void callHandlers(IClientDocument cdoc)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||