|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--org.apache.struts.taglib.bean.SizeTag
Define a scripting variable that will contain the number of elements found in a specified array, Collection, or Map.
| フィールドの概要 | |
protected java.lang.Object |
collection
The actual collection to be counted. |
protected java.lang.String |
id
The name of the scripting variable that will be exposed as a page scope attribute. |
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 counted. |
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. |
| クラス javax.servlet.jsp.tagext.TagSupport から継承したフィールド |
pageContext |
| インタフェース javax.servlet.jsp.tagext.IterationTag から継承したフィールド |
EVAL_BODY_AGAIN |
| インタフェース javax.servlet.jsp.tagext.Tag から継承したフィールド |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| コンストラクタの概要 | |
SizeTag()
|
|
| メソッドの概要 | |
int |
doStartTag()
Retrieve the required property and expose it as a scripting variable. |
java.lang.Object |
getCollection()
|
java.lang.String |
getId()
|
java.lang.String |
getName()
|
java.lang.String |
getProperty()
|
java.lang.String |
getScope()
|
void |
release()
Release all allocated resources. |
void |
setCollection(java.lang.Object collection)
|
void |
setId(java.lang.String id)
|
void |
setName(java.lang.String name)
|
void |
setProperty(java.lang.String property)
|
void |
setScope(java.lang.String scope)
|
| クラス javax.servlet.jsp.tagext.TagSupport から継承したメソッド |
doAfterBody, doEndTag, findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
protected java.lang.Object collection
protected java.lang.String id
protected static MessageResources messages
protected java.lang.String name
protected java.lang.String property
protected java.lang.String scope
| コンストラクタの詳細 |
public SizeTag()
| メソッドの詳細 |
public java.lang.Object getCollection()
public void setCollection(java.lang.Object collection)
public java.lang.String getId()
javax.servlet.jsp.tagext.TagSupport 内の getIdpublic void setId(java.lang.String id)
javax.servlet.jsp.tagext.TagSupport 内の setIdpublic 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 int doStartTag()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.tagext.Tag 内の doStartTagjavax.servlet.jsp.tagext.TagSupport 内の doStartTagjavax.servlet.jsp.JspException - if a JSP exception has occurredpublic void release()
javax.servlet.jsp.tagext.Tag 内の releasejavax.servlet.jsp.tagext.TagSupport 内の release
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||