net.kldp.jcodegen.base
Class LineComment

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

public class LineComment
extends java.lang.Object
implements Comment


Constructor Summary
LineComment(AbstractBlock parent, java.lang.String contents)
           
 
Method Summary
 void appendContents(int level, Output target, Formatter formatter)
          add contents to target.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineComment

public LineComment(AbstractBlock parent,
                   java.lang.String contents)
Method Detail

appendContents

public void appendContents(int level,
                           Output target,
                           Formatter formatter)
Description copied from interface: Source
add contents to target. 자신의 내용을 target 에 추가한다.

Specified by:
appendContents in interface Source
Parameters:
level - : indent level .
target - : adding contents to this object
formatter - : formatting object.