[jboss-dev-forums] [Design of JBossXB] - Re: @XmlElementWrapper/@XmlElements

alex.loubyansky@jboss.com do-not-reply at jboss.com
Fri Oct 12 08:17:19 EDT 2007


I see two ways to workaround this.

In both cases the Module class should be bound to choice with @JBossXmlModelGroup.

First is to create a ModuleHolder that would be bound to the module element. And then add JavaXmlTypeAdapter that would take ModuleHandler and return the module it holds.

Second is to introduce an XB annotation equivalent to TermBinding.setSkip(trueOrFalse) and set it on the module element.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094517#4094517

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094517



More information about the jboss-dev-forums mailing list