Package net.razorvine.pickle
Interface IObjectDeconstructor
-
public interface IObjectDeconstructorInterface 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.StringgetModule()Get the module of the class being pickledjava.lang.StringgetName()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 PickleExceptionDeconstructs the arugment of an object. The given args will be used as parameters for the constructor during unpickling.- Throws:
PickleException
-
-