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()
JsonMarshaller
getType
in interface JsonMarshaller<RecordSet>
public Class<RecordSet> getJavaType()
JsonMarshaller
getJavaType
in interface JsonMarshaller<RecordSet>
public RecordSet read(org.codehaus.jackson.JsonParser jp) throws IOException
JsonMarshaller
read
in interface JsonMarshaller<RecordSet>
IOException
protected RecordSet readPaginableRecordSet(org.codehaus.jackson.JsonParser jp) throws IOException
IOException
protected RecordSet readRecord(org.codehaus.jackson.JsonParser jp) throws IOException
IOException
protected void readRecordEntries(org.codehaus.jackson.JsonParser jp, RecordSet record) throws IOException
IOException
public void write(org.codehaus.jackson.JsonGenerator jg, Object value) throws IOException
JsonMarshaller
write
in interface JsonMarshaller<RecordSet>
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.