@Retention(CLASS) @Target({FIELD})

public @interface XmlElement

Renames a @Mapped field in the XML projection. The default element name is the field name; use @XmlElement when the XML schema disagrees with the Java identifier. Apply @XmlAttribute instead to lift a value onto the parent element as an attribute.

Methods

public abstract String value()

Method details

value

public abstract String value()