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
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?
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: Thu Apr 25 23:49:14 GMT 2024

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

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

Back to the top