@Retention(CLASS) @Target({TYPE})
public @interface XmlRoot
Names the root XML element produced for a
@Mapped class. When absent the
element name defaults to the class’s simple name with a lowercase first
character (User -> user).Methods
public abstract String value() | The root element name. |
Method details
value
public abstract String value()The root element name.