Package wt.configuration
Class ConfigurationVisitor
java.lang.Object
wt.visitor.VisitorAdapter
wt.configuration.ConfigurationVisitor
- All Implemented Interfaces:
Externalizable,Serializable,ConfigSpec,Visitor
A
Supported API: true
Extendable: false
Visitor for adding nodes of a structure to a configuration as it is navigated.
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvisit(Persistable fromNode, Link link, Persistable toNode, int level, boolean previouslyVisited) Visit a node.
-
Method Details
-
visit
public boolean visit(Persistable fromNode, Link link, Persistable toNode, int level, boolean previouslyVisited) throws WTException Visit a node. If false is returned, then the node will not be traversed.
Supported API: true- Specified by:
visitin interfaceVisitor- Overrides:
visitin classVisitorAdapter- Parameters:
fromNode-link-toNode-level-previouslyVisited-- Returns:
- boolean
- Throws:
WTException
-