Interface DependencyNodeVisitor
-
- All Known Implementing Classes:
BuildingDependencyNodeVisitor,CollectingDependencyNodeVisitor,FilteringDependencyNodeVisitor,SerializingDependencyNodeVisitor
public interface DependencyNodeVisitorDefines 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 booleanendVisit(DependencyNode node)Ends the visit to to the specified dependency node.booleanvisit(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:
trueto visit the specified dependency node's children,falseto 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:
trueto visit the specified dependency node's next sibling,falseto skip the specified dependency node's next siblings and proceed to its parent
-
-