public class TemplateProcessGeneratorLowLevelReader extends TemplateProcessGenerator
| Modifier and Type | Field and Description |
|---|---|
protected String |
readerName |
schema| Constructor and Description |
|---|
TemplateProcessGeneratorLowLevelReader(MessageSchema schema,
Appendable bodyTarget) |
TemplateProcessGeneratorLowLevelReader(MessageSchema schema,
Appendable bodyTarget,
String className,
String baseClassName,
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 |
bodyBuilder(MessageSchema schema,
int cursor,
int fragmentParaCount,
CharSequence[] fragmentParaTypes,
CharSequence[] fragmentParaArgs,
CharSequence[] fragmentParaSuff) |
protected void |
buildConstructors(Appendable target,
String className) |
protected void |
defineMembers() |
protected void |
footerConstruction() |
protected void |
generateRequestShutDown() |
String |
getClassName() |
String |
getPackageName() |
protected void |
headerConstruction() |
protected void |
helperMethods(FieldReferenceOffsetManager from) |
protected void |
negativeOneCase(Appendable target) |
protected void |
postProcessSequence(int fieldCursor) |
protected void |
preprocessTextfieldsDef(String name,
long id) |
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 |
processEndOfSequence(String name,
long id) |
protected void |
processFragmentClose(int cursor) |
protected void |
processFragmentOpen(String string,
int cursor,
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) |
void |
processSchema() |
protected boolean |
processSequenceInstanceClose(String name,
long id,
int cursor) |
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) |
void |
readOptionalInteger(String name,
long id) |
void |
readRequiredPrimitive(String name,
long id,
String typeName,
String methodName) |
protected void |
startupBody(Appendable target) |
protected final String readerName
public TemplateProcessGeneratorLowLevelReader(MessageSchema schema, Appendable bodyTarget)
public TemplateProcessGeneratorLowLevelReader(MessageSchema schema, Appendable bodyTarget, String className, String baseClassName, String packageName)
public String getClassName()
public String getPackageName()
protected void startupBody(Appendable target) throws IOException
IOExceptionprotected void additionalMembers(Appendable target) throws IOException
IOExceptionpublic void processSchema()
throws IOException
processSchema in class TemplateProcessGeneratorIOExceptionprotected void helperMethods(FieldReferenceOffsetManager from) throws IOException
IOExceptionprotected void preprocessTextfieldsDef(String name, long id) 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 negativeOneCase(Appendable target) throws IOException
IOExceptionprotected void processCallerPost()
throws IOException
processCallerPost in class TemplateProcessGeneratorIOExceptionprotected void processCalleeOpen(int cursor)
throws IOException
processCalleeOpen in class TemplateProcessGeneratorIOExceptionprotected void processCalleeClose(int cursor)
throws IOException
processCalleeClose in class TemplateProcessGeneratorIOExceptionprotected void bodyBuilder(MessageSchema schema, int cursor, int fragmentParaCount, CharSequence[] fragmentParaTypes, CharSequence[] fragmentParaArgs, CharSequence[] fragmentParaSuff)
protected void processFragmentOpen(String string, int cursor, long id) throws IOException
processFragmentOpen in class TemplateProcessGeneratorIOExceptionprotected void processSequenceOpen(int fragmentCursor,
String name,
int idx,
int fieldCursor,
long id)
throws IOException
processSequenceOpen in class TemplateProcessGeneratorIOExceptionprotected void processFragmentClose(int cursor)
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 TemplateProcessGeneratorIOExceptionpublic void readOptionalInteger(String name, long id) throws IOException
IOExceptionprotected 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 TemplateProcessGeneratorIOExceptionpublic void readRequiredPrimitive(String name, long id, String typeName, String methodName) throws IOException
IOExceptionprotected 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 cursor) throws IOException
processSequenceInstanceClose in class TemplateProcessGeneratorIOExceptionprotected void processEndOfSequence(String name, long id)
protected void footerConstruction()
throws IOException
footerConstruction in class TemplateProcessGeneratorIOExceptionprotected void headerConstruction()
throws IOException
headerConstruction in class TemplateProcessGeneratorIOExceptionprotected void generateRequestShutDown()
throws IOException
IOExceptionprotected void buildConstructors(Appendable target, String className) throws IOException
IOExceptionprotected void additionalImports(MessageSchema schema, Appendable target)
protected void defineMembers()
throws IOException
defineMembers in class TemplateProcessGeneratorIOExceptionCopyright © 2018. All Rights Reserved.