|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--org.apache.struts.taglib.template.GetTag
This is the tag handler for <template:get>, which gets content from the request scope and either includes the content or prints it, depending upon the value of the content's direct attribute.
| フィールドの概要 | |
private boolean |
flush
Should we flush before including this text? |
private java.lang.String |
name
The name of the content that this tag includes (or prints). |
private java.lang.String |
role
The role that the user must be in to retrieve content. |
| クラス javax.servlet.jsp.tagext.TagSupport から継承したフィールド |
id, pageContext |
| インタフェース javax.servlet.jsp.tagext.IterationTag から継承したフィールド |
EVAL_BODY_AGAIN |
| インタフェース javax.servlet.jsp.tagext.Tag から継承したフィールド |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| コンストラクタの概要 | |
GetTag()
|
|
| メソッドの概要 | |
int |
doStartTag()
Print content named by setName() or include it, depending on the content's direct attribute. |
boolean |
getFlush()
Get the flush-before-include attribute. |
java.lang.String |
getName()
Get the name attribute. |
java.lang.String |
getRole()
Get the role attribute. |
void |
release()
Reset member values for reuse. |
private void |
saveException(java.lang.Throwable exception)
Save the specified exception in request scope if there is not already one present. |
void |
setFlush(boolean flush)
Set the flush-before-include property |
void |
setName(java.lang.String name)
Set the name attribute |
void |
setRole(java.lang.String role)
Set the role attribute |
| クラス javax.servlet.jsp.tagext.TagSupport から継承したメソッド |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
private boolean flush
private java.lang.String name
private java.lang.String role
| コンストラクタの詳細 |
public GetTag()
| メソッドの詳細 |
public void setFlush(boolean flush)
flush - The new flush propertypublic void setName(java.lang.String name)
name - The name of the content to get.public void setRole(java.lang.String role)
public boolean getFlush()
public java.lang.String getName()
public java.lang.String getRole()
public int doStartTag()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.tagext.Tag 内の doStartTagjavax.servlet.jsp.tagext.TagSupport 内の doStartTagjavax.servlet.jsp.JspExceptionpublic void release()
javax.servlet.jsp.tagext.Tag 内の releasejavax.servlet.jsp.tagext.TagSupport 内の releaseprivate void saveException(java.lang.Throwable exception)
exception - Exception to be conditionally saved
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||