Class UnresolvedExtensionTreatment

    • Constructor Detail

      • UnresolvedExtensionTreatment

        public UnresolvedExtensionTreatment​(byte[] arraybyte,
                                            ExtensionTreatmentType type)
        Creates a new unresolved extension treatment with given data in byte form.
        Parameters:
        arraybyte - byte data for treatment
        type - unresolved extension data type
    • Method Detail

      • deserialize

        public void deserialize​(byte[] data)
        Description copied from interface: Extension
        Deserialize the extension from a byte array. The properties of this object will be overwritten with the data in the byte array.
        Specified by:
        deserialize in interface Extension
        Parameters:
        data - input byte array
      • serialize

        public byte[] serialize()
        Description copied from interface: Extension
        Serialize the extension to a byte array.
        Specified by:
        serialize in interface Extension
        Returns:
        byte array
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object