public static class ObjectCodecService.DocumentAdapterCodec extends ObjectCodec<BusinessAdapter>
| Modifier and Type | Field and Description |
|---|---|
protected DocumentAdapterDescriptor |
descriptor |
type| Constructor and Description |
|---|
DocumentAdapterCodec(DocumentAdapterDescriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
String |
getType()
Get this codec type.
|
BusinessAdapter |
read(org.codehaus.jackson.JsonParser jp,
CoreSession session)
When the object codec is called the stream is positioned on the first value.
|
static void |
register(ObjectCodecService service,
DocumentAdapterService adapterService) |
findParametrizedType, getJavaType, isBuiltin, writeprotected final DocumentAdapterDescriptor descriptor
public DocumentAdapterCodec(DocumentAdapterDescriptor descriptor)
public String getType()
ObjectCodecgetType in class ObjectCodec<BusinessAdapter>public static void register(ObjectCodecService service, DocumentAdapterService adapterService)
public BusinessAdapter read(org.codehaus.jackson.JsonParser jp, CoreSession session) throws IOException
read in class ObjectCodec<BusinessAdapter>jp - IOExceptionCopyright © 2015 Nuxeo SA. All rights reserved.