# Annotation Type XmlRoot

@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`).

- ## Required Element Summary

  Required Elements
  Modifier and Type
  Required Element
  Description
  `String`
  `value`
  The root element name.

- ## Element Details

  - ### value

    String value
    The root element name.