| BodyTagSupport Class | |
| Class name: | |
javax.servlet.jsp.tagext.BodyTagSupport |
|
| Extends: | |
javax.servlet.jsp.tagext.TagSupport |
|
| Implements: | |
BodyTag |
|
| Implemented by: | |
Internal container-dependent class. Most containers use the reference implementation of the class (developed in the Apache Jakarta project). |
|
| Description | |
BodyTagSupport is a support class that provides default implementations of all BodyTag interface methods. It's intended to be used as a superclass for tag handlers that need access to the body contents of the corresponding custom action elements. |
|
| BodyTagSupport() | |
| public BodyTagSupport() | |
Creates a new BodyTagSupport instance. |
|
| doAfterBody() | |
| public int doAfterBody() throws JspException | |
Returns SKIP_BODY. |
|
| doEndTag() | |
| public int doEndTag() throws JspException | |
Returns EVAL_PAGE. |
|
| doInitBody() | |
| public void doInitBody() | |
Does nothing in the BodyTagSupport class. |
|
| getBodyContent() | |
| public BodyContent getBodyContent() | |
Returns the BodyContent object assigned to this instance. |
|
| getPreviousOut() | |
| public JspWriter getPreviousOut() | |
Returns the enclosing writer of the BodyContent object assigned to this instance. |
|
| release() | |
| public void release() | |
Removes the references to all objects held by this instance. |
|
| setBodyContent() | |
| public void setBodyContent(BodyContent b) | |
Saves a reference to the assigned BodyContent object as an instance variable. |
|