public abstract class ContainerSerializerBase<T> extends SerializerBase<T>
JsonSerializer.None_handledType| Modifier | Constructor and Description |
|---|---|
protected |
ContainerSerializerBase(Class<?> t,
boolean dummy)
Alternate constructor that is (alas!) needed to work
around kinks of generic type handling
|
protected |
ContainerSerializerBase(Class<T> t) |
| Modifier and Type | Method and 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. |
createObjectNode, createSchemaNode, createSchemaNode, getSchema, handledType, isDefaultSerializer, serialize, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrowisUnwrappingSerializer, serializeWithType, unwrappingSerializerprotected ContainerSerializerBase(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)