SchemaAwareAsArraySerializerBase, EnumMapSerializer, MapSerializer, StdArraySerializers.ArraySerializerBasepublic abstract class ContainerSerializerBase<T> extends SerializerBase<T>
JsonSerializer.None_handledType| Modifier | Constructor | Description |
|---|---|---|
protected |
ContainerSerializerBase(java.lang.Class<?> t,
boolean dummy) |
Alternate constructor that is (alas!) needed to work
around kinks of generic type handling
|
protected |
ContainerSerializerBase(java.lang.Class<T> t) |
| Modifier and Type | Method | Description |
|---|---|---|
abstract ContainerSerializerBase<?> |
_withValueTypeSerializer(TypeSerializer vts) |
|
ContainerSerializerBase<?> |
withValueTypeSerializer(TypeSerializer vts) |
Factory(-like) method that can be used to construct a new container
serializer that uses specified
TypeSerializer for decorating
contained values with additional type information. |
isUnwrappingSerializer, serializeWithType, unwrappingSerializerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateObjectNode, createSchemaNode, createSchemaNode, getSchema, handledType, isDefaultSerializer, serialize, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrowprotected ContainerSerializerBase(java.lang.Class<T> t)
protected ContainerSerializerBase(java.lang.Class<?> t,
boolean dummy)
t - public ContainerSerializerBase<?> withValueTypeSerializer(TypeSerializer vts)
TypeSerializer for decorating
contained values with additional type information.vts - Type serializer to use for contained values; can be null,
in which case 'this' serializer is returned as ispublic abstract ContainerSerializerBase<?> _withValueTypeSerializer(TypeSerializer vts)