wt.tools.generation.language
Class JavaObjectWriter

java.lang.Object
  extended bywt.tools.generation.language.MergableWriter
      extended bywt.tools.generation.language.ClassWriter
          extended bywt.tools.generation.language.JavaObjectWriter

public class JavaObjectWriter
extends ClassWriter


Field Summary
protected  ObjectOutputStream objectOutput
           
 
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 JavaObjectWriter(ClassClass source)
           
 
Method Summary
protected  String commentString()
           
protected  String fileExtension()
           
 String fileName()
           
static JavaObjectWriter get(ClassClass source, WriteMode writeMode)
           
 boolean write(ObjectOutputStream theWriter)
           
protected  boolean writeBody()
           
 
Methods inherited from class wt.tools.generation.language.ClassWriter
fileName, fileName, getPreserves, markerBegin, markerEnd, write, write
 
Methods inherited from class wt.tools.generation.language.MergableWriter
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
 

Field Detail

objectOutput

protected ObjectOutputStream objectOutput
Constructor Detail

JavaObjectWriter

protected JavaObjectWriter(ClassClass source)
Method Detail

commentString

protected String commentString()
Specified by:
commentString in class MergableWriter

fileExtension

protected String fileExtension()
Specified by:
fileExtension in class ClassWriter

fileName

public String fileName()
Overrides:
fileName in class ClassWriter

get

public static JavaObjectWriter get(ClassClass source,
                                   WriteMode writeMode)

write

public boolean write(ObjectOutputStream theWriter)

writeBody

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