[jboss-dev-forums] [Design of JBossXB] - How can I map an attribute to List<String>

thomas.diesler@jboss.com do-not-reply at jboss.com
Thu Jul 16 09:35:53 EDT 2009


The value of the 'depends-on' attribute is a space delimited list of strings


  |  * <xsd:complexType name="Tcomponent" abstract="true">
  |  *   <xsd:attribute name="id" type="xsd:ID" />
  |  *   <xsd:attribute name="activation" type="Tactivation">
  |  *   <xsd:attribute name="depends-on" type="TdependsOn">
  |  * </xsd:complexType>
  |  * 
  |  * <xsd:simpleType name="Tactivation">
  |  *   <xsd:restriction base="xsd:NMTOKEN">
  |  *     <xsd:enumeration value="eager" />
  |  *     <xsd:enumeration value="lazy" />
  |  *   </xsd:restriction>
  |  * </xsd:simpleType>
  |  * 
  |  * <xsd:simpleType name="TdependsOn">
  |  *   <xsd:restriction>
  |  *     <xsd:simpleType>
  |  *       <xsd:list itemType="Tidref" />
  |  *     </xsd:simpleType>
  |  *     <xsd:minLength value="1" />
  |  *   </xsd:restriction>
  |  * </xsd:simpleType>
  | 

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

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



More information about the jboss-dev-forums mailing list