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, _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 TypeMethodDescriptionvoidValidate the container calls doInitBody() before the evaluation of the body.intValidate container behavior when returning either EVAL_BODY_INCLUDE, SKIP_BODY, SKIP_PAGE, or EVAL_BODY_BUFFERED.voidsetBodyContent(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, 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.IterationTag
doAfterBodyMethods 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:
doStartTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doStartTagin 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:
setBodyContentin 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:
doInitBodyin interfacejakarta.servlet.jsp.tagext.BodyTag- Throws:
jakarta.servlet.jsp.JspException- if an error occurs
-