Class UnwrappableIndexedListSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<T>
com.fasterxml.jackson.databind.ser.std.StdSerializer<T>
com.fasterxml.jackson.databind.ser.ContainerSerializer<T>
com.fasterxml.jackson.databind.ser.std.AsArraySerializerBase<List<?>>
com.regnosys.rosetta.common.serialisation.xml.UnwrappableIndexedListSerializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable,com.fasterxml.jackson.databind.jsonschema.SchemaAware,com.fasterxml.jackson.databind.ser.ContextualSerializer,Serializable
public class UnwrappableIndexedListSerializer
extends com.fasterxml.jackson.databind.ser.std.AsArraySerializerBase<List<?>>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None -
Field Summary
Fields inherited from class com.fasterxml.jackson.databind.ser.std.AsArraySerializerBase
_dynamicSerializers, _elementSerializer, _elementType, _property, _staticTyping, _unwrapSingle, _valueTypeSerializerFields inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
_handledType -
Constructor Summary
ConstructorsConstructorDescriptionUnwrappableIndexedListSerializer(com.fasterxml.jackson.databind.JavaType elemType, boolean staticTyping, com.fasterxml.jackson.databind.jsontype.TypeSerializer vts, com.fasterxml.jackson.databind.JsonSerializer<Object> valueSerializer) UnwrappableIndexedListSerializer(UnwrappableIndexedListSerializer src, com.fasterxml.jackson.databind.BeanProperty property, com.fasterxml.jackson.databind.jsontype.TypeSerializer vts, com.fasterxml.jackson.databind.JsonSerializer<?> valueSerializer, Boolean unwrapSingle) -
Method Summary
Modifier and TypeMethodDescription_withValueTypeSerializer(com.fasterxml.jackson.databind.jsontype.TypeSerializer vts) booleanhasSingleElement(List<?> value) booleanfinal voidserialize(List<?> value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) voidserializeContents(List<?> value, com.fasterxml.jackson.core.JsonGenerator g, com.fasterxml.jackson.databind.SerializerProvider provider) voidserializeContentsUsing(List<?> value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider, com.fasterxml.jackson.databind.JsonSerializer<Object> ser) voidserializeTypedContents(List<?> value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) voidsetNextElementSubstitutionMap(SubstitutionMap elementSubstitutionMap) unwrappingSerializer(com.fasterxml.jackson.databind.util.NameTransformer t) withResolved(com.fasterxml.jackson.databind.BeanProperty property, com.fasterxml.jackson.databind.jsontype.TypeSerializer vts, com.fasterxml.jackson.databind.JsonSerializer<?> elementSerializer, Boolean unwrapSingle) Methods inherited from class com.fasterxml.jackson.databind.ser.std.AsArraySerializerBase
_findAndAddDynamic, _findAndAddDynamic, acceptJsonFormatVisitor, createContextual, getContentSerializer, getContentType, getSchema, serializeWithType, withResolvedMethods inherited from class com.fasterxml.jackson.databind.ser.ContainerSerializer
hasContentTypeAnnotation, withValueTypeSerializerMethods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowMethods inherited from class com.fasterxml.jackson.databind.JsonSerializer
getDelegatee, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, usesObjectId, withFilterId, withIgnoredProperties
-
Constructor Details
-
UnwrappableIndexedListSerializer
public UnwrappableIndexedListSerializer(com.fasterxml.jackson.databind.JavaType elemType, boolean staticTyping, com.fasterxml.jackson.databind.jsontype.TypeSerializer vts, com.fasterxml.jackson.databind.JsonSerializer<Object> valueSerializer) -
UnwrappableIndexedListSerializer
public UnwrappableIndexedListSerializer(UnwrappableIndexedListSerializer src, com.fasterxml.jackson.databind.BeanProperty property, com.fasterxml.jackson.databind.jsontype.TypeSerializer vts, com.fasterxml.jackson.databind.JsonSerializer<?> valueSerializer, Boolean unwrapSingle)
-
-
Method Details
-
setNextElementSubstitutionMap
-
unwrappingSerializer
public UnwrappingIndexedListSerializer unwrappingSerializer(com.fasterxml.jackson.databind.util.NameTransformer t) - Overrides:
unwrappingSerializerin classcom.fasterxml.jackson.databind.JsonSerializer<List<?>>
-
withResolved
public UnwrappableIndexedListSerializer withResolved(com.fasterxml.jackson.databind.BeanProperty property, com.fasterxml.jackson.databind.jsontype.TypeSerializer vts, com.fasterxml.jackson.databind.JsonSerializer<?> elementSerializer, Boolean unwrapSingle) - Specified by:
withResolvedin classcom.fasterxml.jackson.databind.ser.std.AsArraySerializerBase<List<?>>
-
isEmpty
- Overrides:
isEmptyin classcom.fasterxml.jackson.databind.JsonSerializer<List<?>>
-
hasSingleElement
- Specified by:
hasSingleElementin classcom.fasterxml.jackson.databind.ser.ContainerSerializer<List<?>>
-
_withValueTypeSerializer
public UnwrappableIndexedListSerializer _withValueTypeSerializer(com.fasterxml.jackson.databind.jsontype.TypeSerializer vts) - Specified by:
_withValueTypeSerializerin classcom.fasterxml.jackson.databind.ser.ContainerSerializer<List<?>>
-
serialize
public final void serialize(List<?> value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException - Overrides:
serializein classcom.fasterxml.jackson.databind.ser.std.AsArraySerializerBase<List<?>>- Throws:
IOException
-
serializeContents
public void serializeContents(List<?> value, com.fasterxml.jackson.core.JsonGenerator g, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException - Specified by:
serializeContentsin classcom.fasterxml.jackson.databind.ser.std.AsArraySerializerBase<List<?>>- Throws:
IOException
-
serializeContentsUsing
public void serializeContentsUsing(List<?> value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider, com.fasterxml.jackson.databind.JsonSerializer<Object> ser) throws IOException - Throws:
IOException
-
serializeTypedContents
public void serializeTypedContents(List<?> value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException - Throws:
IOException
-