public class ObjectVisitor extends com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.Base implements JsonSchemaProducer, Visitor
Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.databind.SerializerProvider |
provider |
protected ObjectSchema |
schema |
Constructor and Description |
---|
ObjectVisitor(com.fasterxml.jackson.databind.SerializerProvider provider,
ObjectSchema schema)
Deprecated.
Since 2.4; call constructor that takes
WrapperFactory |
ObjectVisitor(com.fasterxml.jackson.databind.SerializerProvider provider,
ObjectSchema schema,
WrapperFactory wrapperFactory) |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.SerializerProvider |
getProvider() |
ObjectSchema |
getSchema() |
protected com.fasterxml.jackson.databind.JsonSerializer<Object> |
getSer(com.fasterxml.jackson.databind.BeanProperty prop) |
WrapperFactory |
getWrapperFactory() |
void |
optionalProperty(com.fasterxml.jackson.databind.BeanProperty prop) |
void |
optionalProperty(String name,
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler,
com.fasterxml.jackson.databind.JavaType propertyTypeHint) |
void |
property(com.fasterxml.jackson.databind.BeanProperty prop) |
void |
property(String name,
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler,
com.fasterxml.jackson.databind.JavaType propertyTypeHint) |
protected JsonSchema |
propertySchema(com.fasterxml.jackson.databind.BeanProperty prop) |
protected JsonSchema |
propertySchema(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler,
com.fasterxml.jackson.databind.JavaType propertyTypeHint) |
void |
setProvider(com.fasterxml.jackson.databind.SerializerProvider p)
Deprecated.
Construct instances with provider instead
|
Visitor |
setVisitorContext(VisitorContext rvc) |
void |
setWrapperFactory(WrapperFactory wrapperFactory)
Deprecated.
Construct instances with provider instead
|
protected final ObjectSchema schema
protected com.fasterxml.jackson.databind.SerializerProvider provider
@Deprecated public ObjectVisitor(com.fasterxml.jackson.databind.SerializerProvider provider, ObjectSchema schema)
WrapperFactory
public ObjectVisitor(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.JsonObjectFormatVisitor.Base
@Deprecated 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.JsonObjectFormatVisitor.Base
public WrapperFactory getWrapperFactory()
@Deprecated public void setWrapperFactory(WrapperFactory wrapperFactory)
public void optionalProperty(com.fasterxml.jackson.databind.BeanProperty prop) throws com.fasterxml.jackson.databind.JsonMappingException
optionalProperty
in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor
optionalProperty
in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.Base
com.fasterxml.jackson.databind.JsonMappingException
public void optionalProperty(String name, com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler, com.fasterxml.jackson.databind.JavaType propertyTypeHint) throws com.fasterxml.jackson.databind.JsonMappingException
optionalProperty
in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor
optionalProperty
in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.Base
com.fasterxml.jackson.databind.JsonMappingException
public void property(com.fasterxml.jackson.databind.BeanProperty prop) throws com.fasterxml.jackson.databind.JsonMappingException
property
in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor
property
in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.Base
com.fasterxml.jackson.databind.JsonMappingException
public void property(String name, com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler, com.fasterxml.jackson.databind.JavaType propertyTypeHint) throws com.fasterxml.jackson.databind.JsonMappingException
property
in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor
property
in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.Base
com.fasterxml.jackson.databind.JsonMappingException
protected JsonSchema propertySchema(com.fasterxml.jackson.databind.BeanProperty prop) throws com.fasterxml.jackson.databind.JsonMappingException
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
protected com.fasterxml.jackson.databind.JsonSerializer<Object> getSer(com.fasterxml.jackson.databind.BeanProperty prop) 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.