Re: [Simple-support] Two-Phase support for CycleStrategy?
Brought to you by:
niallg
|
From: Niall G. - Y. <Nia...@yi...> - 2012-12-18 22:45:24
|
Should be fairly easy to do with something like the CycleStrategy. Just create MyCycleStrategy and where there is an exception with "Invalid reference" just return null and remember the reference. When you have picked up all the ids and the values then do a second pass. In the second pass assign the value to the first occurrence of either the ref or the id. Then all following references should be given the same value. This should work. -----Original Message----- From: Wolfgang Fahl [mailto:wf...@bi...] Sent: Tuesday, 18 December 2012 11:51 PM To: sim...@li... Subject: Re: [Simple-support] Two-Phase support for CycleStrategy? There is a question on Stackoverflow now documenting how far I got so far: http://stackoverflow.com/questions/13933314/simple-xml-reference-resolving -- View this message in context: http://old.nabble.com/Two-Phase-support-for-CycleStrategy--tp34802791p34810190.html Sent from the Simple XML Serialization mailing list archive at Nabble.com. ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Simple-support mailing list Sim...@li... https://lists.sourceforge.net/lists/listinfo/simple-support |