|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--javax.servlet.jsp.tagext.TagSupport | +--javax.servlet.jsp.tagext.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
|
クラス 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. |
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 JspException
Tag
内の doStartTag
TagSupport
内の doStartTag
JspException
BodyTag
public int doEndTag() throws JspException
Tag
内の doEndTag
TagSupport
内の doEndTag
JspException
public void setBodyContent(BodyContent b)
BodyTag
内の setBodyContent
b
- the BodyContentpublic void doInitBody() throws JspException
BodyTag
内の doInitBody
JspException
public int doAfterBody() throws JspException
IterationTag
内の doAfterBody
TagSupport
内の doAfterBody
JspException
public void release()
Tag
内の release
TagSupport
内の release
Tag.release()
public BodyContent getBodyContent()
public JspWriter getPreviousOut()
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |