Class Descriptor

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Descriptor parent  
      private java.lang.Class<?> type  
      • 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)  
    • Field Detail

      • type

        private final java.lang.Class<?> type
    • Constructor Detail

      • Descriptor

        protected Descriptor​(Descriptor parent,
                             java.lang.Class<?> type)
    • Method Detail

      • 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()