Interface IComment

  • All Superinterfaces:
    java.lang.CharSequence, ITemplateEvent
    All Known Implementing Classes:
    Comment

    public interface IComment
    extends ITemplateEvent, java.lang.CharSequence

    Event interface defining a Comment.

    Note that any implementations of this interface should be immutable.

    Since:
    3.0.0
    • Method Detail

      • getComment

        java.lang.String getComment()

        Returns the whole Comment, including the <!--...--> prefix and suffix.

        Returns:
        the Comment.
      • getContent

        java.lang.String getContent()

        Returns the content of the Comment, without the prefix or suffix.

        Returns:
        the content of the Comment.