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, _simpleType| Constructor and Description | 
|---|
| ProtobufSchemaGenerator() | 
| Modifier and Type | Method and Description | 
|---|---|
| com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor | expectArrayFormat(com.fasterxml.jackson.databind.JavaType convertedType) | 
| com.fasterxml.jackson.databind.jsonFormatVisitors.JsonBooleanFormatVisitor | expectBooleanFormat(com.fasterxml.jackson.databind.JavaType convertedType) | 
| com.fasterxml.jackson.databind.jsonFormatVisitors.JsonIntegerFormatVisitor | expectIntegerFormat(com.fasterxml.jackson.databind.JavaType type) | 
| com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor | expectMapFormat(com.fasterxml.jackson.databind.JavaType mapType) | 
| com.fasterxml.jackson.databind.jsonFormatVisitors.JsonNumberFormatVisitor | expectNumberFormat(com.fasterxml.jackson.databind.JavaType convertedType) | 
| 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, expectNullFormat, getSimpleTypeprotected 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.JsonMapFormatVisitor expectMapFormat(com.fasterxml.jackson.databind.JavaType mapType)
expectMapFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectMapFormat in class ProtoBufSchemaVisitorpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor expectArrayFormat(com.fasterxml.jackson.databind.JavaType convertedType)
expectArrayFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectArrayFormat 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 ProtoBufSchemaVisitorpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonNumberFormatVisitor expectNumberFormat(com.fasterxml.jackson.databind.JavaType convertedType)
expectNumberFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectNumberFormat in class ProtoBufSchemaVisitorpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonIntegerFormatVisitor expectIntegerFormat(com.fasterxml.jackson.databind.JavaType type)
expectIntegerFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectIntegerFormat in class ProtoBufSchemaVisitorpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonBooleanFormatVisitor expectBooleanFormat(com.fasterxml.jackson.databind.JavaType convertedType)
expectBooleanFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectBooleanFormat in class ProtoBufSchemaVisitorCopyright © 2017 FasterXML. All rights reserved.