Package deltix.qsrv.hf.pub.codec.intp
Class JavaValueGetter
- java.lang.Object
-
- deltix.qsrv.hf.pub.codec.intp.JavaValueGetter
-
- All Implemented Interfaces:
ValueGetter
public class JavaValueGetter extends java.lang.Object implements ValueGetter
Implementation, which uses Java-reflection
-
-
Constructor Summary
Constructors Constructor Description JavaValueGetter(java.lang.reflect.Field f)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
get(java.lang.Object obj)
boolean
getBoolean(java.lang.Object obj)
byte
getByte(java.lang.Object obj)
char
getChar(java.lang.Object obj)
double
getDouble(java.lang.Object obj)
float
getFloat(java.lang.Object obj)
int
getInt(java.lang.Object obj)
long
getLong(java.lang.Object obj)
short
getShort(java.lang.Object obj)
-
-
-
Method Detail
-
getBoolean
public boolean getBoolean(java.lang.Object obj) throws java.lang.IllegalAccessException
- Specified by:
getBoolean
in interfaceValueGetter
- Throws:
java.lang.IllegalAccessException
-
getChar
public char getChar(java.lang.Object obj) throws java.lang.IllegalAccessException
- Specified by:
getChar
in interfaceValueGetter
- Throws:
java.lang.IllegalAccessException
-
getByte
public byte getByte(java.lang.Object obj) throws java.lang.IllegalAccessException
- Specified by:
getByte
in interfaceValueGetter
- Throws:
java.lang.IllegalAccessException
-
getShort
public short getShort(java.lang.Object obj) throws java.lang.IllegalAccessException
- Specified by:
getShort
in interfaceValueGetter
- Throws:
java.lang.IllegalAccessException
-
getInt
public int getInt(java.lang.Object obj) throws java.lang.IllegalAccessException
- Specified by:
getInt
in interfaceValueGetter
- Throws:
java.lang.IllegalAccessException
-
getLong
public long getLong(java.lang.Object obj) throws java.lang.IllegalAccessException
- Specified by:
getLong
in interfaceValueGetter
- Throws:
java.lang.IllegalAccessException
-
getFloat
public float getFloat(java.lang.Object obj) throws java.lang.IllegalAccessException
- Specified by:
getFloat
in interfaceValueGetter
- Throws:
java.lang.IllegalAccessException
-
getDouble
public double getDouble(java.lang.Object obj) throws java.lang.IllegalAccessException
- Specified by:
getDouble
in interfaceValueGetter
- Throws:
java.lang.IllegalAccessException
-
get
public java.lang.Object get(java.lang.Object obj) throws java.lang.IllegalAccessException
- Specified by:
get
in interfaceValueGetter
- Throws:
java.lang.IllegalAccessException
-
-