java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.opensymphony.module.sitemesh.taglib.AbstractTag
com.opensymphony.module.sitemesh.taglib.decorator.DivTag
All Implemented Interfaces:
RequestConstants, Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class DivTag extends AbstractTag
Write a HTMLPage div to out.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
    The div id.

    Fields inherited from class com.opensymphony.module.sitemesh.taglib.AbstractTag

    pageContext, parent

    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 com.opensymphony.module.sitemesh.RequestConstants

    DECORATOR, PAGE, ROBOT

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

    EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final int
    To be implemented by all empty tags.
     
    void
    setId(String divId)
     

    Methods inherited from class com.opensymphony.module.sitemesh.taglib.AbstractTag

    doStartTag, getOut, getPage, getParent, release, setPageContext, setParent, trace

    Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport

    doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent

    Methods inherited from class javax.servlet.jsp.tagext.TagSupport

    findAncestorWithClass, getValue, getValues, removeValue, setValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • divId

      protected String divId
      The div id.
  • Constructor Details

    • DivTag

      public DivTag()
  • Method Details

    • getId

      public String getId()
      Overrides:
      getId in class javax.servlet.jsp.tagext.TagSupport
    • setId

      public void setId(String divId)
      Overrides:
      setId in class javax.servlet.jsp.tagext.TagSupport
    • doEndTag

      public final int doEndTag() throws javax.servlet.jsp.JspException
      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
      Throws:
      javax.servlet.jsp.JspException