public class ProtoToJavaBeanCompiler extends STCodeGenerator
ERROR_LISTENER, errorCount, FORMAT_DELIM, GROUP_LOADER, id, STRING_ATTRIBUTE_RENDERER, TEMPLATE_BASE| Constructor and Description |
|---|
ProtoToJavaBeanCompiler() |
ProtoToJavaBeanCompiler(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
compile(ProtoModule module,
Proto proto) |
protected void |
writeEnums(ProtoModule module,
Proto proto,
java.lang.String javaPackageName,
org.antlr.stringtemplate.StringTemplateGroup group) |
protected void |
writeMessages(ProtoModule module,
Proto proto,
java.lang.String javaPackageName,
org.antlr.stringtemplate.StringTemplateGroup group) |
chainedFormat, collect, compile, compile, format, getOutputId, getST, getSTG, override, parseProto, postCompile, setAttributeRenderer, setFormatter, setGroupLoaderpublic ProtoToJavaBeanCompiler()
public ProtoToJavaBeanCompiler(java.lang.String id)
public void compile(ProtoModule module, Proto proto) throws java.io.IOException
compile in class STCodeGeneratorjava.io.IOExceptionprotected void writeMessages(ProtoModule module, Proto proto, java.lang.String javaPackageName, org.antlr.stringtemplate.StringTemplateGroup group) throws java.io.IOException
java.io.IOExceptionprotected void writeEnums(ProtoModule module, Proto proto, java.lang.String javaPackageName, org.antlr.stringtemplate.StringTemplateGroup group) throws java.io.IOException
java.io.IOExceptionCopyright © 2009-2015. All Rights Reserved.