wt.part
Class HtmlHeadingHierarchyVisitor

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

public class HtmlHeadingHierarchyVisitor
extends BOMHierarchyVisitor
implements Serializable

This class is a Visitor that generates HTML text ouptut for a product structure hierarchy. The node identity and the usage link's attributes are output using an HTML heading (i.e. ) corresponding to the hierarchal level of the node. For example, a third level node would be wrapped in the heading tages "H3" and "/H3".

Supported API: true

Extendable: true

See Also:
Serialized Form

Method Summary
protected  void postVisitWrite(int a_level)
          This method is called from the visit() method after the node text is written.
protected  void preVisitWrite(int a_level)
          This method is called from the visit() method before the node text is written.
 
Methods inherited from class wt.part.BOMHierarchyVisitor
getMessageKey, midVisitParams, postNavigateWrite, preNavigateWrite, visit
 
Methods inherited from class wt.visitor.TextOutputVisitor
getPrintWriter, getResourceBundle, printLocalizedMessage, printLocalizedMessage, printLocalizedMessage, setPrintWriter, setPrintWriter, setResourceBundle
 
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

preVisitWrite

protected void preVisitWrite(int a_level)
This method is called from the visit() method before the node text is written.

Supported API: true

Specified by:
preVisitWrite in class BOMHierarchyVisitor
Parameters:
a_level -

postVisitWrite

protected void postVisitWrite(int a_level)
This method is called from the visit() method after the node text is written.

Supported API: true

Specified by:
postVisitWrite in class BOMHierarchyVisitor
Parameters:
a_level -