public class SerializerValueImpl extends Object implements SerializerValue
| Constructor and Description |
|---|
SerializerValueImpl(boolean aBool) |
SerializerValueImpl(byte aByte) |
SerializerValueImpl(char aChar) |
SerializerValueImpl(double aDouble) |
SerializerValueImpl(float aFloat) |
SerializerValueImpl(int aInt) |
SerializerValueImpl(long aLong) |
SerializerValueImpl(Object aReference) |
SerializerValueImpl(short aShort) |
| 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.
|
public SerializerValueImpl(boolean aBool)
public SerializerValueImpl(byte aByte)
public SerializerValueImpl(char aChar)
public SerializerValueImpl(double aDouble)
public SerializerValueImpl(float aFloat)
public SerializerValueImpl(int aInt)
public SerializerValueImpl(long aLong)
public SerializerValueImpl(short aShort)
public SerializerValueImpl(Object aReference)
public int getType()
SerializerValuegetType in interface SerializerValuepublic boolean getBoolean()
throws SerializerException
SerializerValuegetBoolean in interface SerializerValueSerializerException - If it is not a boolean representation.public byte getByte()
throws SerializerException
SerializerValuegetByte in interface SerializerValueSerializerException - If it is not a byte representation.public short getShort()
throws SerializerException
SerializerValuegetShort in interface SerializerValueSerializerException - If it is not a short representation.public char getChar()
throws SerializerException
SerializerValuegetChar in interface SerializerValueSerializerException - If it is not a char representation.public int getInt()
throws SerializerException
SerializerValuegetInt in interface SerializerValueSerializerException - If it is not an int representation.public long getLong()
throws SerializerException
SerializerValuegetLong in interface SerializerValueSerializerException - If it is not a long representation.public float getFloat()
throws SerializerException
SerializerValuegetFloat in interface SerializerValueSerializerException - If it is not a float representation.public double getDouble()
throws SerializerException
SerializerValuegetDouble in interface SerializerValueSerializerException - If it is not a double representation.public Object getReference() throws SerializerException
SerializerValuegetReference in interface SerializerValueSerializerException - If it is not a reference representation.Copyright © 2012. All Rights Reserved.