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

scott.stark@jboss.org do-not-reply at jboss.com
Wed Oct 10 11:41:53 EDT 2007


So how would an application.xml module element have to be handled? It should be something like this, but the schema for the wrapping module element has an unbounded max:


  | class Application
  | {
  |    @XmlElementWrapper(name="module")
  |    @XmlElements(
  |        @XmlElement(name="connector", type=ConnectorModule.class),
  |        @XmlElement(name="java", type=JavaModule.class),
  | ...
  |     )
  |    private List<Module> modules;
  | }
  | 


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

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



More information about the jboss-dev-forums mailing list