Package io.protostuff.compiler
Class ProtoToJavaV2ProtocSchemaCompiler
- java.lang.Object
-
- io.protostuff.compiler.STCodeGenerator
-
- io.protostuff.compiler.ProtoToJavaV2ProtocSchemaCompiler
-
- All Implemented Interfaces:
ProtoCompiler
public class ProtoToJavaV2ProtocSchemaCompiler extends STCodeGenerator
Generates aSchema
from the code generated by the c++ v2 protoc.
-
-
Field Summary
-
Fields inherited from class io.protostuff.compiler.STCodeGenerator
DEFAULT_FORMATTERS, DEFAULT_RENDERERS, ERROR_LISTENER, errorCount, FORMAT_DELIM, GROUP_LOADER, id, STRING_ATTRIBUTE_RENDERER, TEMPLATE_BASE
-
-
Constructor Summary
Constructors Constructor Description ProtoToJavaV2ProtocSchemaCompiler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
compile(ProtoModule module, Proto proto)
(package private) static java.lang.String
resolveFileName(Proto proto)
-
Methods inherited from class io.protostuff.compiler.STCodeGenerator
chainedFormat, collect, compile, compile, format, getOutputId, getST, getSTG, override, parseProto, postCompile, setAttributeRenderer, setFormatter, setGroupLoader
-
-
-
-
Method Detail
-
resolveFileName
static java.lang.String resolveFileName(Proto proto)
-
compile
protected void compile(ProtoModule module, Proto proto) throws java.io.IOException
- Specified by:
compile
in classSTCodeGenerator
- Throws:
java.io.IOException
-
-