abstract class Descriptor extends java.lang.Object implements ExtendedObjectStreamConstants
| Modifier and Type | Field and Description |
|---|---|
private Descriptor |
parent |
private java.lang.Class<?> |
type |
TC_CLASSTABLEDESC, TC_OBJECTTABLEbaseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING| Modifier | Constructor and Description |
|---|---|
protected |
Descriptor(Descriptor parent,
java.lang.Class<?> type) |
| Modifier and Type | Method and Description |
|---|---|
SerializableField[] |
getFields() |
int |
getFlags() |
protected java.lang.Class<?> |
getNearestType() |
protected Descriptor |
getParent() |
protected java.lang.Class<?> |
getType() |
protected abstract void |
readSerial(SerialUnmarshaller serialUnmarshaller,
SerializableClass sc,
java.lang.Object subject) |
private final Descriptor parent
private final java.lang.Class<?> type
protected Descriptor(Descriptor parent, java.lang.Class<?> type)
protected Descriptor getParent()
protected java.lang.Class<?> getType()
protected java.lang.Class<?> getNearestType()
protected abstract void readSerial(SerialUnmarshaller serialUnmarshaller, SerializableClass sc, java.lang.Object subject) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic int getFlags()
public SerializableField[] getFields()