public class ObjectArrayCodecImpl extends AbstractArrayCodec implements ObjectArrayCodec
AbstractArrayCodec.ArrayStructureCLIENT_PERSISTENCE_COLLECTION_PACKAGE, JMF_1111_1110, JMF_1111_1111, JMF_ARRAY_LIST, JMF_BIG_DECIMAL, JMF_BIG_INTEGER, JMF_BOOLEAN, JMF_BOOLEAN_OBJECT, JMF_BYTE, JMF_BYTE_OBJECT, JMF_CHARACTER, JMF_CHARACTER_OBJECT, JMF_CLASS, JMF_DATE, JMF_DOUBLE, JMF_DOUBLE_OBJECT, JMF_ENUM, JMF_FLOAT, JMF_FLOAT_OBJECT, JMF_GENERIC_COLLECTION, JMF_GENERIC_MAP, JMF_HASH_MAP, JMF_HASH_SET, JMF_INTEGER, JMF_INTEGER_OBJECT, JMF_LOCALDATE, JMF_LOCALDATETIME, JMF_LOCALTIME, JMF_LONG, JMF_LONG_OBJECT, JMF_NULL, JMF_OBJECT, JMF_OBJECT_ARRAY, JMF_OBJECT_END, JMF_PRIMITIVE_ARRAY, JMF_SHORT, JMF_SHORT_OBJECT, JMF_SQL_DATE, JMF_SQL_TIME, JMF_SQL_TIMESTAMP, JMF_STRING, JMF_X011_1100, JMF_X011_1101, JMF_X011_1110, JMF_X011_1111, JMF_XX01_1101, JMF_XX01_1110, JMF_XX01_1111, JMF_XXXX_0111, UTF8| Constructor and Description |
|---|
ObjectArrayCodecImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEncode(java.lang.Object v) |
java.lang.Object |
decode(InputContext ctx,
int parameterizedJmfType) |
void |
dump(DumpContext ctx,
int parameterizedJmfType) |
protected void |
dumpObjectArray(DumpContext ctx,
java.lang.String componentType,
int length,
int dimensions) |
protected void |
dumpObjectArray0(DumpContext ctx,
java.lang.String componentType,
int length) |
void |
encode(OutputContext ctx,
java.lang.Object v) |
int |
getObjectType() |
protected java.lang.String |
newDumpObjectArray(java.lang.String componentTypeName,
int length,
int dimensions) |
protected java.lang.Object |
readObjectArray(InputContext ctx,
java.lang.Class<?> componentType,
int length,
int dimensions) |
protected java.lang.Object |
readObjectArray0(InputContext ctx,
java.lang.Class<?> componentType,
int length) |
protected void |
writeObjectArrayContent(OutputContext ctx,
java.lang.Object v,
java.lang.Class<?> componentType,
int dimensions) |
protected void |
writeObjectArrayContent0(OutputContext ctx,
java.lang.Object v) |
getArrayDimensions, getComponentType, newArrayescape, escape, escape, newBadTypeJMFEncodingExceptionpublic int getObjectType()
getObjectType in interface StandardCodec<java.lang.Object>public boolean canEncode(java.lang.Object v)
canEncode in interface ConditionalObjectCodecpublic void encode(OutputContext ctx, java.lang.Object v) throws java.io.IOException
encode in interface StandardCodec<java.lang.Object>encode in interface ObjectArrayCodecjava.io.IOExceptionprotected void writeObjectArrayContent(OutputContext ctx, java.lang.Object v, java.lang.Class<?> componentType, int dimensions) throws java.io.IOException
java.io.IOExceptionprotected void writeObjectArrayContent0(OutputContext ctx, java.lang.Object v) throws java.io.IOException
java.io.IOExceptionpublic java.lang.Object decode(InputContext ctx, int parameterizedJmfType) throws java.io.IOException, java.lang.ClassNotFoundException
decode in interface StandardCodec<java.lang.Object>decode in interface ObjectArrayCodecjava.io.IOExceptionjava.lang.ClassNotFoundExceptionprotected java.lang.Object readObjectArray(InputContext ctx, java.lang.Class<?> componentType, int length, int dimensions) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionprotected java.lang.Object readObjectArray0(InputContext ctx, java.lang.Class<?> componentType, int length) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void dump(DumpContext ctx, int parameterizedJmfType) throws java.io.IOException
dump in interface StandardCodec<java.lang.Object>java.io.IOExceptionprotected void dumpObjectArray(DumpContext ctx, java.lang.String componentType, int length, int dimensions) throws java.io.IOException
java.io.IOExceptionprotected void dumpObjectArray0(DumpContext ctx, java.lang.String componentType, int length) throws java.io.IOException
java.io.IOExceptionprotected java.lang.String newDumpObjectArray(java.lang.String componentTypeName,
int length,
int dimensions)