[Simple-support] CycleStrategy and complex relationships
Brought to you by:
niallg
|
From: MireilleMoreira <mir...@ya...> - 2008-07-29 21:56:22
|
Hello, I followed the Simple XML Tutorial (http://simple.sourceforge.net/download/stream/doc/tutorial/tutorial.php) for serialization, but I have cyclic relationship in my beans. The example in the tutorial only tells how to serialize it with CycleStrategy for a simple cyclic relationship (Child has a Parent, and a Parent has a collection of Child), and also tells that CycleStrategy can be used for complex relationships. I'd like to know how to do that (complex relationships). I tried the simple way and I got nothing. Does anyone have an example? My cyclic relationship is like that: public class A { private List< B> b; ... } public class B { private C c; ... } public class C { private A a; ... } Thanks in advance! -- View this message in context: http://www.nabble.com/CycleStrategy-and-complex-relationships-tp18721852p18721852.html Sent from the Simple XML Serialization mailing list archive at Nabble.com. |