|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbiz.hammurapi.util.CompositeVisitor
public class CompositeVisitor
Takes collection of visitors and piggy-backs them. Visitor's unwillingnes to navigate further is ignored.
| Constructor Summary | |
|---|---|
CompositeVisitor(java.util.Collection visitors)
|
|
| Method Summary | |
|---|---|
void |
leave(java.lang.Object target)
Shall be invoked by Visitable at the end of navigation, when all children has already been visited. |
boolean |
visit(java.lang.Object target)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeVisitor(java.util.Collection visitors)
| Method Detail |
|---|
public boolean visit(java.lang.Object target)
visit in interface Visitorpublic void leave(java.lang.Object target)
PoliteVisitor
leave in interface PoliteVisitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||