Package org.jboss.marshalling.serial
Class Descriptor
- java.lang.Object
-
- org.jboss.marshalling.serial.Descriptor
-
- All Implemented Interfaces:
java.io.ObjectStreamConstants
,ExtendedObjectStreamConstants
- Direct Known Subclasses:
NoDataDescriptor
,PlainDescriptor
,UnknownDescriptor
abstract class Descriptor extends java.lang.Object implements ExtendedObjectStreamConstants
-
-
Field Summary
Fields Modifier and Type Field Description private Descriptor
parent
private java.lang.Class<?>
type
-
Fields inherited from interface org.jboss.marshalling.serial.ExtendedObjectStreamConstants
TC_CLASSTABLEDESC, TC_OBJECTTABLE
-
Fields inherited from interface java.io.ObjectStreamConstants
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, SERIAL_FILTER_PERMISSION, 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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Descriptor(Descriptor parent, java.lang.Class<?> type)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
parent
private final Descriptor parent
-
type
private final java.lang.Class<?> type
-
-
Constructor Detail
-
Descriptor
protected Descriptor(Descriptor parent, java.lang.Class<?> type)
-
-
Method Detail
-
getParent
protected Descriptor getParent()
-
getType
protected java.lang.Class<?> getType()
-
getNearestType
protected java.lang.Class<?> getNearestType()
-
readSerial
protected abstract void readSerial(SerialUnmarshaller serialUnmarshaller, SerializableClass sc, java.lang.Object subject) throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
getFlags
public int getFlags()
-
getFields
public SerializableField[] getFields()
-
-