Package deltix.qsrv.hf.pub.codec.intp
Class ClassFieldEncoder
- java.lang.Object
-
- deltix.qsrv.hf.pub.codec.intp.FieldEncoder
-
- deltix.qsrv.hf.pub.codec.intp.ClassFieldEncoder
-
- All Implemented Interfaces:
ContainerEncoder
public class ClassFieldEncoder extends FieldEncoder implements ContainerEncoder
-
-
Field Summary
-
Fields inherited from class deltix.qsrv.hf.pub.codec.intp.FieldEncoder
exceptionDescription, fieldDescription, fieldName, fieldType, getter, isNullable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beginWrite(deltix.util.memory.MemoryDataOutput out)
protected void
copy(java.lang.Object obj, EncodingContext ctxt)
void
endWrite()
UnboundEncoder
getFieldEncoder(RecordClassDescriptor rcd)
protected boolean
isNullValue(java.lang.Object message)
void
writeObject(java.lang.Object value, EncodingContext ctx)
-
Methods inherited from class deltix.qsrv.hf.pub.codec.intp.FieldEncoder
isNull, throwConstraintViolationException, throwNotNullableException
-
-
-
-
Method Detail
-
beginWrite
public void beginWrite(deltix.util.memory.MemoryDataOutput out)
- Specified by:
beginWrite
in interfaceContainerEncoder
-
endWrite
public void endWrite()
- Specified by:
endWrite
in interfaceContainerEncoder
-
copy
protected final void copy(java.lang.Object obj, EncodingContext ctxt) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
- Specified by:
copy
in classFieldEncoder
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
-
writeObject
public void writeObject(java.lang.Object value, EncodingContext ctx)
-
getFieldEncoder
public UnboundEncoder getFieldEncoder(RecordClassDescriptor rcd)
-
isNullValue
protected boolean isNullValue(java.lang.Object message) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
- Specified by:
isNullValue
in classFieldEncoder
- Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
-
-