|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HierarchicalVisitor<NODE,LEAF,ThrowableType extends java.lang.Throwable>
Visitor to visit hierarchies.
Method Summary | |
---|---|
boolean |
visit(LEAF visited)
Visit an instance of T |
boolean |
visitEnter(NODE visited)
Enter an instance of T |
boolean |
visitLeave(NODE visited)
Leave an instance of T |
Method Detail |
---|
boolean visitEnter(NODE visited) throws ThrowableType extends java.lang.Throwable
visited
- the visited instance which is now entered
ThrowableType
- if an exception occurred during processing. Any client call that initiated the visiting should
get the exception in order to handle it properly.
ThrowableType extends java.lang.Throwable
boolean visitLeave(NODE visited) throws ThrowableType extends java.lang.Throwable
visited
- the visited instance which is now left
ThrowableType
- if an exception occurred during processing. Any client call that initiated the visiting should
get the exception in order to handle it properly.
ThrowableType extends java.lang.Throwable
boolean visit(LEAF visited) throws ThrowableType extends java.lang.Throwable
Visitor
visit
in interface Visitor<LEAF,ThrowableType extends java.lang.Throwable>
visited
- the visited instance
ThrowableType
- if an exception occurred during processing. Any client call that initiated the visiting should
get the exception in order to handle it properly.
ThrowableType extends java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |