public interface MarshallValue
| 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 MarshallException
MarshallException - If it is not a boolean representation.byte getByte()
throws MarshallException
MarshallException - If it is not a byte representation.short getShort()
throws MarshallException
MarshallException - If it is not a short representation.char getChar()
throws MarshallException
MarshallException - If it is not a char representation.int getInt()
throws MarshallException
MarshallException - If it is not an int representation.long getLong()
throws MarshallException
MarshallException - If it is not a long representation.float getFloat()
throws MarshallException
MarshallException - If it is not a float representation.double getDouble()
throws MarshallException
MarshallException - If it is not a double representation.Object getReference() throws MarshallException
MarshallException - If it is not a reference representation.int getType()
Copyright © 2013. All Rights Reserved.