wt.part
Class HtmlNumberedHierarchyVisitor

java.lang.Object
  extended bywt.visitor.VisitorAdapter
      extended bywt.visitor.TextOutputVisitor
          extended bywt.part.BOMHierarchyVisitor
              extended bywt.part.HtmlPreformattedHierarchyVisitor
                  extended bywt.part.HtmlNumberedHierarchyVisitor
All Implemented Interfaces:
Serializable, Visitor

public class HtmlNumberedHierarchyVisitor
extends HtmlPreformattedHierarchyVisitor
implements Serializable

This class uses a preformatted output and indicates the hierrarchy level by displaying the level number. The item identity is also indented with the period (".") character.

Supported API: true

Extendable: true

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Fields inherited from class wt.part.BOMHierarchyVisitor
BLANK_SPACE
 
Fields inherited from class wt.visitor.TextOutputVisitor
 
Constructor Summary
HtmlNumberedHierarchyVisitor()
           
 
Method Summary
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.HtmlPreformattedHierarchyVisitor
postNavigateWrite, postVisitWrite, preNavigateWrite
 
Methods inherited from class wt.part.BOMHierarchyVisitor
getMessageKey, getNodeIdentity, midVisitParams, visit
 
Methods inherited from class wt.visitor.TextOutputVisitor
getLocale, getPrintWriter, getResourceBundle, printLocalizedMessage, printLocalizedMessage, printLocalizedMessage, setLocale, 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
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

HtmlNumberedHierarchyVisitor

public HtmlNumberedHierarchyVisitor()
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

Overrides:
preVisitWrite in class HtmlPreformattedHierarchyVisitor
Parameters:
a_level -