Class TitleTag

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private String defaultTitle  
      • Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport

        bodyContent
      • Fields inherited from class javax.servlet.jsp.tagext.TagSupport

        id
      • Fields inherited from interface javax.servlet.jsp.tagext.BodyTag

        EVAL_BODY_BUFFERED, EVAL_BODY_TAG
      • Fields inherited from interface javax.servlet.jsp.tagext.IterationTag

        EVAL_BODY_AGAIN
      • Fields inherited from interface javax.servlet.jsp.tagext.Tag

        EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
    • Constructor Summary

      Constructors 
      Constructor Description
      TitleTag()  
    • Field Detail

      • defaultTitle

        private String defaultTitle
    • Constructor Detail

      • TitleTag

        public TitleTag()
    • Method Detail

      • setDefault

        public void setDefault​(String defaultTitle)
        Value to write if no title is found (optional).
      • doEndTag

        public final int doEndTag()
        Description copied from class: AbstractTag
        To be implemented by all empty tags.
        Specified by:
        doEndTag in interface javax.servlet.jsp.tagext.Tag
        Specified by:
        doEndTag in class AbstractTag