Annotation Interface Element


@Retention(RUNTIME) @Target(TYPE) @Inherited public @interface Element
Defines the tag name of the element class.

Used when looking up elements using ElementQuery.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The tag for the element.
  • Element Details

    • value

      String value
      The tag for the element.
      Returns:
      the tag for the element