Constructor and Description |
---|
DeepChildFirstVisitor()
Construct.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
component(Component component,
IVisit<Void> visit)
Called at each object in a visit.
|
abstract boolean |
preCheck(Component component)
In order to find the deepest component, we traverse downwards starting from the root (e.g.
|
Visit<Void> |
visit(Component rootComponent)
Render the child hierarchy headers.
|
Visit<Void> |
visit(Component rootComponent,
Visit<Void> visit)
Render the child hierarchy headers.
|
public final Visit<Void> visit(Component rootComponent)
rootComponent
- public final Visit<Void> visit(Component rootComponent, Visit<Void> visit)
rootComponent
- visit
- public abstract void component(Component component, IVisit<Void> visit)
IVisitor
public abstract boolean preCheck(Component component)
component
- The component to be testedCopyright © 2006–2022 Apache Software Foundation. All rights reserved.