In previous articles I wrote about how the @XmlTransient annotation can be used at the type level to have a class excluded from the inheritance hierarchy, or at the field/property level to unmap a field/property. In this article I'll demonstrate how doing this impacts the propOrder setting on the @XmlType annotation.
Showing posts with label XmlTransient. Show all posts
Showing posts with label XmlTransient. Show all posts
August 11, 2012
JAXB's @XmlTransient and Property Order
April 5, 2012
JAXB and Unmapped Properties
JAXB (JSR-222) is configuration by exception, meaning that there is a default mapping applied to domain objects. This means that sometimes you need to explicitly exclude a field/property. In this post I'll discuss how this can be done using @XmlTransient or @XmlAccessorType(XmlAccessType.NONE) and when each option is appropriate.
Labels:
JAXB,
XmlAccessorType,
XmlAccessType,
XmlTransient
June 1, 2011
Ignoring Inheritance with @XmlTransient
In previous articles I have covered how to map inheritance relationships in JAXB and EclipseLink MOXy. In this example I will describe how to remove an inheritance relationship in JAXB by leveraging @XmlTransient at the type level.
Subscribe to:
Posts (Atom)