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