public class DocumentsMarshaller extends Object implements JsonMarshaller<Documents>
| Constructor and Description |
|---|
DocumentsMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
Class<Documents> |
getJavaType()
The marshalled java type
|
String |
getType()
The type name that appears in serialization
|
Documents |
read(org.codehaus.jackson.JsonParser jp)
Builds and returns a POJO from the JSON object
|
protected void |
readDocumentEntries(org.codehaus.jackson.JsonParser jp,
Documents docs) |
protected Documents |
readDocuments(org.codehaus.jackson.JsonParser jp) |
protected Documents |
readPaginableDocuments(org.codehaus.jackson.JsonParser jp) |
void |
write(org.codehaus.jackson.JsonGenerator jg,
Documents value)
Writes the POJO object to the JsonGenerator
|
public String getType()
JsonMarshallergetType in interface JsonMarshaller<Documents>public Class<Documents> getJavaType()
JsonMarshallergetJavaType in interface JsonMarshaller<Documents>public void write(org.codehaus.jackson.JsonGenerator jg,
Documents value)
throws Exception
JsonMarshallerwrite in interface JsonMarshaller<Documents>Exceptionprotected void readDocumentEntries(org.codehaus.jackson.JsonParser jp,
Documents docs)
throws Exception
Exceptionprotected Documents readDocuments(org.codehaus.jackson.JsonParser jp) throws Exception
Exceptionprotected Documents readPaginableDocuments(org.codehaus.jackson.JsonParser jp) throws Exception
Exceptionpublic Documents read(org.codehaus.jackson.JsonParser jp) throws Exception
JsonMarshallerread in interface JsonMarshaller<Documents>ExceptionCopyright © 2018. All rights reserved.