| how to control marshaller conditionally? [message #1106868] |
Wed, 11 September 2013 12:52 |
jason zhang Messages: 15 Registered: July 2009 |
Junior Member |
|
|
I am facing this situation. I have a regular object graph. When one of object is requested, the related object is shown as xml element. However, related object could have other relateds recursively. To avoid showing too much information or generating big document, I want to only show related objects in first two levels.
I am thinking to add a Marshal Listener to detect the level. But I have no way to tell marshaller to skip the current element.
Any suggestion?
|
|
|
Powered by
FUDForum. Page generated in 0.01415 seconds