Collections 从xsd检索选择符
以下是xsd方案的一部分:Collections 从xsd检索选择符,collections,xsd,jaxb,choice,Collections,Xsd,Jaxb,Choice,以下是xsd方案的一部分: <xsd:complexType name="TGroups"> <xsd:choice> <xsd:element name="GROUP1"/> <xsd:element name="GROUP2"/> </xsd:choice> </xsd:complexType> 是否有任何方法可以使用JAXB或其他方法从xsd获取所有TGroups值(“GROUP1”、“G
<xsd:complexType name="TGroups">
<xsd:choice>
<xsd:element name="GROUP1"/>
<xsd:element name="GROUP2"/>
</xsd:choice>
</xsd:complexType>
是否有任何方法可以使用JAXB或其他方法从xsd获取所有TGroups值(“GROUP1”、“GROUP2”)作为集合(Set、List、String[]、…)
感谢您的回复。以下内容应能帮助您: