public static class ObjectCodecService.DateCodec extends ObjectCodec<Date>
Constructor and Description |
---|
ObjectCodecService.DateCodec() |
Modifier and Type | Method and Description |
---|---|
String |
getType()
Get this codec type.
|
boolean |
isBuiltin()
Whether this codec is a builtin codec
|
Date |
read(org.codehaus.jackson.JsonParser jp,
CoreSession session)
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,
Date value) |
findParametrizedType, getJavaType
public String getType()
ObjectCodec
getType
in class ObjectCodec<Date>
public void write(org.codehaus.jackson.JsonGenerator jg, Date value) throws IOException
write
in class ObjectCodec<Date>
IOException
public Date read(org.codehaus.jackson.JsonParser jp, CoreSession session) throws IOException
ObjectCodec
read
in class ObjectCodec<Date>
IOException
public boolean isBuiltin()
ObjectCodec
isBuiltin
in class ObjectCodec<Date>
public void register(ObjectCodecService service)
Copyright © 2013 Nuxeo SA. All Rights Reserved.