public class TemplateProcessGeneratorLowLevelWriter extends TemplateProcessGenerator
| Modifier and Type | Field and Description |
|---|---|
protected String |
pipeVarName |
protected String |
stageMgrVarName |
protected String |
tab |
protected String |
writerName |
schema| Constructor and Description |
|---|
TemplateProcessGeneratorLowLevelWriter(MessageSchema schema,
Appendable target,
boolean isAbstract,
String packageName) |
TemplateProcessGeneratorLowLevelWriter(MessageSchema schema,
Appendable target,
String packageName) |
TemplateProcessGeneratorLowLevelWriter(MessageSchema schema,
Appendable target,
String className,
String baseClassName,
String outputPipeName,
String methodScope,
boolean isAbstract,
String packageName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
additionalImports(MessageSchema schema,
Appendable target) |
protected void |
additionalLoopLogic(Appendable target) |
protected void |
additionalMembers(Appendable target) |
protected void |
additionalMethods(Appendable target) |
protected void |
appendAdditionalWriteLogic(Appendable t,
int cursor,
CharSequence argSignature,
int fieldCount,
int firstFieldIdx) |
protected void |
appendWriteFragmentLogic(Appendable t,
int cursor) |
protected Appendable |
appendWriteMethodName(Appendable target,
int cursor) |
protected void |
beginMessage(Appendable t,
int cursor) |
protected void |
bodyOfBusinessProcess(Appendable target,
int cursor,
int firstField,
int fieldCount) |
protected void |
bodyOfNextMessageIdx(Appendable target) |
protected void |
buildConstructors(Appendable target,
String className) |
protected void |
defineMembers() |
protected void |
footerConstruction() |
protected void |
generateStartup(Appendable Target) |
String |
getClassName() |
String |
getPackageName() |
protected void |
headerConstruction() |
protected void |
negativeOneCase(Appendable target) |
protected void |
postProcessSequence(int fieldCursor) |
protected void |
processByteArray(String name,
int idx,
int fieldCursor,
long id) |
protected void |
processByteArrayOptional(String name,
int idx,
int fieldCursor,
long id) |
protected void |
processCalleeClose(int cursor) |
protected void |
processCalleeOpen(int cursor) |
protected void |
processCaller(int cursor) |
protected void |
processCallerPost() |
protected void |
processCallerPrep() |
protected void |
processDecimal(String name,
int idx,
int fieldCursor,
long id) |
protected void |
processDecimalOptional(String name,
int idx,
int fieldCursor,
long id) |
protected void |
processDictionary() |
protected void |
processFragmentClose(int fragmentCursor) |
protected void |
processFragmentOpen(String name,
int fieldCursor,
long id) |
protected void |
processIntegerSignedOptional(String name,
int i,
int fieldCursor,
long id) |
protected void |
processIntegerUnsigned(String name,
int i,
int fieldCursor,
long id) |
protected void |
processIntegerUnsignedOptional(String name,
int i,
int fieldCursor,
long id) |
protected void |
processLongSigned(String name,
int idx,
int fieldCursor,
long id) |
protected void |
processLongSignedOptional(String name,
int idx,
int fieldCursor,
long id) |
protected void |
processLongUnsigned(String name,
int idx,
int fieldCursor,
long id) |
protected void |
processLongUnsignedOptional(String name,
int idx,
int fieldCursor,
long id) |
protected void |
processMessageClose(String name,
long id,
boolean needsToCloseFragment) |
protected boolean |
processSequenceInstanceClose(String name,
long id,
int fieldCursor) |
protected void |
processSequenceOpen(int fragmentCursor,
String name,
int idx,
int fieldCursor,
long id) |
protected void |
processTextASCII(String name,
int idx,
int fieldCursor,
long id) |
protected void |
processTextASCIIOptional(String name,
int idx,
int fieldCursor,
long id) |
protected void |
processTextUTF8(String name,
int idx,
int fieldCursor,
long id) |
protected void |
processTextUTF8Optional(String name,
int idx,
int fieldCursor,
long id) |
protected void |
pronghornIntegerSigned(String name,
int i,
int fieldCursor,
long id) |
protected void |
publishMessage(Appendable t) |
processSchemaprotected final String tab
protected final String stageMgrVarName
protected final String pipeVarName
protected final String writerName
public TemplateProcessGeneratorLowLevelWriter(MessageSchema schema, Appendable target, String className, String baseClassName, String outputPipeName, String methodScope, boolean isAbstract, String packageName)
public TemplateProcessGeneratorLowLevelWriter(MessageSchema schema, Appendable target, String packageName)
public TemplateProcessGeneratorLowLevelWriter(MessageSchema schema, Appendable target, boolean isAbstract, String packageName)
public String getClassName()
public String getPackageName()
protected void additionalImports(MessageSchema schema, Appendable target)
protected void generateStartup(Appendable Target)
protected void defineMembers()
throws IOException
defineMembers in class TemplateProcessGeneratorIOExceptionprotected void additionalMembers(Appendable target) throws IOException
IOExceptionprotected void processCallerPrep()
throws IOException
processCallerPrep in class TemplateProcessGeneratorIOExceptionprotected void additionalLoopLogic(Appendable target)
protected void processCaller(int cursor)
throws IOException
processCaller in class TemplateProcessGeneratorIOExceptionprotected void beginMessage(Appendable t, int cursor) throws IOException
IOExceptionprotected void negativeOneCase(Appendable target) throws IOException
IOExceptionprotected void processCallerPost()
throws IOException
processCallerPost in class TemplateProcessGeneratorIOExceptionprotected void publishMessage(Appendable t) throws IOException
IOExceptionprotected void processFragmentClose(int fragmentCursor)
throws IOException
processFragmentClose in class TemplateProcessGeneratorIOExceptionprotected void processDictionary()
throws IOException
processDictionary in class TemplateProcessGeneratorIOExceptionprotected void processByteArrayOptional(String name, int idx, int fieldCursor, long id) throws IOException
processByteArrayOptional in class TemplateProcessGeneratorIOExceptionprotected void processByteArray(String name, int idx, int fieldCursor, long id) throws IOException
processByteArray in class TemplateProcessGeneratorIOExceptionprotected void processTextUTF8Optional(String name, int idx, int fieldCursor, long id) throws IOException
processTextUTF8Optional in class TemplateProcessGeneratorIOExceptionprotected void processTextUTF8(String name, int idx, int fieldCursor, long id) throws IOException
processTextUTF8 in class TemplateProcessGeneratorIOExceptionprotected void processTextASCIIOptional(String name, int idx, int fieldCursor, long id) throws IOException
processTextASCIIOptional in class TemplateProcessGeneratorIOExceptionprotected void processTextASCII(String name, int idx, int fieldCursor, long id) throws IOException
processTextASCII in class TemplateProcessGeneratorIOExceptionprotected void processDecimalOptional(String name, int idx, int fieldCursor, long id) throws IOException
processDecimalOptional in class TemplateProcessGeneratorIOExceptionprotected void processDecimal(String name, int idx, int fieldCursor, long id) throws IOException
processDecimal in class TemplateProcessGeneratorIOExceptionprotected void processLongUnsignedOptional(String name, int idx, int fieldCursor, long id) throws IOException
processLongUnsignedOptional in class TemplateProcessGeneratorIOExceptionprotected void processLongSignedOptional(String name, int idx, int fieldCursor, long id) throws IOException
processLongSignedOptional in class TemplateProcessGeneratorIOExceptionprotected void processLongUnsigned(String name, int idx, int fieldCursor, long id) throws IOException
processLongUnsigned in class TemplateProcessGeneratorIOExceptionprotected void processLongSigned(String name, int idx, int fieldCursor, long id) throws IOException
processLongSigned in class TemplateProcessGeneratorIOExceptionprotected void processIntegerUnsignedOptional(String name, int i, int fieldCursor, long id) throws IOException
processIntegerUnsignedOptional in class TemplateProcessGeneratorIOExceptionprotected void processIntegerSignedOptional(String name, int i, int fieldCursor, long id) throws IOException
processIntegerSignedOptional in class TemplateProcessGeneratorIOExceptionprotected void processIntegerUnsigned(String name, int i, int fieldCursor, long id) throws IOException
processIntegerUnsigned in class TemplateProcessGeneratorIOExceptionprotected void pronghornIntegerSigned(String name, int i, int fieldCursor, long id) throws IOException
pronghornIntegerSigned in class TemplateProcessGeneratorIOExceptionprotected Appendable appendWriteMethodName(Appendable target, int cursor) throws IOException
IOExceptionprotected void processSequenceOpen(int fragmentCursor,
String name,
int idx,
int fieldCursor,
long id)
throws IOException
processSequenceOpen in class TemplateProcessGeneratorIOExceptionprotected void postProcessSequence(int fieldCursor)
throws IOException
postProcessSequence in class TemplateProcessGeneratorIOExceptionprotected void processMessageClose(String name, long id, boolean needsToCloseFragment) throws IOException
processMessageClose in class TemplateProcessGeneratorIOExceptionprotected boolean processSequenceInstanceClose(String name, long id, int fieldCursor) throws IOException
processSequenceInstanceClose in class TemplateProcessGeneratorIOExceptionprotected void processFragmentOpen(String name, int fieldCursor, long id) throws IOException
processFragmentOpen in class TemplateProcessGeneratorIOExceptionprotected void processCalleeOpen(int cursor)
throws IOException
processCalleeOpen in class TemplateProcessGeneratorIOExceptionprotected void processCalleeClose(int cursor)
throws IOException
processCalleeClose in class TemplateProcessGeneratorIOExceptionprotected void appendWriteFragmentLogic(Appendable t, int cursor) throws IOException
IOExceptionprotected void appendAdditionalWriteLogic(Appendable t, int cursor, CharSequence argSignature, int fieldCount, int firstFieldIdx) throws IOException
IOExceptionprotected void headerConstruction()
throws IOException
headerConstruction in class TemplateProcessGeneratorIOExceptionprotected void buildConstructors(Appendable target, String className) throws IOException
IOExceptionprotected void footerConstruction()
throws IOException
footerConstruction in class TemplateProcessGeneratorIOExceptionprotected void additionalMethods(Appendable target) throws IOException
IOExceptionprotected void bodyOfNextMessageIdx(Appendable target) throws IOException
IOExceptionprotected void bodyOfBusinessProcess(Appendable target, int cursor, int firstField, int fieldCount) throws IOException
IOExceptionCopyright © 2018. All Rights Reserved.