public abstract class ContainerSerializerBase<T>
extends com.fasterxml.jackson.databind.ser.std.StdSerializer<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 |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
getSchema(com.fasterxml.jackson.databind.SerializerProvider provider,
Type typeHint) |
com.fasterxml.jackson.databind.JsonSerializer<?> |
getSerializer(com.fasterxml.jackson.databind.JavaType type) |
void |
serialize(T value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
protected abstract void |
serializeContents(T value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
void |
serializeWithType(T value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) |
acceptJsonFormatVisitor, createObjectNode, createSchemaNode, createSchemaNode, findConvertingContentSerializer, findPropertyFilter, getSchema, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrowprotected final String _schemeElementType
protected ContainerSerializerBase(com.fasterxml.jackson.databind.JavaType type,
String schemaElementType)
protected ContainerSerializerBase(ContainerSerializerBase<?> src)
public com.fasterxml.jackson.databind.JsonSerializer<?> getSerializer(com.fasterxml.jackson.databind.JavaType type)
public void serialize(T value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException, com.fasterxml.jackson.core.JsonGenerationException
serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<T>IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void serializeWithType(T value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) throws IOException, com.fasterxml.jackson.core.JsonGenerationException
serializeWithType in class com.fasterxml.jackson.databind.JsonSerializer<T>IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic 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>protected abstract void serializeContents(T value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException, com.fasterxml.jackson.core.JsonGenerationException
IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionCopyright © 2014-2015 FasterXML. All Rights Reserved.