Annotation Interface HamletSpec.Element

Enclosing class:
HamletSpec

@Target(TYPE) @Retention(RUNTIME) public static @interface HamletSpec.Element
The element annotation for specifying element options other than attributes and allowed child elements
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether the end tag is required.
    boolean
    Whether the start tag is required for the element.
  • Element Details

    • startTag

      boolean startTag
      Whether the start tag is required for the element.
      Returns:
      true if start tag is required
      Default:
      true
    • endTag

      boolean endTag
      Whether the end tag is required.
      Returns:
      true if end tag is required
      Default:
      true