com.atlassian.confluence.rest.serialization
Class DateTimeSerializer
java.lang.Object
org.codehaus.jackson.map.JsonSerializer<T>
org.codehaus.jackson.map.ser.std.SerializerBase<org.joda.time.DateTime>
com.atlassian.confluence.rest.serialization.DateTimeSerializer
- All Implemented Interfaces:
- org.codehaus.jackson.schema.SchemaAware
public class DateTimeSerializer
- extends org.codehaus.jackson.map.ser.std.SerializerBase<org.joda.time.DateTime>
Serializes DateTime to string using the TIME_FORMAT in Dates
Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonSerializer |
org.codehaus.jackson.map.JsonSerializer.None |
Fields inherited from class org.codehaus.jackson.map.ser.std.SerializerBase |
_handledType |
Method Summary |
void |
serialize(org.joda.time.DateTime value,
org.codehaus.jackson.JsonGenerator jsonGen,
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 |
DateTimeSerializer
public DateTimeSerializer()
serialize
public void serialize(org.joda.time.DateTime value,
org.codehaus.jackson.JsonGenerator jsonGen,
org.codehaus.jackson.map.SerializerProvider provider)
throws java.io.IOException,
org.codehaus.jackson.JsonGenerationException
- Specified by:
serialize
in class org.codehaus.jackson.map.ser.std.SerializerBase<org.joda.time.DateTime>
- Throws:
java.io.IOException
org.codehaus.jackson.JsonGenerationException
Copyright © 2003-2014 Atlassian. All Rights Reserved.