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
|
void |
write(org.codehaus.jackson.JsonGenerator jg,
Object value)
Writes the POJO object to the JsonGenerator
|
public String getType()
JsonMarshaller
getType
in interface JsonMarshaller<Documents>
public Class<Documents> getJavaType()
JsonMarshaller
getJavaType
in interface JsonMarshaller<Documents>
public void write(org.codehaus.jackson.JsonGenerator jg, Object value) throws Exception
JsonMarshaller
write
in interface JsonMarshaller<Documents>
Exception
public Documents read(org.codehaus.jackson.JsonParser jp) throws Exception
JsonMarshaller
read
in interface JsonMarshaller<Documents>
Exception
Copyright © 2013 Nuxeo SA. All Rights Reserved.