public class ArrayVisitor extends com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor.Base implements JsonSchemaProducer, Visitor
Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.databind.SerializerProvider |
provider |
protected ArraySchema |
schema |
Constructor and Description |
---|
ArrayVisitor(com.fasterxml.jackson.databind.SerializerProvider provider,
ArraySchema schema) |
ArrayVisitor(com.fasterxml.jackson.databind.SerializerProvider provider,
ArraySchema schema,
WrapperFactory wrapperFactory) |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.SerializerProvider |
getProvider() |
JsonSchema |
getSchema() |
WrapperFactory |
getWrapperFactory() |
void |
itemsFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes format) |
void |
itemsFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler,
com.fasterxml.jackson.databind.JavaType contentType) |
void |
setProvider(com.fasterxml.jackson.databind.SerializerProvider p) |
Visitor |
setVisitorContext(VisitorContext rvc) |
void |
setWrapperFactory(WrapperFactory wrapperFactory) |
protected final ArraySchema schema
protected com.fasterxml.jackson.databind.SerializerProvider provider
public ArrayVisitor(com.fasterxml.jackson.databind.SerializerProvider provider, ArraySchema schema)
public ArrayVisitor(com.fasterxml.jackson.databind.SerializerProvider provider, ArraySchema schema, WrapperFactory wrapperFactory)
public JsonSchema 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.JsonArrayFormatVisitor.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.JsonArrayFormatVisitor.Base
public WrapperFactory getWrapperFactory()
public void setWrapperFactory(WrapperFactory wrapperFactory)
public void itemsFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler, com.fasterxml.jackson.databind.JavaType contentType) throws com.fasterxml.jackson.databind.JsonMappingException
itemsFormat
in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor
itemsFormat
in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor.Base
com.fasterxml.jackson.databind.JsonMappingException
public void itemsFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes format) throws com.fasterxml.jackson.databind.JsonMappingException
itemsFormat
in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor
itemsFormat
in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor.Base
com.fasterxml.jackson.databind.JsonMappingException
public Visitor setVisitorContext(VisitorContext rvc)
setVisitorContext
in interface Visitor
Copyright © 2014-2015 FasterXML. All Rights Reserved.