org.sandev.generator
Class CSVSerializerGenerator

java.lang.Object
  extended by org.sandev.generator.GeneratorCommon
      extended by org.sandev.generator.AggregateGeneratorBase
          extended by org.sandev.generator.CSVSerializerGenerator
All Implemented Interfaces:
org.sandev.sandbuild.SandGenerator

public class CSVSerializerGenerator
extends org.sandev.generator.AggregateGeneratorBase
implements org.sandev.sandbuild.SandGenerator

Write the CSVSerializer source file.


Field Summary
 
Fields inherited from class org.sandev.generator.AggregateGeneratorBase
extra
 
Fields inherited from class org.sandev.generator.GeneratorCommon
CONTEXT_CONFIGURATION, CONTEXT_CONTROL, CONTEXT_FRAMEWORK, CONTEXT_MESSAGING, CONTEXT_PERSISTENCE, CONTEXT_UI, DEFAULT_LINE_LENGTH, MESSAGE_INTERFACES
 
Constructor Summary
CSVSerializerGenerator()
           
 
Method Summary
protected  java.lang.String getFileSpec(java.io.File baseDir)
          Return lastApp/src/org/xyz/util/CSVSerializer.java or the equivalent filespec for the given triggering build.
protected  void writeDumpMethods(java.io.PrintStream out, com.sun.javadoc.ClassDoc cd)
          Write out the dump methods for this class.
protected  void writeDumpMethods(java.io.PrintStream out, org.sandev.sandbuild.SandDecl[] decls)
          Write the dump methods.
protected  void writeFile(java.io.PrintStream out, org.sandev.sandbuild.SandDecl[] decls)
          Write the XMLSerializer source file
protected  void writeLoadMethods(java.io.PrintStream out, org.sandev.sandbuild.SandDecl[] decls)
          Write the load methods.
protected  void writePostamble(java.io.PrintStream out)
          Write the end of the file.
protected  void writePreamble(java.io.PrintStream out, org.sandev.sandbuild.SandDecl[] decls)
          Write the beginning of the file.
 
Methods inherited from class org.sandev.generator.AggregateGeneratorBase
addSandAttrValToDecls, cleanup, cleanupSecondaryFiles, generate, getExtra, setExtra, writeSecondaryFiles
 
Methods inherited from class org.sandev.generator.GeneratorCommon
capitalize, copyfile, deletefile, filterHTMLLine, findStructDeclByShortname, getDeclaredFields, getFields, getInheritanceHierarchy, getLastAppProject, getLastUtilDir, getLongInstanceName, getPrintStream, getSandProject, getShortInstanceName, getUtilPackage, getVisibleFields, hasSubStructs, isArray, isBasic, isLongReferenceArray, isMessageInterface, isParentAbstract, isPrimitive, isRootStruct, isVowel, log, nextToken, pluralize, rangeEscape, removePlatformDecls, trackFileDelete, trackFileWrite, uncapitalize, writeDefaultCtor, writeDescription, writeHTMLContents, writeMessageImports, writeSectionName, writeStandardCommentID, writeXHTMLFooter, writeXHTMLFooter, writeXHTMLHeader, writeXHTMLHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sandev.sandbuild.SandGenerator
cleanup, generate
 

Constructor Detail

CSVSerializerGenerator

public CSVSerializerGenerator()
Method Detail

getFileSpec

protected java.lang.String getFileSpec(java.io.File baseDir)
                                throws org.sandev.sandbuild.SandGeneratorException
Return lastApp/src/org/xyz/util/CSVSerializer.java or the equivalent filespec for the given triggering build. The given baseDir is ignored.

Overrides:
getFileSpec in class org.sandev.generator.AggregateGeneratorBase
Throws:
org.sandev.sandbuild.SandGeneratorException

writeFile

protected void writeFile(java.io.PrintStream out,
                         org.sandev.sandbuild.SandDecl[] decls)
                  throws org.sandev.sandbuild.SandGeneratorException
Write the XMLSerializer source file

Overrides:
writeFile in class org.sandev.generator.AggregateGeneratorBase
Throws:
org.sandev.sandbuild.SandGeneratorException

writePreamble

protected void writePreamble(java.io.PrintStream out,
                             org.sandev.sandbuild.SandDecl[] decls)
                      throws org.sandev.sandbuild.SandGeneratorException
Write the beginning of the file.

Throws:
org.sandev.sandbuild.SandGeneratorException

writePostamble

protected void writePostamble(java.io.PrintStream out)
Write the end of the file.


writeDumpMethods

protected void writeDumpMethods(java.io.PrintStream out,
                                org.sandev.sandbuild.SandDecl[] decls)
Write the dump methods.


writeDumpMethods

protected void writeDumpMethods(java.io.PrintStream out,
                                com.sun.javadoc.ClassDoc cd)
Write out the dump methods for this class.


writeLoadMethods

protected void writeLoadMethods(java.io.PrintStream out,
                                org.sandev.sandbuild.SandDecl[] decls)
Write the load methods.