net.kldp.jcodegen.base
Class BlockComment

java.lang.Object
  extended by net.kldp.jcodegen.base.AbstractBlockComment
      extended by net.kldp.jcodegen.base.BlockComment
All Implemented Interfaces:
Comment, Source

public class BlockComment
extends AbstractBlockComment


Constructor Summary
BlockComment(char headerChar)
           
 
Method Summary
 void addCommentLine(java.lang.String line)
          add one comment line.
protected  void appendHeader(int level, Output target, Formatter formatter)
          add block comment header
protected  void appendTail(int level, Output target, Formatter formatter)
           
 
Methods inherited from class net.kldp.jcodegen.base.AbstractBlockComment
appendBody, appendContents, getBodyStartString, isEmpty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockComment

public BlockComment(char headerChar)
Method Detail

addCommentLine

public void addCommentLine(java.lang.String line)
Description copied from class: AbstractBlockComment
add one comment line. If sub class overrides this method , sub class must call super.addCommentLine()

Overrides:
addCommentLine in class AbstractBlockComment

appendHeader

protected void appendHeader(int level,
                            Output target,
                            Formatter formatter)
Description copied from class: AbstractBlockComment
add block comment header

Specified by:
appendHeader in class AbstractBlockComment

appendTail

protected void appendTail(int level,
                          Output target,
                          Formatter formatter)
Specified by:
appendTail in class AbstractBlockComment