Class BodySynchronizationTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
ee.jakarta.tck.pages.api.jakarta_servlet.jsp.tagext.tagsupport.ContainerInteractionTag
ee.jakarta.tck.pages.api.jakarta_servlet.jsp.tagext.bodytagsupport.BodyContainerInteractionTag
ee.jakarta.tck.pages.api.jakarta_servlet.jsp.tagext.bodytagsupport.BodySynchronizationTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.BodyTag
,jakarta.servlet.jsp.tagext.IterationTag
,jakarta.servlet.jsp.tagext.JspTag
,jakarta.servlet.jsp.tagext.Tag
,Serializable
- 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 -
Method Summary
Modifier and TypeMethodDescriptionint
Adds two attributes to the PageContext to be synchronized after doAfterBody() has been called.int
doEndTag()
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.JspExceptionAdds two attributes to the PageContext to be synchronized after doStartTag() has been called.- Specified by:
doStartTag
in interfacejakarta.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classBodyContainerInteractionTag
- 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.JspExceptionAdds two attributes to the PageContext to be synchronized after doInitBody() has been called.- Specified by:
doInitBody
in interfacejakarta.servlet.jsp.tagext.BodyTag
- Overrides:
doInitBody
in classBodyContainerInteractionTag
- Throws:
jakarta.servlet.jsp.JspException
- if an error occurs
-
doEndTag
public int doEndTag() throws jakarta.servlet.jsp.JspExceptionAdds two attributes to the PageContext to be synchronized after doEndTag() has been called.- Specified by:
doEndTag
in interfacejakarta.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in classContainerInteractionTag
- 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.JspExceptionAdds two attributes to the PageContext to be synchronized after doAfterBody() has been called.- Specified by:
doAfterBody
in interfacejakarta.servlet.jsp.tagext.IterationTag
- Overrides:
doAfterBody
in classContainerInteractionTag
- 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 interfacejakarta.servlet.jsp.tagext.BodyTag
- Overrides:
setBodyContent
in classBodyContainerInteractionTag
- Parameters:
content
- - the body content
-