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(com.fasterxml.jackson.core.JsonParser jp)
Builds and returns a POJO from the JSON object
|
protected RecordSet |
readPaginableRecordSet(com.fasterxml.jackson.core.JsonParser jp) |
protected RecordSet |
readRecord(com.fasterxml.jackson.core.JsonParser jp) |
protected void |
readRecordEntries(com.fasterxml.jackson.core.JsonParser jp,
RecordSet record) |
void |
write(com.fasterxml.jackson.core.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(com.fasterxml.jackson.core.JsonParser jp) throws IOException
JsonMarshaller
read
in interface JsonMarshaller<RecordSet>
IOException
protected RecordSet readPaginableRecordSet(com.fasterxml.jackson.core.JsonParser jp) throws IOException
IOException
protected RecordSet readRecord(com.fasterxml.jackson.core.JsonParser jp) throws IOException
IOException
protected void readRecordEntries(com.fasterxml.jackson.core.JsonParser jp, RecordSet record) throws IOException
IOException
public void write(com.fasterxml.jackson.core.JsonGenerator jg, Object value) throws IOException
JsonMarshaller
write
in interface JsonMarshaller<RecordSet>
IOException
Copyright © 2019 Nuxeo. All rights reserved.