Class DivTag

  • All Implemented Interfaces:
    Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

    public class DivTag
    extends TagBase
    a tag to render a 'div' HTML tag with support for a 'test' condition
    See Also:
    Serialized Form
    • Field Detail

    • Constructor Detail

      • DivTag

        public DivTag()
    • Method Detail

      • clear

        protected void clear()
        Description copied from class: CpnlBodyTagSupport
        Reset all member variables to the (default) start values. Called prior processing the tag and at release time.
        Overrides:
        clear in class TagBase
      • setBody

        public void setBody​(Object value)
        if the 'body' expression is 'true' the body is rendered without a link around even if 'test' is 'false'
      • getBodyResult

        protected boolean getBodyResult()
        evaluates the 'body' test expression if present and returns the evaluation result; default: 'true'
      • doStartTag

        public int doStartTag()
                       throws javax.servlet.jsp.JspException
        Specified by:
        doStartTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doStartTag in class TagBase
        Throws:
        javax.servlet.jsp.JspException