Package org.codehaus.jackson.map.ser.std
Class IterableSerializer
- java.lang.Object
-
- org.codehaus.jackson.map.JsonSerializer<T>
-
- org.codehaus.jackson.map.ser.std.SerializerBase<T>
-
- org.codehaus.jackson.map.ser.std.ContainerSerializerBase<T>
-
- org.codehaus.jackson.map.ser.std.AsArraySerializerBase<Iterable<?>>
-
- org.codehaus.jackson.map.ser.std.IterableSerializer
-
- All Implemented Interfaces:
ResolvableSerializer
,SchemaAware
public class IterableSerializer extends AsArraySerializerBase<Iterable<?>>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonSerializer
JsonSerializer.None
-
-
Field Summary
-
Fields inherited from class org.codehaus.jackson.map.ser.std.AsArraySerializerBase
_dynamicSerializers, _elementSerializer, _elementType, _property, _staticTyping, _valueTypeSerializer
-
Fields inherited from class org.codehaus.jackson.map.ser.std.SerializerBase
_handledType
-
-
Constructor Summary
Constructors Constructor Description IterableSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerSerializerBase<?>
_withValueTypeSerializer(TypeSerializer vts)
void
serializeContents(Iterable<?> value, JsonGenerator jgen, SerializerProvider provider)
-
Methods inherited from class org.codehaus.jackson.map.ser.std.AsArraySerializerBase
_findAndAddDynamic, _findAndAddDynamic, getSchema, resolve, serialize, serializeWithType
-
Methods inherited from class org.codehaus.jackson.map.ser.std.ContainerSerializerBase
withValueTypeSerializer
-
Methods inherited from class org.codehaus.jackson.map.ser.std.SerializerBase
createObjectNode, createSchemaNode, createSchemaNode, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrow
-
Methods inherited from class org.codehaus.jackson.map.JsonSerializer
isUnwrappingSerializer, unwrappingSerializer
-
-
-
-
Constructor Detail
-
IterableSerializer
public IterableSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property)
-
-
Method Detail
-
_withValueTypeSerializer
public ContainerSerializerBase<?> _withValueTypeSerializer(TypeSerializer vts)
- Specified by:
_withValueTypeSerializer
in classContainerSerializerBase<Iterable<?>>
-
serializeContents
public void serializeContents(Iterable<?> value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonGenerationException
- Specified by:
serializeContents
in classAsArraySerializerBase<Iterable<?>>
- Throws:
IOException
JsonGenerationException
-
-