Package wt.doc
Class DocumentStructureVisitor
java.lang.Object
wt.visitor.VisitorAdapter
wt.doc.DocumentStructureVisitor
- All Implemented Interfaces:
Serializable,Visitor
Collects all of the documents in the navigation of the structure.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvisit(Persistable fromNode, Link link, Persistable toNode, int level, boolean previouslyVisited) When visiting a node add the document to the vector if the node has not been previously visited.
-
Method Details
-
visit
public boolean visit(Persistable fromNode, Link link, Persistable toNode, int level, boolean previouslyVisited) throws WTException When visiting a node add the document to the vector if the node has not been previously visited.
Supported API: true- Specified by:
visitin interfaceVisitor- Overrides:
visitin classVisitorAdapter- Parameters:
fromNode-link-toNode-level-previouslyVisited-- Returns:
- boolean
- Throws:
WTException
-