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
_contentFields inherited from class ee.jakarta.tck.pages.api.jakarta_servlet.jsp.tagext.tagsupport.ContainerInteractionTag
_doAfterBody, _doEndTag, _doStartTagFields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface jakarta.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFEREDFields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintAdds two attributes to the PageContext to be synchronized after doAfterBody() has been called.intdoEndTag()Adds two attributes to the PageContext to be synchronized after doEndTag() has been called.voidAdds two attributes to the PageContext to be synchronized after doInitBody() has been called.intAdds two attributes to the PageContext to be synchronized after doStartTag() has been called.voidsetBodyContent(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, setResultMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
doStartTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doStartTagin 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:
doInitBodyin interfacejakarta.servlet.jsp.tagext.BodyTag- Overrides:
doInitBodyin 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:
doEndTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doEndTagin 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:
doAfterBodyin interfacejakarta.servlet.jsp.tagext.IterationTag- Overrides:
doAfterBodyin 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:
setBodyContentin interfacejakarta.servlet.jsp.tagext.BodyTag- Overrides:
setBodyContentin classBodyContainerInteractionTag- Parameters:
content- - the body content
-