Class ProtoToJavaV2ProtocSchemaCompiler
java.lang.Object
io.protostuff.compiler.STCodeGenerator
io.protostuff.compiler.ProtoToJavaV2ProtocSchemaCompiler
- All Implemented Interfaces:
ProtoCompiler
Generates a
Schema from the code generated by the c++ v2 protoc.-
Field Summary
Fields inherited from class STCodeGenerator
DEFAULT_FORMATTERS, DEFAULT_RENDERERS, ERROR_LISTENER, errorCount, FORMAT_DELIM, GROUP_LOADER, id, STRING_ATTRIBUTE_RENDERER, TEMPLATE_BASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcompile(ProtoModule module, Proto proto) (package private) static StringresolveFileName(Proto proto) Methods inherited from class STCodeGenerator
chainedFormat, collect, compile, compile, format, getOutputId, getST, getSTG, override, parseProto, postCompile, setAttributeRenderer, setFormatter, setGroupLoader
-
Constructor Details
-
ProtoToJavaV2ProtocSchemaCompiler
public ProtoToJavaV2ProtocSchemaCompiler()
-
-
Method Details
-
resolveFileName
-
compile
- Specified by:
compilein classSTCodeGenerator- Throws:
IOException
-