java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
All Implemented Interfaces:
jakarta.servlet.jsp.tagext.BodyTag, jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable

public class BodySynchronizationTag extends BodyContainerInteractionTag
See Also:
  • Field Summary

    Fields inherited from class ee.jakarta.tck.pages.api.jakarta_servlet.jsp.tagext.bodytagsupport.BodyContainerInteractionTag

    _content

    Fields inherited from class ee.jakarta.tck.pages.api.jakarta_servlet.jsp.tagext.tagsupport.ContainerInteractionTag

    _doAfterBody, _doEndTag, _doStartTag

    Fields inherited from class jakarta.servlet.jsp.tagext.TagSupport

    id, pageContext

    Fields inherited from interface jakarta.servlet.jsp.tagext.BodyTag

    EVAL_BODY_BUFFERED

    Fields inherited from interface jakarta.servlet.jsp.tagext.IterationTag

    EVAL_BODY_AGAIN

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

    EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Adds two attributes to the PageContext to be synchronized after doAfterBody() has been called.
    int
    Adds two attributes to the PageContext to be synchronized after doEndTag() has been called.
    void
    Adds two attributes to the PageContext to be synchronized after doInitBody() has been called.
    int
    Adds two attributes to the PageContext to be synchronized after doStartTag() has been called.
    void
    setBodyContent(jakarta.servlet.jsp.tagext.BodyContent content)
    Called by container to set the body content of the action.

    Methods inherited from class ee.jakarta.tck.pages.api.jakarta_servlet.jsp.tagext.tagsupport.ContainerInteractionTag

    addMethodToList, getBodyCount, getDoAfterBody, getDoEndTag, getDoStartTag, getIntValue, getResult, setBodyCount, setDoAfterBody, setDoEndTag, setDoStartTag, setResult

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

    findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface jakarta.servlet.jsp.tagext.Tag

    getParent, release, setPageContext, setParent
  • Constructor Details

    • BodySynchronizationTag

      public BodySynchronizationTag()
      Default constructor.
  • Method Details

    • doStartTag

      public int doStartTag() throws jakarta.servlet.jsp.JspException
      Adds two attributes to the PageContext to be synchronized after doStartTag() has been called.
      Specified by:
      doStartTag in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      doStartTag in class BodyContainerInteractionTag
      Returns:
      an int value based on what the tag has been configured to return
      Throws:
      jakarta.servlet.jsp.JspException - if an error occurs
    • doInitBody

      public void doInitBody() throws jakarta.servlet.jsp.JspException
      Adds two attributes to the PageContext to be synchronized after doInitBody() has been called.
      Specified by:
      doInitBody in interface jakarta.servlet.jsp.tagext.BodyTag
      Overrides:
      doInitBody in class BodyContainerInteractionTag
      Throws:
      jakarta.servlet.jsp.JspException - if an error occurs
    • doEndTag

      public int doEndTag() throws jakarta.servlet.jsp.JspException
      Adds two attributes to the PageContext to be synchronized after doEndTag() has been called.
      Specified by:
      doEndTag in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      doEndTag in class ContainerInteractionTag
      Returns:
      an int value based on what the tag has been configured to return
      Throws:
      jakarta.servlet.jsp.JspException - if an error occurs
    • doAfterBody

      public int doAfterBody() throws jakarta.servlet.jsp.JspException
      Adds two attributes to the PageContext to be synchronized after doAfterBody() has been called.
      Specified by:
      doAfterBody in interface jakarta.servlet.jsp.tagext.IterationTag
      Overrides:
      doAfterBody in class ContainerInteractionTag
      Returns:
      an int value based on what the tag has been configured to return
      Throws:
      jakarta.servlet.jsp.JspException - if an error occurs
    • setBodyContent

      public void setBodyContent(jakarta.servlet.jsp.tagext.BodyContent content)
      Called by container to set the body content of the action.
      Specified by:
      setBodyContent in interface jakarta.servlet.jsp.tagext.BodyTag
      Overrides:
      setBodyContent in class BodyContainerInteractionTag
      Parameters:
      content - - the body content