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