public static class JsonArrayFormatVisitor.Base extends java.lang.Object implements JsonArrayFormatVisitor
JsonArrayFormatVisitor.Base| Constructor and Description |
|---|
Base() |
Base(SerializerProvider p) |
| Modifier and Type | Method and Description |
|---|---|
SerializerProvider |
getProvider() |
void |
itemsFormat(JsonFormatTypes format)
Visit method that is called if the content type is a simple
scalar type like
JsonFormatTypes.STRING (but not
for structured types like JsonFormatTypes.OBJECT since
they would be missing type information). |
void |
itemsFormat(JsonFormatVisitable handler,
JavaType elementType)
Visit method called for structured types, as well as possibly
for leaf types (especially if handled by custom serializers).
|
void |
setProvider(SerializerProvider p) |
public Base()
public Base(SerializerProvider p)
public SerializerProvider getProvider()
getProvider in interface JsonFormatVisitorWithSerializerProviderpublic void setProvider(SerializerProvider p)
setProvider in interface JsonFormatVisitorWithSerializerProviderpublic void itemsFormat(JsonFormatVisitable handler, JavaType elementType) throws JsonMappingException
JsonArrayFormatVisitoritemsFormat in interface JsonArrayFormatVisitorhandler - Serializer used, to allow for further callbackselementType - Type of elements in JSON array valueJsonMappingExceptionpublic void itemsFormat(JsonFormatTypes format) throws JsonMappingException
JsonArrayFormatVisitorJsonFormatTypes.STRING (but not
for structured types like JsonFormatTypes.OBJECT since
they would be missing type information).itemsFormat in interface JsonArrayFormatVisitorJsonMappingExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved