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