|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.sandev.generator.GeneratorCommon
org.sandev.generator.AggregateGeneratorBase
org.sandev.generator.SingletonAccessorGenerator
Write the deployment specific SingletonAccessor source file. If the extra parameter is specified, we use that as the prefix for the generated class. Otherwise we look up the DeploymentPrefix property value and use that.
| 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 | |
SingletonAccessorGenerator()
|
|
| Method Summary | |
protected java.lang.String |
getDeploymentPrefix()
Return the value of the DeploymentPrefix property, or the override value specified in the extra param. |
protected java.lang.String |
getFileSpec(java.io.File baseDir)
Return "gen_base/src/org/sandev/tools/SandBossRoot/prefixSingletonAccessorImpl.java" |
protected void |
writeFile(java.io.PrintStream out,
org.sandev.sandbuild.SandDecl[] decls)
Write the source 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, getDeclaredFields, getFields, getInheritanceHierarchy, getLastAppProject, getLastUtilDir, getLongInstanceName, getPrintStream, getSandProject, getShortInstanceName, getUtilPackage, getVisibleFields, 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 |
public SingletonAccessorGenerator()
| Method Detail |
protected java.lang.String getFileSpec(java.io.File baseDir)
protected void writeFile(java.io.PrintStream out,
org.sandev.sandbuild.SandDecl[] decls)
protected java.lang.String getDeploymentPrefix()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||