MOXy - xlink reference to previously marshalled objects [message #661234] |
Wed, 23 March 2011 12:08  |
Eclipse User |
|
|
|
Hi!
I'm making a service that returns an Owner. The Owner can own Land and Buildings and each Building stands on a piece of Land, so the XML tree looks something like this:
Owner
Land
Land
Building
Land
Building
Land
Now, many Buildings may stand on the same piece of Land and the Land may or may not be owned by the Owner. I don't want to have several instances of the same Land object in my response. Instead, I'd like it if only the first instance was marshalled in full and the rest was only an xlink reference to the first.
Is this possible?
[Updated on: Thu, 24 March 2011 09:46] by Moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05414 seconds