public static class ObjectCodecService.BooleanCodec extends ObjectCodec<Boolean>
type| Constructor and Description |
|---|
BooleanCodec() |
| Modifier and Type | Method and Description |
|---|---|
String |
getType()
Get this codec type.
|
boolean |
isBuiltin()
Whether this codec is a builtin codec
|
Boolean |
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,
Boolean value) |
findParametrizedType, getJavaTypepublic BooleanCodec()
public String getType()
ObjectCodecgetType in class ObjectCodec<Boolean>public void write(org.codehaus.jackson.JsonGenerator jg, Boolean value) throws IOException
write in class ObjectCodec<Boolean>IOExceptionpublic Boolean read(org.codehaus.jackson.JsonParser jp, CoreSession session) throws IOException
ObjectCodecread in class ObjectCodec<Boolean>IOExceptionpublic boolean isBuiltin()
ObjectCodecisBuiltin in class ObjectCodec<Boolean>public void register(ObjectCodecService service)
Copyright © 2016 Nuxeo SA. All rights reserved.