Package org.jboss.marshalling.serial
Class UnknownDescriptor
- java.lang.Object
-
- org.jboss.marshalling.serial.Descriptor
-
- org.jboss.marshalling.serial.UnknownDescriptor
-
- All Implemented Interfaces:
java.io.ObjectStreamConstants
,ExtendedObjectStreamConstants
class UnknownDescriptor extends Descriptor implements java.io.ObjectStreamConstants
-
-
Field Summary
Fields Modifier and Type Field Description private SerializableField[]
fields
private int
flags
-
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
UnknownDescriptor(Descriptor parent, SerializableField[] fields, int flags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
discardFields(SerialUnmarshaller serialUnmarshaller)
SerializableField[]
getFields()
int
getFlags()
protected void
readSerial(SerialUnmarshaller serialUnmarshaller, SerializableClass sc, java.lang.Object subject)
-
Methods inherited from class org.jboss.marshalling.serial.Descriptor
getNearestType, getParent, getType
-
-
-
-
Field Detail
-
fields
private final SerializableField[] fields
-
flags
private final int flags
-
-
Constructor Detail
-
UnknownDescriptor
protected UnknownDescriptor(Descriptor parent, SerializableField[] fields, int flags)
-
-
Method Detail
-
getFields
public SerializableField[] getFields()
- Overrides:
getFields
in classDescriptor
-
getFlags
public int getFlags()
- Overrides:
getFlags
in classDescriptor
-
readSerial
protected void readSerial(SerialUnmarshaller serialUnmarshaller, SerializableClass sc, java.lang.Object subject) throws java.io.IOException, java.lang.ClassNotFoundException
- Specified by:
readSerial
in classDescriptor
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
discardFields
void discardFields(SerialUnmarshaller serialUnmarshaller) throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
-