Interface Inserting

  • All Superinterfaces:
    Tag
    All Known Implementing Classes:
    TransitionTag

    public interface Inserting
    extends Tag
    A tag that inserts a Component into the output.
    Since:
    4.10.0
    • Method Detail

      • value

        @NotNull
        @NotNull Component value()
        Returns the component this tag produces.
        Returns:
        the component this tag produces
        Since:
        4.10.0
      • allowsChildren

        default boolean allowsChildren()
        Get whether this tag allows children.

        If children are not allowed, this tag will be auto-closing, and should not be closed explicitly. In strict mode, a closing tag will be an error. In lenient mode, the closing tag will be interpreted as literal text.

        Returns:
        whether this tag will allow following to become children
        Since:
        4.10.0