org.codehaus.jackson.map.ser
Class ContainerSerializers

java.lang.Object
  extended by org.codehaus.jackson.map.ser.ContainerSerializers

public final class ContainerSerializers
extends Object

Dummy container class to group standard container serializers: serializers that can serialize things like Lists, Maps and such.

TODO: as per [JACKSON-55], should try to add path info for all serializers; is still missing those for some container types.


Nested Class Summary
static class ContainerSerializers.CollectionSerializer
          Fallback serializer for cases where Collection is not known to be of type for which more specializer serializer exists (such as index-accessible List).
static class ContainerSerializers.EnumSetSerializer
           
static class ContainerSerializers.IndexedListSerializer
          This is an optimizied serializer for Lists that can be efficiently traversed by index (as opposed to others, such as LinkedList that can not}.
static class ContainerSerializers.IterableSerializer
           
static class ContainerSerializers.IteratorSerializer
           
 
Method Summary
static ContainerSerializerBase<?> collectionSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts)
           
static JsonSerializer<?> enumSetSerializer(JavaType enumType)
           
static ContainerSerializerBase<?> indexedListSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts)
           
static ContainerSerializerBase<?> iterableSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts)
           
static ContainerSerializerBase<?> iteratorSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

indexedListSerializer

public static ContainerSerializerBase<?> indexedListSerializer(JavaType elemType,
                                                               boolean staticTyping,
                                                               TypeSerializer vts)

collectionSerializer

public static ContainerSerializerBase<?> collectionSerializer(JavaType elemType,
                                                              boolean staticTyping,
                                                              TypeSerializer vts)

iteratorSerializer

public static ContainerSerializerBase<?> iteratorSerializer(JavaType elemType,
                                                            boolean staticTyping,
                                                            TypeSerializer vts)

iterableSerializer

public static ContainerSerializerBase<?> iterableSerializer(JavaType elemType,
                                                            boolean staticTyping,
                                                            TypeSerializer vts)

enumSetSerializer

public static JsonSerializer<?> enumSetSerializer(JavaType enumType)