Class DateSerializer
- java.lang.Object
-
- net.sf.jasperreports.engine.virtualization.DateSerializer
-
- All Implemented Interfaces:
ObjectSerializer<Date>
public class DateSerializer extends Object implements ObjectSerializer<Date>
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description DateSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferenceType
defaultReferenceType()
boolean
defaultStoreReference()
Date
read(VirtualizationInput in)
int
typeValue()
void
write(Date value, VirtualizationOutput out)
-
-
-
Method Detail
-
typeValue
public int typeValue()
- Specified by:
typeValue
in interfaceObjectSerializer<Date>
-
defaultReferenceType
public ReferenceType defaultReferenceType()
- Specified by:
defaultReferenceType
in interfaceObjectSerializer<Date>
-
defaultStoreReference
public boolean defaultStoreReference()
- Specified by:
defaultStoreReference
in interfaceObjectSerializer<Date>
-
write
public void write(Date value, VirtualizationOutput out) throws IOException
- Specified by:
write
in interfaceObjectSerializer<Date>
- Throws:
IOException
-
read
public Date read(VirtualizationInput in) throws IOException
- Specified by:
read
in interfaceObjectSerializer<Date>
- Throws:
IOException
-
-