public interface Visitor
Visitable object.| Modifier and Type | Method and Description |
|---|---|
void |
visit(java.lang.Object obj)
Visits one of the objects provided by a
Visitable. |
void visit(java.lang.Object obj)
throws VisitCanceledException,
BaseException
Visitable.obj - the object to perform the action withVisitCanceledException - thrown if the visit ha to be cancelled by the
VisitableBaseException - if there is an error performing the visit