Changes between Version 2 and Version 3 of JaxB
- Timestamp:
- 05/31/17 16:58:30 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JaxB
v2 v3 6 6 Then 7 7 * annotate all occurences List<X> with @XmlElementRef 8 * Annotate all "X var" fields with @XmlElementRef 8 9 * add @XmlSeeAlso({X1.class, X2.class}) to the X class 9 * add @XmlType to the X class 10 * add @XmlType to the X class (after the @XmlSeeAlso) 10 11 * You can put partial implementations and @XmlElement's in the X class as well 11 12 * annotate X1 and X2 with @XmlRootElement (and maybe give it a nicer name there too)