Package deltix.qsrv.hf.pub.codec.intp
Class ClassFieldDecoder
- java.lang.Object
-
- deltix.qsrv.hf.pub.codec.intp.FieldDecoder
-
- deltix.qsrv.hf.pub.codec.intp.ClassFieldDecoder
-
public class ClassFieldDecoder extends FieldDecoder
-
-
Field Summary
Fields Modifier and Type Field Description static int
NULL_CODE
-
Fields inherited from class deltix.qsrv.hf.pub.codec.intp.FieldDecoder
fieldInfo, fieldType, isNullable, setter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
copy(DecodingContext ctxt, java.lang.Object obj)
UnboundDecoder
getFieldDecoder()
boolean
isNull(DecodingContext ctxt)
java.lang.Object
readObject(DecodingContext ctx)
protected void
setNull(java.lang.Object obj)
ValidationError
validate(DecodingContext ctxt)
-
Methods inherited from class deltix.qsrv.hf.pub.codec.intp.FieldDecoder
getNotNullableMsg, isNull, isNull, isNull, isNullable, setNull, toString
-
-
-
-
Field Detail
-
NULL_CODE
public static final int NULL_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
copy
protected void copy(DecodingContext ctxt, java.lang.Object obj) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
- Specified by:
copy
in classFieldDecoder
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
-
readObject
public java.lang.Object readObject(DecodingContext ctx)
-
setNull
protected void setNull(java.lang.Object obj) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
- Specified by:
setNull
in classFieldDecoder
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
-
getFieldDecoder
public UnboundDecoder getFieldDecoder() throws NullValueException
- Throws:
NullValueException
-
isNull
public boolean isNull(DecodingContext ctxt)
- Specified by:
isNull
in classFieldDecoder
-
validate
public ValidationError validate(DecodingContext ctxt)
- Overrides:
validate
in classFieldDecoder
-
-