wt.tools.generation.language
Class SourceWriter

java.lang.Object
  extended bywt.tools.generation.language.MergableWriter
      extended bywt.tools.generation.language.ClassWriter
          extended bywt.tools.generation.language.SourceWriter
Direct Known Subclasses:
JavaSourceWriter

public abstract class SourceWriter
extends ClassWriter


Field Summary
 
Fields inherited from class wt.tools.generation.language.ClassWriter
fileName, sourceClass
 
Fields inherited from class wt.tools.generation.language.MergableWriter
merging, out, preservable, preservedSections, preservesRead, writer
 
Constructor Summary
protected SourceWriter(ClassClass source)
           
protected SourceWriter(String file_name)
           
 
Method Summary
protected  boolean writeAttributes()
           
protected  boolean writeBody()
           
protected  boolean writeNestedClasses()
           
protected  boolean writeOperations()
           
 
Methods inherited from class wt.tools.generation.language.ClassWriter
fileExtension, fileName, fileName, fileName, getPreserves, markerBegin, markerEnd, write, write
 
Methods inherited from class wt.tools.generation.language.MergableWriter
commentString, gatherPreserves, getPreserves, getWriterFile, markerBegin, markerBegin, markerBeginPreserved, markerEnd, markerEnd, markerEndKeyed, printLines, putPreserves, setOut, tab, writeBodyBegin, writeBodyEnd, writeFooter, writeHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceWriter

protected SourceWriter(ClassClass source)

SourceWriter

protected SourceWriter(String file_name)
Method Detail

writeAttributes

protected boolean writeAttributes()

writeBody

protected boolean writeBody()
Specified by:
writeBody in class MergableWriter

writeNestedClasses

protected boolean writeNestedClasses()

writeOperations

protected boolean writeOperations()