Class UnwrappableIndexedListSerializer

java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<List<?>>
com.fasterxml.jackson.databind.ser.std.StdSerializer<List<?>>
com.fasterxml.jackson.databind.ser.ContainerSerializer<List<?>>
com.fasterxml.jackson.databind.ser.std.AsArraySerializerBase<List<?>>
com.regnosys.rosetta.common.serialisation.xml.serialization.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, _valueTypeSerializer

    Fields inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer

    _handledType
  • Constructor Summary

    Constructors
    Constructor
    Description
    UnwrappableIndexedListSerializer(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 Type
    Method
    Description
    _withValueTypeSerializer(com.fasterxml.jackson.databind.jsontype.TypeSerializer vts)
     
    boolean
     
    boolean
    isEmpty(com.fasterxml.jackson.databind.SerializerProvider prov, List<?> value)
     
    final void
    serialize(List<?> value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider)
     
    void
    serializeContents(List<?> value, com.fasterxml.jackson.core.JsonGenerator g, com.fasterxml.jackson.databind.SerializerProvider provider)
     
    void
    serializeContentsUsing(List<?> value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider, com.fasterxml.jackson.databind.JsonSerializer<Object> ser)
     
    void
    serializeTypedContents(List<?> value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
     
    void
     
    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, withResolved

    Methods inherited from class com.fasterxml.jackson.databind.ser.ContainerSerializer

    hasContentTypeAnnotation, withValueTypeSerializer

    Methods 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, wrapAndThrow

    Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer

    getDelegatee, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, usesObjectId, withFilterId, withIgnoredProperties

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public void setNextElementSubstitutionMap(SubstitutionMap elementSubstitutionMap)
    • unwrappingSerializer

      public UnwrappingIndexedListSerializer unwrappingSerializer(com.fasterxml.jackson.databind.util.NameTransformer t)
      Overrides:
      unwrappingSerializer in class com.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:
      withResolved in class com.fasterxml.jackson.databind.ser.std.AsArraySerializerBase<List<?>>
    • isEmpty

      public boolean isEmpty(com.fasterxml.jackson.databind.SerializerProvider prov, List<?> value)
      Overrides:
      isEmpty in class com.fasterxml.jackson.databind.JsonSerializer<List<?>>
    • hasSingleElement

      public boolean hasSingleElement(List<?> value)
      Specified by:
      hasSingleElement in class com.fasterxml.jackson.databind.ser.ContainerSerializer<List<?>>
    • _withValueTypeSerializer

      public UnwrappableIndexedListSerializer _withValueTypeSerializer(com.fasterxml.jackson.databind.jsontype.TypeSerializer vts)
      Specified by:
      _withValueTypeSerializer in class com.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:
      serialize in class com.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:
      serializeContents in class com.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