public class EnumElementVisitor extends com.fasterxml.jackson.databind.jsonFormatVisitors.JsonStringFormatVisitor.Base implements TypeElementBuilder
Constructor and Description |
---|
EnumElementVisitor(com.fasterxml.jackson.databind.SerializerProvider provider,
com.fasterxml.jackson.databind.JavaType type,
DefinedTypeElementBuilders definedTypeElementBuilders,
boolean isNested) |
Modifier and Type | Method and Description |
---|---|
com.squareup.protoparser.TypeElement |
build() |
protected com.squareup.protoparser.EnumConstantElement |
buildEnumConstant(String name) |
void |
enumTypes(Set<String> enums) |
format
public EnumElementVisitor(com.fasterxml.jackson.databind.SerializerProvider provider, com.fasterxml.jackson.databind.JavaType type, DefinedTypeElementBuilders definedTypeElementBuilders, boolean isNested)
public com.squareup.protoparser.TypeElement build()
build
in interface TypeElementBuilder
public void enumTypes(Set<String> enums)
enumTypes
in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormatVisitor
enumTypes
in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormatVisitor.Base
protected com.squareup.protoparser.EnumConstantElement buildEnumConstant(String name)
Copyright © 2019 FasterXML. All rights reserved.