public class DateMarshaller extends Object implements JsonMarshaller<Date>
| Constructor and Description | 
|---|
| DateMarshaller() | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<Date> | getJavaType()The marshalled java type | 
| String | getType()The type name that appears in serialization | 
| Date | 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 DateMarshaller()
public String getType()
JsonMarshallergetType in interface JsonMarshaller<Date>public Class<Date> getJavaType()
JsonMarshallergetJavaType in interface JsonMarshaller<Date>public Date read(org.codehaus.jackson.JsonParser jp) throws IOException
JsonMarshallerread in interface JsonMarshaller<Date>IOExceptionpublic void write(org.codehaus.jackson.JsonGenerator jg, Object value) throws IOException
JsonMarshallerwrite in interface JsonMarshaller<Date>IOExceptionCopyright © 2015 Nuxeo SA. All rights reserved.