Annotation Type XmlElement


@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.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details