public class ProtobufSchemaGenerator extends ProtoBufSchemaVisitor
ProtobufSchema for a given Java POJO, using
 definitions Jackson would use for serialization. An instance is typically
 given to
 ObjectMapper.acceptJsonFormatVisitor(java.lang.Class<?>, com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper)
 which will invoke necessary callbacks.| Modifier and Type | Field and Description | 
|---|---|
| protected HashSet<com.fasterxml.jackson.databind.JavaType> | _generated | 
| protected com.fasterxml.jackson.databind.JavaType | _rootType | 
_builder, _definedTypeElementBuilders, _isNested| Constructor and Description | 
|---|
| ProtobufSchemaGenerator() | 
| Modifier and Type | Method and Description | 
|---|---|
| com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor | expectObjectFormat(com.fasterxml.jackson.databind.JavaType type) | 
| com.fasterxml.jackson.databind.jsonFormatVisitors.JsonStringFormatVisitor | expectStringFormat(com.fasterxml.jackson.databind.JavaType type) | 
| ProtobufSchema | getGeneratedSchema() | 
| ProtobufSchema | getGeneratedSchema(boolean appendDependencies) | 
_throwUnsupported, _throwUnsupported, build, buildWithDependencies, expectAnyFormat, expectArrayFormat, expectBooleanFormat, expectIntegerFormat, expectMapFormat, expectNullFormat, expectNumberFormatprotected HashSet<com.fasterxml.jackson.databind.JavaType> _generated
protected com.fasterxml.jackson.databind.JavaType _rootType
public ProtobufSchema getGeneratedSchema() throws com.fasterxml.jackson.databind.JsonMappingException
com.fasterxml.jackson.databind.JsonMappingExceptionpublic ProtobufSchema getGeneratedSchema(boolean appendDependencies) throws com.fasterxml.jackson.databind.JsonMappingException
com.fasterxml.jackson.databind.JsonMappingExceptionpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor expectObjectFormat(com.fasterxml.jackson.databind.JavaType type)
expectObjectFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectObjectFormat in class ProtoBufSchemaVisitorpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonStringFormatVisitor expectStringFormat(com.fasterxml.jackson.databind.JavaType type)
expectStringFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectStringFormat in class ProtoBufSchemaVisitorCopyright © 2016 FasterXML. All rights reserved.