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 StringprintLocalDate(org.joda.time.ReadableInstant dateValue) protected StringprintLocalDate(org.joda.time.ReadablePartial dateValue) protected StringprintLocalDateTime(org.joda.time.ReadablePartial dateValue) Methods inherited from class org.codehaus.jackson.map.ser.std.SerializerBase
createObjectNode, createSchemaNode, createSchemaNode, getSchema, handledType, isDefaultSerializer, serialize, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrowMethods inherited from class org.codehaus.jackson.map.JsonSerializer
isUnwrappingSerializer, serializeWithType, unwrappingSerializer
-
Constructor Details
-
JodaSerializer
-
-
Method Details
-
printLocalDateTime
protected String printLocalDateTime(org.joda.time.ReadablePartial dateValue) throws IOException, JsonProcessingException - Throws:
IOExceptionJsonProcessingException
-
printLocalDate
protected String printLocalDate(org.joda.time.ReadablePartial dateValue) throws IOException, JsonProcessingException - Throws:
IOExceptionJsonProcessingException
-
printLocalDate
protected String printLocalDate(org.joda.time.ReadableInstant dateValue) throws IOException, JsonProcessingException - Throws:
IOExceptionJsonProcessingException
-