Class BodyContainerInteractionTag
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
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.BodyTag
,jakarta.servlet.jsp.tagext.IterationTag
,jakarta.servlet.jsp.tagext.JspTag
,jakarta.servlet.jsp.tagext.Tag
,Serializable
- Direct Known Subclasses:
BodySynchronizationTag
public class BodyContainerInteractionTag
extends ContainerInteractionTag
implements jakarta.servlet.jsp.tagext.BodyTag
- See Also:
-
Field Summary
FieldsFields 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 TypeMethodDescriptionvoid
Validate the container calls doInitBody() before the evaluation of the body.int
Validate container behavior when returning either EVAL_BODY_INCLUDE, SKIP_BODY, SKIP_PAGE, or EVAL_BODY_BUFFERED.void
setBodyContent
(jakarta.servlet.jsp.tagext.BodyContent content) Validate the container calls setBodyContent on tag instances when doStartTag() returns EVAL_BODY_BUFFERED.Methods inherited from class ee.jakarta.tck.pages.api.jakarta_servlet.jsp.tagext.tagsupport.ContainerInteractionTag
addMethodToList, doAfterBody, doEndTag, 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.IterationTag
doAfterBody
Methods inherited from interface jakarta.servlet.jsp.tagext.Tag
doEndTag, getParent, release, setPageContext, setParent
-
Field Details
-
_content
protected jakarta.servlet.jsp.tagext.BodyContent _content
-
-
Constructor Details
-
BodyContainerInteractionTag
public BodyContainerInteractionTag()Default constructor.
-
-
Method Details
-
doStartTag
public int doStartTag() throws jakarta.servlet.jsp.JspExceptionValidate container behavior when returning either EVAL_BODY_INCLUDE, SKIP_BODY, SKIP_PAGE, or EVAL_BODY_BUFFERED.- Specified by:
doStartTag
in interfacejakarta.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classContainerInteractionTag
- Returns:
- an int value based on the doStartTag attribute.
- Throws:
jakarta.servlet.jsp.JspException
- if an error occurs
-
setBodyContent
public void setBodyContent(jakarta.servlet.jsp.tagext.BodyContent content) Validate the container calls setBodyContent on tag instances when doStartTag() returns EVAL_BODY_BUFFERED.- Specified by:
setBodyContent
in interfacejakarta.servlet.jsp.tagext.BodyTag
- Parameters:
content
- - the body content.
-
doInitBody
public void doInitBody() throws jakarta.servlet.jsp.JspExceptionValidate the container calls doInitBody() before the evaluation of the body.- Specified by:
doInitBody
in interfacejakarta.servlet.jsp.tagext.BodyTag
- Throws:
jakarta.servlet.jsp.JspException
- if an error occurs
-