org.codehaus.jackson.map.ser
Class ContainerSerializers.IterableSerializer

java.lang.Object
  extended by org.codehaus.jackson.map.JsonSerializer<T>
      extended by org.codehaus.jackson.map.ser.SerializerBase<T>
          extended by org.codehaus.jackson.map.ser.ContainerSerializerBase<T>
              extended by org.codehaus.jackson.map.ser.ContainerSerializers.IterableSerializer
All Implemented Interfaces:
ResolvableSerializer, SchemaAware
Enclosing class:
ContainerSerializers

public static class ContainerSerializers.IterableSerializer
extends ContainerSerializerBase<T>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonSerializer
JsonSerializer.None
 
Field Summary
static ContainerSerializers.IterableSerializer instance
           
 
Fields inherited from class org.codehaus.jackson.map.ser.SerializerBase
_handledType
 
Constructor Summary
ContainerSerializers.IterableSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts)
           
 
Method Summary
 ContainerSerializerBase<?> _withValueTypeSerializer(TypeSerializer vts)
           
 void serializeContents(Iterable<?> value, JsonGenerator jgen, SerializerProvider provider)
           
 
Methods inherited from class org.codehaus.jackson.map.ser.ContainerSerializerBase
withValueTypeSerializer
 
Methods inherited from class org.codehaus.jackson.map.ser.SerializerBase
createObjectNode, createSchemaNode, createSchemaNode, handledType, wrapAndThrow, wrapAndThrow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final ContainerSerializers.IterableSerializer instance
Constructor Detail

ContainerSerializers.IterableSerializer

public ContainerSerializers.IterableSerializer(JavaType elemType,
                                               boolean staticTyping,
                                               TypeSerializer vts)
Method Detail

_withValueTypeSerializer

public ContainerSerializerBase<?> _withValueTypeSerializer(TypeSerializer vts)
Specified by:
_withValueTypeSerializer in class ContainerSerializerBase<Iterable<?>>

serializeContents

public void serializeContents(Iterable<?> value,
                              JsonGenerator jgen,
                              SerializerProvider provider)
                       throws IOException,
                              JsonGenerationException
Throws:
IOException
JsonGenerationException