Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

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

public class LoginMarshaller
extends Object
implements JsonMarshaller<LoginInfo>

Author:
matic

Constructor Summary
LoginMarshaller()
           
 
Method Summary
 Class<LoginInfo> getJavaType()
          The marshalled java type
 String getReference(LoginInfo info)
           
 String getType()
          The type name that appears in serialization
 LoginInfo read(org.codehaus.jackson.JsonParser jp)
          Builds and returns a POJO from the JSON object
 void write(org.codehaus.jackson.JsonGenerator jg, LoginInfo 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

LoginMarshaller

public LoginMarshaller()
Method Detail

getType

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

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

getJavaType

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

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

getReference

public String getReference(LoginInfo info)

read

public LoginInfo 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<LoginInfo>
Returns:
Throws:
Exception

write

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

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.