public static class ObjectCodecService.CalendarCodec extends ObjectCodec<Calendar>
type
Constructor and Description |
---|
CalendarCodec() |
Modifier and Type | Method and Description |
---|---|
String |
getType()
Get this codec type.
|
boolean |
isBuiltin()
Whether this codec is a builtin codec
|
Calendar |
read(com.fasterxml.jackson.core.JsonParser jp,
CoreSession session)
When the object codec is called the stream is positioned on the first value.
|
void |
register(ObjectCodecService service) |
void |
write(com.fasterxml.jackson.core.JsonGenerator jg,
Calendar value) |
findParametrizedType, getJavaType
public CalendarCodec()
public String getType()
ObjectCodec
getType
in class ObjectCodec<Calendar>
public void write(com.fasterxml.jackson.core.JsonGenerator jg, Calendar value) throws IOException
write
in class ObjectCodec<Calendar>
IOException
public Calendar read(com.fasterxml.jackson.core.JsonParser jp, CoreSession session) throws IOException
ObjectCodec
read
in class ObjectCodec<Calendar>
IOException
public boolean isBuiltin()
ObjectCodec
isBuiltin
in class ObjectCodec<Calendar>
public void register(ObjectCodecService service)
Copyright © 2018 Nuxeo. All rights reserved.