[Simple-support] Deserializing polymorphic types.
Brought to you by:
niallg
|
From: adev d. <and...@gm...> - 2015-02-16 15:03:38
|
I am using SimpleXML to serialize classes. I am serializing polymorphic types as well. Due to this I came across a problem. I would like to do code refactoring and move some classes between packages. After I did it old XML files created before refactoring cannot be read. Simple framwork is throwing exception that class is not found. In XML full path to class is stored so after I changed class package class cannot not be found. What is the solution to this problem? Is there any way to apply kind of mapping between old and new class location??? Thank you, BR, M |