Package wt.part
Class MultilevelWhereUsedVisitor
java.lang.Object
wt.visitor.VisitorAdapter
wt.part.MultilevelWhereUsedVisitor
- All Implemented Interfaces:
Serializable,Visitor
This visitor is used to write XML data for the Multilevel Where Usedreport
using a
Supported API: true
Extendable: true
DocumentHandler.
Supported API: true
Extendable: true
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMultilevelWhereUsedVisitor(ContentHandler aDocumentHandler, Locale aLocale)
Supported API: true -
Method Summary
Modifier and TypeMethodDescriptionvoid
Supported API: truevoidoutputPart(WTPartMaster partMaster)
Supported API: truevoidoutputQuantity(WTPartUsageLink partUsageLink)
Supported API: truebooleanvisit(Persistable fromNode, Link link, Persistable toNode, int level, boolean previouslyVisited) Visit a node.
-
Constructor Details
-
MultilevelWhereUsedVisitor
Supported API: true- Parameters:
aDocumentHandler-aLocale-
-
-
Method Details
-
outputConfigSpec
Supported API: true- Parameters:
spec-- Throws:
WTException
-
outputPart
Supported API: true- Parameters:
partMaster-- Throws:
WTException
-
outputQuantity
Supported API: true- Parameters:
partUsageLink-- Throws:
WTException
-
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
-