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,
LoginInfo value)
Writes the POJO object to the JsonGenerator
|
public String getType()
JsonMarshallergetType in interface JsonMarshaller<LoginInfo>public Class<LoginInfo> getJavaType()
JsonMarshallergetJavaType in interface JsonMarshaller<LoginInfo>public LoginInfo read(org.codehaus.jackson.JsonParser jp) throws Exception
JsonMarshallerread in interface JsonMarshaller<LoginInfo>Exceptionpublic void write(org.codehaus.jackson.JsonGenerator jg,
LoginInfo value)
throws Exception
JsonMarshallerwrite in interface JsonMarshaller<LoginInfo>ExceptionCopyright © 2011 Nuxeo SA. All Rights Reserved.