net.kldp.jcodegen.code
Class TransparentBlock

java.lang.Object
  extended by net.kldp.jcodegen.base.AbstractCodeFragment
      extended by net.kldp.jcodegen.base.AbstractBlock
          extended by net.kldp.jcodegen.code.AbstractTransparentBlock
              extended by net.kldp.jcodegen.code.TransparentBlock
All Implemented Interfaces:
CodeFragment, Source

public class TransparentBlock
extends AbstractTransparentBlock

모든 코드는 추가된 순서에 따라 소스파일에 나타나는데, 나중에 추가한 코드가 먼저 나타나는 것이 가능하게 하고싶을 때 이 클래스를 사용할 수 있다. 이 클래스는 그 자체는 아무것도 결과물에 추가하지 않으며 자신의 자식 Source 객체만 결과물에 추가한다.


Constructor Summary
TransparentBlock(AbstractBlock parent)
           
 
Method Summary
 
Methods inherited from class net.kldp.jcodegen.code.AbstractTransparentBlock
appendContents, appendHeader
 
Methods inherited from class net.kldp.jcodegen.base.AbstractBlock
canBeParentOf, getComment, getSubList
 
Methods inherited from class net.kldp.jcodegen.base.AbstractCodeFragment
addCommentLine, addImport, addImport, addModifier, appendComment, appendModifiers, eval, getModifiers, getVisibility, setVariable, setVisibility
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransparentBlock

public TransparentBlock(AbstractBlock parent)