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[]fieldsprivate intflags-
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 protectedUnknownDescriptor(Descriptor parent, SerializableField[] fields, int flags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voiddiscardFields(SerialUnmarshaller serialUnmarshaller)SerializableField[]getFields()intgetFlags()protected voidreadSerial(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:
getFieldsin classDescriptor
-
getFlags
public int getFlags()
- Overrides:
getFlagsin classDescriptor
-
readSerial
protected void readSerial(SerialUnmarshaller serialUnmarshaller, SerializableClass sc, java.lang.Object subject) throws java.io.IOException, java.lang.ClassNotFoundException
- Specified by:
readSerialin classDescriptor- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
discardFields
void discardFields(SerialUnmarshaller serialUnmarshaller) throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
-