6
JAXB bunu oluşturduğunda, bir Diğer Listeler olarak Liste oluşturur. XSD'yi bir Harita olarak oluşturulmasını nasıl yapılandırabilirim? Aşağıdaki soruya benzerJAXB, XSD'den bir harita oluşturmak için
<xsd:element name="OtherProperties" minOccurs="0">
<xsd:complexType>
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:element name="Property">
<xsd:complexType>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="value" type="xsd:string" />
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>