|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.struts.taglib.bean.DefineTag
Define a scripting variable based on the value(s) of the specified bean property.
| フィールドの概要 | |
protected java.lang.String |
body
The body content of this tag (if any). |
protected java.lang.String |
id
The name of the scripting variable that will be exposed as a page scope attribute. |
private static org.apache.commons.logging.Log |
log
Commons logging instance. |
protected static MessageResources |
messages
The message resources for this package. |
protected java.lang.String |
name
The name of the bean owning the property to be exposed. |
protected java.lang.String |
property
The name of the property to be retrieved. |
protected java.lang.String |
scope
The scope within which to search for the specified bean. |
protected java.lang.String |
toScope
The scope within which the newly defined bean will be creatd. |
protected java.lang.String |
type
The fully qualified Java class name of the value to be exposed. |
protected java.lang.String |
value
The (String) value to which the defined bean will be set. |
| クラス javax.servlet.jsp.tagext.BodyTagSupport から継承したフィールド |
bodyContent |
| クラス javax.servlet.jsp.tagext.TagSupport から継承したフィールド |
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 |
| コンストラクタの概要 | |
DefineTag()
|
|
| メソッドの概要 | |
int |
doAfterBody()
Save the body content of this tag (if any), or throw a JspException if the value was already defined. |
int |
doEndTag()
Retrieve the required property and expose it as a scripting variable. |
int |
doStartTag()
Check if we need to evaluate the body of the tag |
java.lang.String |
getId()
|
java.lang.String |
getName()
|
java.lang.String |
getProperty()
|
java.lang.String |
getScope()
|
java.lang.String |
getToScope()
|
java.lang.String |
getType()
|
java.lang.String |
getValue()
|
void |
release()
Release all allocated resources. |
void |
setId(java.lang.String id)
|
void |
setName(java.lang.String name)
|
void |
setProperty(java.lang.String property)
|
void |
setScope(java.lang.String scope)
|
void |
setToScope(java.lang.String toScope)
|
void |
setType(java.lang.String type)
|
void |
setValue(java.lang.String value)
|
| クラス javax.servlet.jsp.tagext.BodyTagSupport から継承したメソッド |
doInitBody, getBodyContent, getPreviousOut, setBodyContent |
| クラス javax.servlet.jsp.tagext.TagSupport から継承したメソッド |
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| インタフェース javax.servlet.jsp.tagext.BodyTag から継承したメソッド |
|
| インタフェース javax.servlet.jsp.tagext.Tag から継承したメソッド |
getParent, setPageContext, setParent |
| フィールドの詳細 |
private static final org.apache.commons.logging.Log log
protected static MessageResources messages
protected java.lang.String body
protected java.lang.String id
protected java.lang.String name
protected java.lang.String property
protected java.lang.String scope
protected java.lang.String toScope
protected java.lang.String type
protected java.lang.String value
| コンストラクタの詳細 |
public DefineTag()
| メソッドの詳細 |
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getProperty()
public void setProperty(java.lang.String property)
public java.lang.String getScope()
public void setScope(java.lang.String scope)
public java.lang.String getToScope()
public void setToScope(java.lang.String toScope)
public java.lang.String getType()
public void setType(java.lang.String type)
public java.lang.String getValue()
public void setValue(java.lang.String value)
public int doStartTag()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException - if a JSP exception has occurred
public int doAfterBody()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException - if value was defined by an attribute
public int doEndTag()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException - if a JSP exception has occurredpublic void release()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||