public class MapVisitor extends com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor.Base implements JsonSchemaProducer, Visitor
Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.databind.SerializerProvider |
provider |
protected ObjectSchema |
schema |
Constructor and Description |
---|
MapVisitor(com.fasterxml.jackson.databind.SerializerProvider provider,
ObjectSchema schema) |
MapVisitor(com.fasterxml.jackson.databind.SerializerProvider provider,
ObjectSchema schema,
WrapperFactory wrapperFactory) |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.SerializerProvider |
getProvider() |
ObjectSchema |
getSchema() |
void |
keyFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler,
com.fasterxml.jackson.databind.JavaType keyType) |
protected JsonSchema |
propertySchema(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler,
com.fasterxml.jackson.databind.JavaType propertyTypeHint) |
void |
setProvider(com.fasterxml.jackson.databind.SerializerProvider p) |
Visitor |
setVisitorContext(VisitorContext rvc) |
void |
valueFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler,
com.fasterxml.jackson.databind.JavaType valueType) |
protected final ObjectSchema schema
protected com.fasterxml.jackson.databind.SerializerProvider provider
public MapVisitor(com.fasterxml.jackson.databind.SerializerProvider provider, ObjectSchema schema)
public MapVisitor(com.fasterxml.jackson.databind.SerializerProvider provider, ObjectSchema schema, WrapperFactory wrapperFactory)
public ObjectSchema getSchema()
getSchema
in interface JsonSchemaProducer
public com.fasterxml.jackson.databind.SerializerProvider getProvider()
getProvider
in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWithSerializerProvider
getProvider
in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor.Base
public void setProvider(com.fasterxml.jackson.databind.SerializerProvider p)
setProvider
in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWithSerializerProvider
setProvider
in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor.Base
public void keyFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler, com.fasterxml.jackson.databind.JavaType keyType) throws com.fasterxml.jackson.databind.JsonMappingException
keyFormat
in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor
keyFormat
in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor.Base
com.fasterxml.jackson.databind.JsonMappingException
public void valueFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler, com.fasterxml.jackson.databind.JavaType valueType) throws com.fasterxml.jackson.databind.JsonMappingException
valueFormat
in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor
valueFormat
in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor.Base
com.fasterxml.jackson.databind.JsonMappingException
protected JsonSchema propertySchema(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler, com.fasterxml.jackson.databind.JavaType propertyTypeHint) throws com.fasterxml.jackson.databind.JsonMappingException
com.fasterxml.jackson.databind.JsonMappingException
public Visitor setVisitorContext(VisitorContext rvc)
setVisitorContext
in interface Visitor
Copyright © 2014-2015 FasterXML. All Rights Reserved.