public interface SerializerValue
Modifier and Type | Field and Description |
---|---|
static int |
BOOLEAN |
static int |
BYTE |
static int |
CHAR |
static int |
DOUBLE |
static int |
FLOAT |
static int |
INT |
static int |
LONG |
static int |
REFERENCE |
static int |
SHORT |
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean()
Get the primitive boolean value.
|
byte |
getByte()
Get the primitive byte value.
|
char |
getChar()
Get the primitive char value.
|
double |
getDouble()
Get the primitive double value.
|
float |
getFloat()
Get the primitive float value.
|
int |
getInt()
Get the primitive int value.
|
long |
getLong()
Get the primitive long value.
|
Object |
getReference()
Get the reference to a Java object.
|
short |
getShort()
Get the primitive short value.
|
int |
getType()
Get the type of the value so that you can access its value safely.
|
static final int BOOLEAN
static final int BYTE
static final int SHORT
static final int CHAR
static final int INT
static final int LONG
static final int FLOAT
static final int DOUBLE
static final int REFERENCE
boolean getBoolean() throws SerializerException
SerializerException
- If it is not a boolean representation.byte getByte() throws SerializerException
SerializerException
- If it is not a byte representation.short getShort() throws SerializerException
SerializerException
- If it is not a short representation.char getChar() throws SerializerException
SerializerException
- If it is not a char representation.int getInt() throws SerializerException
SerializerException
- If it is not an int representation.long getLong() throws SerializerException
SerializerException
- If it is not a long representation.float getFloat() throws SerializerException
SerializerException
- If it is not a float representation.double getDouble() throws SerializerException
SerializerException
- If it is not a double representation.Object getReference() throws SerializerException
SerializerException
- If it is not a reference representation.int getType()
Copyright © 2012. All Rights Reserved.