当前位置: 动力学知识库 > 问答 > 编程问答 >

collections - Retrieving choice vlues from xsd

问题描述:

here is the part of xsd-scheme:

<xsd:complexType name="TGroups">

<xsd:choice>

<xsd:element name="GROUP1"/>

<xsd:element name="GROUP2"/>

</xsd:choice>

</xsd:complexType>

Is there any way to get all TGroups values ("GROUP1", "GROUP2") from xsd as collection (Set, List, String[], ...) using JAXB or something else?

Thank you for reply.

分享给朋友:
您可能感兴趣的文章:
随机阅读: