Class AbstractBodyTagHelper

    • Constructor Detail

      • AbstractBodyTagHelper

        public AbstractBodyTagHelper()
    • Method Detail

      • isTagVisible

        public abstract boolean isTagVisible()
        Indicates if the tag is visible or not. Some tags might implement special conditions for not to show them under certain circumstances.
        Returns:
        A boolean value indicating if the tag is visible or not
      • shallRepeatTag

        public abstract boolean shallRepeatTag()
        Indicates if the content of the tag should be analyzed and displayed again or not. Some tags might implement special conditions if they require to loop on a collection of objects for rendering each one of them.
        Returns:
        A boolean value indicating if the tag contents should be analyzed again or not.
      • getContentHead

        public abstract MarkupOutput getContentHead()
                                             throws java.io.IOException
        Obtains the contents to render before the tag's body.
        Returns:
        A MarkupOutput instance initialized with the contents to display
        Throws:
        java.io.IOException - if an error happens while getting the contents to render.
      • getContentTail

        public abstract MarkupOutput getContentTail()
                                             throws java.io.IOException
        Obtains the contents to render after the tag's body.
        Returns:
        a MarkupOutput instance initialized with the contents to display
        Throws:
        java.io.IOException - if an error happens while getting the contents to render.