Annotation Type HTMLElement


@Retention(RUNTIME)
@Target(TYPE)
@Inherited
public @interface HTMLElement
Marks a class as an HTMLElement
  • Required Element Summary

    Required Elements
    Modifier and Type Required Element Description
    String tagName  
  • Optional Element Summary

    Optional Elements
    Modifier and Type Optional Element Description
    String alias  
    boolean hasClosing
    Whether the element has a closing tag
    boolean newLineAfterOpening
    Whether to start a new line after the opening tag
  • Element Details

    • alias

      String alias
      Default:
      ""
    • hasClosing

      boolean hasClosing
      Whether the element has a closing tag
      Returns:
      the boolean value
      Default:
      true
    • newLineAfterOpening

      boolean newLineAfterOpening
      Whether to start a new line after the opening tag
      Returns:
      the boolean value
      Default:
      true