Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » how to control marshaller conditionally?
how to control marshaller conditionally? [message #1106868] Wed, 11 September 2013 16:52
jason zhang is currently offline jason zhangFriend
Messages: 31
Registered: July 2009
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?
Previous Topic:Name collision when using super-type in moxy oxm.xml
Next Topic:Dynamic Moxy can not work together with JPA Lazy Loading
Goto Forum:

Current Time: Wed Apr 08 19:32:49 GMT 2020

Powered by FUDForum. Page generated in 0.01437 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top