Package org.codehaus.jackson.map.ext
Class JodaSerializers.JodaSerializer<T>
java.lang.Object
org.codehaus.jackson.map.JsonSerializer<T>
org.codehaus.jackson.map.ser.std.SerializerBase<T>
org.codehaus.jackson.map.ext.JodaSerializers.JodaSerializer<T>
- All Implemented Interfaces:
SchemaAware
- Direct Known Subclasses:
JodaSerializers.DateMidnightSerializer
,JodaSerializers.DateTimeSerializer
,JodaSerializers.LocalDateSerializer
,JodaSerializers.LocalDateTimeSerializer
- Enclosing class:
- JodaSerializers
-
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.SerializerBase
_handledType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
printLocalDate
(ReadableInstant dateValue) protected String
printLocalDate
(ReadablePartial dateValue) protected String
printLocalDateTime
(ReadablePartial dateValue) Methods inherited from class org.codehaus.jackson.map.ser.std.SerializerBase
createObjectNode, createSchemaNode, createSchemaNode, getSchema, handledType, isDefaultSerializer, serialize, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrow
Methods inherited from class org.codehaus.jackson.map.JsonSerializer
isUnwrappingSerializer, serializeWithType, unwrappingSerializer
-
Constructor Details
-
JodaSerializer
-
-
Method Details
-
printLocalDateTime
protected String printLocalDateTime(ReadablePartial dateValue) throws IOException, JsonProcessingException - Throws:
IOException
JsonProcessingException
-
printLocalDate
protected String printLocalDate(ReadablePartial dateValue) throws IOException, JsonProcessingException - Throws:
IOException
JsonProcessingException
-
printLocalDate
protected String printLocalDate(ReadableInstant dateValue) throws IOException, JsonProcessingException - Throws:
IOException
JsonProcessingException
-