Interface DependencyNodeVisitor
-
- All Known Implementing Classes:
BuildingDependencyNodeVisitor
,CollectingDependencyNodeVisitor
,FilteringDependencyNodeVisitor
,SerializingDependencyNodeVisitor
public interface DependencyNodeVisitor
Defines a hierarchical visitor for processing dependency node trees.- Since:
- 1.1
- Version:
- $Id$
- Author:
- Mark Hobson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
endVisit(DependencyNode node)
Ends the visit to to the specified dependency node.boolean
visit(DependencyNode node)
Starts the visit to the specified dependency node.
-
-
-
Method Detail
-
visit
boolean visit(DependencyNode node)
Starts the visit to the specified dependency node.- Parameters:
node
- the dependency node to visit- Returns:
true
to visit the specified dependency node's children,false
to skip the specified dependency node's children and proceed to its next sibling
-
endVisit
boolean endVisit(DependencyNode node)
Ends the visit to to the specified dependency node.- Parameters:
node
- the dependency node to visit- Returns:
true
to visit the specified dependency node's next sibling,false
to skip the specified dependency node's next siblings and proceed to its parent
-
-