Elements

View: New views
1 Messages — Rating Filter:   Alert me  

Elements

by HÃ¥kon Evensen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Are there any way to make the deserialization not instantiate an object.

Ex:

class MyRootObject {
   @Element
   MySubObject sub;

   MyRootObject() {
     sub = new MySubObject();
   }
}
(MySubObject has serialize annotations)

If i deserialize into MyRootObject, it will replace MySubObject.  Is it  
possible to keep the existing object, but still deserialize the subobject?

Is the Strategy interface a place to start?

Thank you!

Regars
Haakon

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Simple-support mailing list
Simple-support@...
https://lists.sourceforge.net/lists/listinfo/simple-support