com.atlassian.confluence.rest.serialization
Class OptionSerializer

java.lang.Object
  extended by org.codehaus.jackson.map.JsonSerializer<T>
      extended by org.codehaus.jackson.map.ser.std.SerializerBase<com.atlassian.fugue.Option>
          extended by com.atlassian.confluence.rest.serialization.OptionSerializer
All Implemented Interfaces:
org.codehaus.jackson.schema.SchemaAware

public class OptionSerializer
extends org.codehaus.jackson.map.ser.std.SerializerBase<com.atlassian.fugue.Option>

Serialize fugue Option classes. Serializes the property if it is defined, or leaves it absent if it is not


Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonSerializer
org.codehaus.jackson.map.JsonSerializer.None
 
Field Summary
 
Fields inherited from class org.codehaus.jackson.map.ser.std.SerializerBase
_handledType
 
Constructor Summary
OptionSerializer()
           
 
Method Summary
 void serialize(com.atlassian.fugue.Option option, org.codehaus.jackson.JsonGenerator jgen, org.codehaus.jackson.map.SerializerProvider provider)
           
 
Methods inherited from class org.codehaus.jackson.map.ser.std.SerializerBase
createObjectNode, createSchemaNode, createSchemaNode, getSchema, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrow
 
Methods inherited from class org.codehaus.jackson.map.JsonSerializer
isUnwrappingSerializer, serializeWithType, unwrappingSerializer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionSerializer

public OptionSerializer()
Method Detail

serialize

public void serialize(com.atlassian.fugue.Option option,
                      org.codehaus.jackson.JsonGenerator jgen,
                      org.codehaus.jackson.map.SerializerProvider provider)
               throws java.io.IOException
Specified by:
serialize in class org.codehaus.jackson.map.ser.std.SerializerBase<com.atlassian.fugue.Option>
Throws:
java.io.IOException


Copyright © 2003-2014 Atlassian. All Rights Reserved.