Interface IObjectDeconstructor


  • public interface IObjectDeconstructor
    Interface for Object Deconstructors that are used by the pickler to create instances of non-primitive or custom classes.
    Author:
    Irmen de Jong (irmen@razorvine.net)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object[] deconstruct​(java.lang.Object obj)
      Deconstructs the arugment of an object.
      java.lang.String getModule()
      Get the module of the class being pickled
      java.lang.String getName()
      Get the name of the class being pickled
    • Method Detail

      • getModule

        java.lang.String getModule()
        Get the module of the class being pickled
      • getName

        java.lang.String getName()
        Get the name of the class being pickled
      • deconstruct

        java.lang.Object[] deconstruct​(java.lang.Object obj)
                                throws PickleException
        Deconstructs the arugment of an object. The given args will be used as parameters for the constructor during unpickling.
        Throws:
        PickleException