|
Ja-Jakarta Translation |
||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
public class BodyTagSupport
A base class for defining tag handlers implementing BodyTag.
The BodyTagSupport class implements the BodyTag interface and adds additional convenience methods including getter methods for the bodyContent property and methods to get at the previous out JspWriter.
Many tag handlers will extend BodyTagSupport and only redefine a few methods.
| フィールドの概要 | |
|---|---|
protected BodyContent |
bodyContent
The current BodyContent for this BodyTag. |
| クラス javax.servlet.jsp.tagext.TagSupport から継承されたフィールド |
|---|
id, pageContext |
| インタフェース javax.servlet.jsp.tagext.BodyTag から継承されたフィールド |
|---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| インタフェース javax.servlet.jsp.tagext.IterationTag から継承されたフィールド |
|---|
EVAL_BODY_AGAIN |
| インタフェース javax.servlet.jsp.tagext.Tag から継承されたフィールド |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| コンストラクタの概要 | |
|---|---|
BodyTagSupport()
Default constructor, all subclasses are required to only define a public constructor with the same signature, and to call the superclass constructor. |
|
| メソッドの概要 | |
|---|---|
int |
doAfterBody()
After the body evaluation: do not reevaluate and continue with the page. |
int |
doEndTag()
Default processing of the end tag returning EVAL_PAGE. |
void |
doInitBody()
Prepare for evaluation of the body just before the first body evaluation: no action. |
int |
doStartTag()
Default processing of the start tag returning EVAL_BODY_BUFFERED. |
BodyContent |
getBodyContent()
Get current bodyContent. |
javax.servlet.jsp.JspWriter |
getPreviousOut()
Get surrounding out JspWriter. |
void |
release()
Release state. |
void |
setBodyContent(BodyContent b)
Prepare for evaluation of the body: stash the bodyContent away. |
| クラス javax.servlet.jsp.tagext.TagSupport から継承されたメソッド |
|---|
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| インタフェース javax.servlet.jsp.tagext.Tag から継承されたメソッド |
|---|
getParent, setPageContext, setParent |
| フィールドの詳細 |
|---|
protected BodyContent bodyContent
| コンストラクタの詳細 |
|---|
public BodyTagSupport()
| メソッドの詳細 |
|---|
public int doStartTag()
throws javax.servlet.jsp.JspException
Tag 内の doStartTagTagSupport 内の doStartTagjavax.servlet.jsp.JspException - if an error occurred while processing this tagTag.doStartTag()
public int doEndTag()
throws javax.servlet.jsp.JspException
Tag 内の doEndTagTagSupport 内の doEndTagjavax.servlet.jsp.JspException - if an error occurred while processing this tagTag.doEndTag()public void setBodyContent(BodyContent b)
BodyTag 内の setBodyContentb - the BodyContentdoAfterBody(),
doInitBody(),
BodyTag.setBodyContent(javax.servlet.jsp.tagext.BodyContent)
public void doInitBody()
throws javax.servlet.jsp.JspException
BodyTag 内の doInitBodyjavax.servlet.jsp.JspException - if an error occurred while processing this tagsetBodyContent(javax.servlet.jsp.tagext.BodyContent),
doAfterBody(),
BodyTag.doInitBody()
public int doAfterBody()
throws javax.servlet.jsp.JspException
IterationTag 内の doAfterBodyTagSupport 内の doAfterBodyjavax.servlet.jsp.JspException - if an error occurred while processing this tagdoInitBody(),
IterationTag.doAfterBody()public void release()
Tag 内の releaseTagSupport 内の releaseTag.release()public BodyContent getBodyContent()
public javax.servlet.jsp.JspWriter getPreviousOut()
|
Ja-Jakarta Translation |
||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||