public final class JPRAJavaGenerator extends Object implements JPRAJavaGeneratorType
JPRAJavaGeneratorType interface.| Modifier and Type | Method and Description |
|---|---|
void |
generatePackedImplementation(TPacked t,
OutputStream os)
Generate Java source code for the implementation of a
packed
definition. |
void |
generatePackedInterface(TPacked t,
OutputStream os)
Generate Java source code for the readable and writable interface of a
packed definition. |
void |
generatePackedInterfaceReadable(TPacked t,
OutputStream os)
Generate Java source code for the readable interface of a
packed
definition. |
void |
generatePackedInterfaceWritable(TPacked t,
OutputStream os)
Generate Java source code for the writable interface of a
packed
definition. |
void |
generateRecordImplementation(TRecord t,
OutputStream os)
Generate Java source code for the implementation of a
record
definition. |
void |
generateRecordInterface(TRecord t,
OutputStream os)
Generate Java source code for the readable and writable interface of a
record definition. |
void |
generateRecordInterfaceReadable(TRecord t,
OutputStream os)
Generate Java source code for the readable interface of a
record
definition. |
void |
generateRecordInterfaceWritable(TRecord t,
OutputStream os)
Generate Java source code for the writable interface of a
record
definition. |
String |
getPackedImplementationByteBufferedName(TypeName t) |
String |
getPackedInterfaceName(TypeName t) |
String |
getPackedInterfaceReadableName(TypeName t) |
String |
getPackedInterfaceWritableName(TypeName t) |
String |
getRecordImplementationByteBufferedName(TypeName t) |
String |
getRecordInterfaceName(TypeName t) |
String |
getRecordInterfaceReadableName(TypeName t) |
String |
getRecordInterfaceWritableName(TypeName t) |
static JPRAJavaGeneratorType |
newGenerator() |
public static JPRAJavaGeneratorType newGenerator()
public String getRecordImplementationByteBufferedName(TypeName t)
getRecordImplementationByteBufferedName in interface JPRAJavaGeneratorTypet - The type nametpublic String getRecordInterfaceReadableName(TypeName t)
getRecordInterfaceReadableName in interface JPRAJavaGeneratorTypet - The type nametpublic String getRecordInterfaceWritableName(TypeName t)
getRecordInterfaceWritableName in interface JPRAJavaGeneratorTypet - The type nametpublic String getRecordInterfaceName(TypeName t)
getRecordInterfaceName in interface JPRAJavaGeneratorTypet - The type nametpublic String getPackedImplementationByteBufferedName(TypeName t)
getPackedImplementationByteBufferedName in interface JPRAJavaGeneratorTypet - The type nametpublic String getPackedInterfaceReadableName(TypeName t)
getPackedInterfaceReadableName in interface JPRAJavaGeneratorTypet - The type nametpublic String getPackedInterfaceWritableName(TypeName t)
getPackedInterfaceWritableName in interface JPRAJavaGeneratorTypet - The type nametpublic String getPackedInterfaceName(TypeName t)
getPackedInterfaceName in interface JPRAJavaGeneratorTypet - The type nametpublic void generateRecordImplementation(TRecord t, OutputStream os) throws IOException
JPRAJavaGeneratorTyperecord
definition.generateRecordImplementation in interface JPRAJavaGeneratorTypet - The typeos - The output streamIOException - On I/O errorspublic void generateRecordInterfaceReadable(TRecord t, OutputStream os) throws IOException
JPRAJavaGeneratorTyperecord
definition.generateRecordInterfaceReadable in interface JPRAJavaGeneratorTypet - The typeos - The output streamIOException - On I/O errorspublic void generateRecordInterfaceWritable(TRecord t, OutputStream os) throws IOException
JPRAJavaGeneratorTyperecord
definition.generateRecordInterfaceWritable in interface JPRAJavaGeneratorTypet - The typeos - The output streamIOException - On I/O errorspublic void generateRecordInterface(TRecord t, OutputStream os) throws IOException
JPRAJavaGeneratorTyperecord definition.generateRecordInterface in interface JPRAJavaGeneratorTypet - The typeos - The output streamIOException - On I/O errorspublic void generatePackedImplementation(TPacked t, OutputStream os) throws IOException
JPRAJavaGeneratorTypepacked
definition.generatePackedImplementation in interface JPRAJavaGeneratorTypet - The typeos - The output streamIOException - On I/O errorspublic void generatePackedInterfaceReadable(TPacked t, OutputStream os) throws IOException
JPRAJavaGeneratorTypepacked
definition.generatePackedInterfaceReadable in interface JPRAJavaGeneratorTypet - The typeos - The output streamIOException - On I/O errorspublic void generatePackedInterfaceWritable(TPacked t, OutputStream os) throws IOException
JPRAJavaGeneratorTypepacked
definition.generatePackedInterfaceWritable in interface JPRAJavaGeneratorTypet - The typeos - The output streamIOException - On I/O errorspublic void generatePackedInterface(TPacked t, OutputStream os) throws IOException
JPRAJavaGeneratorTypepacked definition.generatePackedInterface in interface JPRAJavaGeneratorTypet - The typeos - The output streamIOException - On I/O errorsCopyright © 2017 <code@io7m.com> http://io7m.com