Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation.client.jaxrs.spi.marshallers
Class DocumentsMarshaller

java.lang.Object
  extended by org.nuxeo.ecm.automation.client.jaxrs.spi.marshallers.DocumentsMarshaller
All Implemented Interfaces:
JsonMarshaller<Documents>

public class DocumentsMarshaller
extends Object
implements JsonMarshaller<Documents>

Author:
matic

Constructor Summary
DocumentsMarshaller()
           
 
Method Summary
 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, Documents value)
          Writes the POJO object to the JsonGenerator
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentsMarshaller

public DocumentsMarshaller()
Method Detail

getType

public String getType()
Description copied from interface: JsonMarshaller
The type name that appears in serialization

Specified by:
getType in interface JsonMarshaller<Documents>
Returns:

getJavaType

public Class<Documents> getJavaType()
Description copied from interface: JsonMarshaller
The marshalled java type

Specified by:
getJavaType in interface JsonMarshaller<Documents>
Returns:

write

public void write(org.codehaus.jackson.JsonGenerator jg,
                  Documents value)
           throws Exception
Description copied from interface: JsonMarshaller
Writes the POJO object to the JsonGenerator

Specified by:
write in interface JsonMarshaller<Documents>
Throws:
Exception

read

public Documents read(org.codehaus.jackson.JsonParser jp)
               throws Exception
Description copied from interface: JsonMarshaller
Builds and returns a POJO from the JSON object

Specified by:
read in interface JsonMarshaller<Documents>
Returns:
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.