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
|
protected Set<String> |
readGroups(org.codehaus.jackson.JsonParser jp) |
void |
write(org.codehaus.jackson.JsonGenerator jg,
Object value)
Writes the POJO object to the JsonGenerator
|
public LoginMarshaller()
public String getType()
JsonMarshaller
getType
in interface JsonMarshaller<LoginInfo>
public Class<LoginInfo> getJavaType()
JsonMarshaller
getJavaType
in interface JsonMarshaller<LoginInfo>
public String getReference(LoginInfo info)
public LoginInfo read(org.codehaus.jackson.JsonParser jp) throws IOException
JsonMarshaller
read
in interface JsonMarshaller<LoginInfo>
IOException
protected Set<String> readGroups(org.codehaus.jackson.JsonParser jp) throws IOException
IOException
public void write(org.codehaus.jackson.JsonGenerator jg, Object value) throws IOException
JsonMarshaller
write
in interface JsonMarshaller<LoginInfo>
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.