hallo,
weis jemand wie man ein (java)Set als binding fuer jaxb einstellt?
problem ist folgendes (jaxbNS ist importiert (jxb)):
[..]
<xs:complexType name="foo">
<xs:sequence>
<xs:element name="bar" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
[..]
wenn man das nun mit annotation::appinfo::jaxroperty collectionClass compiliert, kann man wirklich nur collections nehmen (da der member mit einer ListBindingFactory erzeugt wird).
wie bekomme ich es (auch xs konform)hin, das es ein set wird?
ps: codeformatierung und tabbs waeren nicht schlecht, geht aber eher nicht (nein, mit html hacke ich das jetzt nicht ein *g*)
weis jemand wie man ein (java)Set als binding fuer jaxb einstellt?
problem ist folgendes (jaxbNS ist importiert (jxb)):
[..]
<xs:complexType name="foo">
<xs:sequence>
<xs:element name="bar" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
[..]
wenn man das nun mit annotation::appinfo::jaxroperty collectionClass compiliert, kann man wirklich nur collections nehmen (da der member mit einer ListBindingFactory erzeugt wird).
wie bekomme ich es (auch xs konform)hin, das es ein set wird?
ps: codeformatierung und tabbs waeren nicht schlecht, geht aber eher nicht (nein, mit html hacke ich das jetzt nicht ein *g*)