public abstract class AbstractPicoVisitor extends Object implements PicoVisitor
PicoVisitor as argument and and invokes it. Additionally it provides the
checkTraversal() method, that throws a AbstractPicoVisitor.PicoVisitorTraversalException,
if currently no traversal is running.| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractPicoVisitor.PicoVisitorTraversalException
Exception for a PicoVisitor, that is dependent on a defined starting point of the traversal.
|
ABORT_TRAVERSAL, CONTINUE_TRAVERSAL| Constructor and Description |
|---|
AbstractPicoVisitor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkTraversal()
Checks the traversal flag, indicating a currently running traversal of the visitor.
|
Object |
traverse(Object node)
Entry point for the PicoVisitor traversal.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvisitComponentAdapter, visitComponentFactory, visitContainer, visitParameterpublic AbstractPicoVisitor()
public Object traverse(Object node)
PicoVisitorPicoContainer, ComponentAdapter,
or Parameter are valid.traverse in interface PicoVisitornode - the start node of the traversal.protected void checkTraversal()
AbstractPicoVisitor.PicoVisitorTraversalException - if no traversal is active.Copyright © 2003-2014 Codehaus. All Rights Reserved.