public static class ObjectCodecService.CalendarCodec extends ObjectCodec<Calendar>
| Constructor and Description |
|---|
ObjectCodecService.CalendarCodec() |
| Modifier and Type | Method and Description |
|---|---|
String |
getType()
Get this codec type.
|
boolean |
isBuiltin()
Whether this codec is a builtin codec
|
Calendar |
read(org.codehaus.jackson.JsonParser jp)
When the object codec is called the stream is positioned on the first value.
|
void |
register(ObjectCodecService service) |
void |
write(org.codehaus.jackson.JsonGenerator jg,
Calendar value) |
findParametrizedType, getJavaTypepublic String getType()
ObjectCodecgetType in class ObjectCodec<Calendar>public void write(org.codehaus.jackson.JsonGenerator jg,
Calendar value)
throws IOException
write in class ObjectCodec<Calendar>IOExceptionpublic Calendar read(org.codehaus.jackson.JsonParser jp) throws IOException
ObjectCodecread in class ObjectCodec<Calendar>IOExceptionpublic boolean isBuiltin()
ObjectCodecisBuiltin in class ObjectCodec<Calendar>public void register(ObjectCodecService service)
Copyright © 2012 Nuxeo SA. All Rights Reserved.