Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/67.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Collections 从xsd检索选择符_Collections_Xsd_Jaxb_Choice - Fatal编程技术网

Collections 从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方案的一部分:

<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[]、…)

感谢您的回复。

以下内容应能帮助您: