public class LoginMarshaller extends Object implements JsonMarshaller<LoginInfo>
Constructor and Description |
---|
LoginMarshaller() |
Modifier and Type | Method and Description |
---|---|
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,
Object value)
Writes the POJO object to the JsonGenerator
|
public String getType()
JsonMarshaller
getType
in interface JsonMarshaller<LoginInfo>
public Class<LoginInfo> getJavaType()
JsonMarshaller
getJavaType
in interface JsonMarshaller<LoginInfo>
public LoginInfo read(org.codehaus.jackson.JsonParser jp) throws Exception
JsonMarshaller
read
in interface JsonMarshaller<LoginInfo>
Exception
public void write(org.codehaus.jackson.JsonGenerator jg, Object value) throws Exception
JsonMarshaller
write
in interface JsonMarshaller<LoginInfo>
Exception
Copyright © 2013 Nuxeo SA. All Rights Reserved.