public class RecordSetMarshaller extends Object implements JsonMarshaller<RecordSet>
| Constructor and Description |
|---|
RecordSetMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
Class<RecordSet> |
getJavaType()
The marshalled java type
|
String |
getType()
The type name that appears in serialization
|
RecordSet |
read(org.codehaus.jackson.JsonParser jp)
Builds and returns a POJO from the JSON object
|
protected RecordSet |
readPaginableRecordSet(org.codehaus.jackson.JsonParser jp) |
protected RecordSet |
readRecord(org.codehaus.jackson.JsonParser jp) |
protected void |
readRecordEntries(org.codehaus.jackson.JsonParser jp,
RecordSet record) |
void |
write(org.codehaus.jackson.JsonGenerator jg,
Object value)
Writes the POJO object to the JsonGenerator
|
public RecordSetMarshaller()
public String getType()
JsonMarshallergetType in interface JsonMarshaller<RecordSet>public Class<RecordSet> getJavaType()
JsonMarshallergetJavaType in interface JsonMarshaller<RecordSet>public RecordSet read(org.codehaus.jackson.JsonParser jp) throws IOException
JsonMarshallerread in interface JsonMarshaller<RecordSet>IOExceptionprotected RecordSet readPaginableRecordSet(org.codehaus.jackson.JsonParser jp) throws IOException
IOExceptionprotected RecordSet readRecord(org.codehaus.jackson.JsonParser jp) throws IOException
IOExceptionprotected void readRecordEntries(org.codehaus.jackson.JsonParser jp, RecordSet record) throws IOException
IOExceptionpublic void write(org.codehaus.jackson.JsonGenerator jg, Object value) throws IOException
JsonMarshallerwrite in interface JsonMarshaller<RecordSet>IOExceptionCopyright © 2017 Nuxeo. All rights reserved.