wt.part
Class MultilevelWhereUsedVisitor

java.lang.Object
  extended by wt.visitor.VisitorAdapter
      extended by wt.part.MultilevelWhereUsedVisitor
All Implemented Interfaces:
Serializable, Visitor

public class MultilevelWhereUsedVisitor
extends VisitorAdapter
implements Serializable

This visitor is used to write XML data for the Multilevel Where Usedreport using a DocumentHandler.

Supported API: true

Extendable: true

See Also:
Serialized Form

Method Summary
 void outputConfigSpec(WTPartConfigSpec spec)
          

Supported API: true
 void outputPart(WTPartMaster partMaster)
          

Supported API: true
 void outputQuantity(WTPartUsageLink partUsageLink)
          

Supported API: true
 boolean visit(Persistable fromNode, Link link, Persistable toNode, int level, boolean previouslyVisited)
          Visit a node.
 
Methods inherited from class wt.visitor.VisitorAdapter
visitLevel, visitLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

outputConfigSpec

public void outputConfigSpec(WTPartConfigSpec spec)
                      throws WTException


Supported API: true

Parameters:
spec -
Throws:
WTException

outputPart

public void outputPart(WTPartMaster partMaster)
                throws WTException


Supported API: true

Parameters:
partMaster -
Throws:
WTException

outputQuantity

public void outputQuantity(WTPartUsageLink partUsageLink)
                    throws WTException


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:
visit in interface Visitor
Overrides:
visit in class VisitorAdapter
Parameters:
fromNode -
link -
toNode -
level -
previouslyVisited -
Returns:
boolean
Throws:
WTException