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

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.AsArraySerializer<EnumSet<? extends Enum<?>>>
                  extended by org.codehaus.jackson.map.ser.ContainerSerializers.EnumSetSerializer
All Implemented Interfaces:
ResolvableSerializer, SchemaAware
Enclosing class:
ContainerSerializers

public static class ContainerSerializers.EnumSetSerializer
extends ContainerSerializers.AsArraySerializer<EnumSet<? extends Enum<?>>>


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.ContainerSerializers.AsArraySerializer
_dynamicSerializers, _elementSerializer, _elementType, _property, _staticTyping, _valueTypeSerializer
 
Fields inherited from class org.codehaus.jackson.map.ser.SerializerBase
_handledType
 
Constructor Summary
ContainerSerializers.EnumSetSerializer(JavaType elemType, BeanProperty property)
           
 
Method Summary
 ContainerSerializerBase<?> _withValueTypeSerializer(TypeSerializer vts)
           
 void serializeContents(EnumSet<? extends Enum<?>> value, JsonGenerator jgen, SerializerProvider provider)
           
 
Methods inherited from class org.codehaus.jackson.map.ser.ContainerSerializers.AsArraySerializer
_findAndAddDynamic, _findAndAddDynamic, getSchema, resolve, serialize, serializeWithType
 
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, isDefaultSerializer, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerSerializers.EnumSetSerializer

public ContainerSerializers.EnumSetSerializer(JavaType elemType,
                                              BeanProperty property)
Method Detail

_withValueTypeSerializer

public ContainerSerializerBase<?> _withValueTypeSerializer(TypeSerializer vts)
Specified by:
_withValueTypeSerializer in class ContainerSerializerBase<EnumSet<? extends Enum<?>>>

serializeContents

public void serializeContents(EnumSet<? extends Enum<?>> value,
                              JsonGenerator jgen,
                              SerializerProvider provider)
                       throws IOException,
                              JsonGenerationException
Specified by:
serializeContents in class ContainerSerializers.AsArraySerializer<EnumSet<? extends Enum<?>>>
Throws:
IOException
JsonGenerationException