users@jaxb.java.net

Model Group Binding for mixed content

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Fri, 12 Aug 2005 16:24:39 +0200

Hi.

Model group binding style is very helpful to homogenize JAXB collections
and properties. Could it be somehow applied to the mixed-content types?
That is, a property like

     /**
      * Objects of the following type(s) are allowed in the list
      * {_at_link org.jvnet.hyperjaxb2.test.one.MixedType.Name}
      * {_at_link java.lang.String}
      * {_at_link org.jvnet.hyperjaxb2.test.one.MixedType.Shipdate}
      * {_at_link org.jvnet.hyperjaxb2.test.one.MixedType.Orderid}
      *
      */
     java.util.List getContent();

could contain instances of NameOrShipdateOrOrderidOrValue.

Bye.
/lexi