public abstract class ContainerSerializerBase<T>
extends com.fasterxml.jackson.databind.ser.ContainerSerializer<T>
| Modifier and Type | Field and Description |
|---|---|
protected String |
_schemeElementType |
| Modifier | Constructor and Description |
|---|---|
protected |
ContainerSerializerBase(Class<T> type,
String schemaElementType) |
protected |
ContainerSerializerBase(ContainerSerializerBase<?> src) |
protected |
ContainerSerializerBase(com.fasterxml.jackson.databind.JavaType type,
String schemaElementType) |
| Modifier and Type | Method and Description |
|---|---|
protected com.fasterxml.jackson.databind.ser.ContainerSerializer<?> |
_withValueTypeSerializer(com.fasterxml.jackson.databind.jsontype.TypeSerializer vts) |
abstract void |
acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper visitor,
com.fasterxml.jackson.databind.JavaType typeHint) |
com.fasterxml.jackson.databind.JsonSerializer<?> |
getContentSerializer() |
com.fasterxml.jackson.databind.JavaType |
getContentType() |
com.fasterxml.jackson.databind.JsonNode |
getSchema(com.fasterxml.jackson.databind.SerializerProvider provider,
Type typeHint) |
protected com.fasterxml.jackson.databind.JsonSerializer<?> |
getSerializer(com.fasterxml.jackson.databind.JavaType type) |
abstract boolean |
isEmpty(com.fasterxml.jackson.databind.SerializerProvider provider,
T value) |
void |
serialize(T value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
protected abstract void |
serializeContents(T value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
void |
serializeWithType(T value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider provider,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) |
hasContentTypeAnnotation, hasSingleElement, withValueTypeSerializer_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowprotected final String _schemeElementType
protected ContainerSerializerBase(com.fasterxml.jackson.databind.JavaType type,
String schemaElementType)
protected ContainerSerializerBase(ContainerSerializerBase<?> src)
public com.fasterxml.jackson.databind.JsonNode getSchema(com.fasterxml.jackson.databind.SerializerProvider provider,
Type typeHint)
getSchema in interface com.fasterxml.jackson.databind.jsonschema.SchemaAwaregetSchema in class com.fasterxml.jackson.databind.ser.std.StdSerializer<T>public abstract boolean isEmpty(com.fasterxml.jackson.databind.SerializerProvider provider,
T value)
isEmpty in class com.fasterxml.jackson.databind.JsonSerializer<T>public com.fasterxml.jackson.databind.JsonSerializer<?> getContentSerializer()
getContentSerializer in class com.fasterxml.jackson.databind.ser.ContainerSerializer<T>protected com.fasterxml.jackson.databind.ser.ContainerSerializer<?> _withValueTypeSerializer(com.fasterxml.jackson.databind.jsontype.TypeSerializer vts)
_withValueTypeSerializer in class com.fasterxml.jackson.databind.ser.ContainerSerializer<T>public com.fasterxml.jackson.databind.JavaType getContentType()
getContentType in class com.fasterxml.jackson.databind.ser.ContainerSerializer<T>public abstract void acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper visitor,
com.fasterxml.jackson.databind.JavaType typeHint)
throws com.fasterxml.jackson.databind.JsonMappingException
acceptJsonFormatVisitor in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitableacceptJsonFormatVisitor in class com.fasterxml.jackson.databind.ser.std.StdSerializer<T>com.fasterxml.jackson.databind.JsonMappingExceptionpublic void serialize(T value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<T>IOExceptionprotected abstract void serializeContents(T value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
IOExceptionpublic void serializeWithType(T value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) throws IOException
serializeWithType in class com.fasterxml.jackson.databind.JsonSerializer<T>IOExceptionprotected com.fasterxml.jackson.databind.JsonSerializer<?> getSerializer(com.fasterxml.jackson.databind.JavaType type)
Copyright © 2022 FasterXML. All rights reserved.