I have
class A { @xstreamalias("obj1"); Object obj1; @xstreamalias("obj2"); Object obj2; } and I want to change to class AbstractA { @xstreamalias("obj1"); Object obj1; } class A extends AbstractA{ @xstreamalias("obj2"); Object obj2; }
without loosing the contents of obj1.
currently I have no trouble reading the old xml except I loos the content of obj1. is this somehow supported in xstream? I mean abstraction is a common thing in model changes.