org.apache.struts.taglib.bean
クラス SizeTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--org.apache.struts.taglib.bean.SizeTag
すべての実装インタフェース:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class SizeTag
extends javax.servlet.jsp.tagext.TagSupport

Define a scripting variable that will contain the number of elements found in a specified array, Collection, or Map.

バージョン:
$Revision: 1.2 $ $Date: 2001/04/23 22:52:21 $
作成者:
Craig R. McClanahan
関連項目:
直列化された形式

フィールドの概要
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
 

フィールドの詳細

collection

protected java.lang.Object collection
The actual collection to be counted.


id

protected java.lang.String id
The name of the scripting variable that will be exposed as a page scope attribute.


messages

protected static MessageResources messages
The message resources for this package.


name

protected java.lang.String name
The name of the bean owning the property to be counted.


property

protected java.lang.String property
The name of the property to be retrieved.


scope

protected java.lang.String scope
The scope within which to search for the specified bean.

コンストラクタの詳細

SizeTag

public SizeTag()
メソッドの詳細

getCollection

public java.lang.Object getCollection()

setCollection

public void setCollection(java.lang.Object collection)

getId

public java.lang.String getId()
オーバーライド:
クラス javax.servlet.jsp.tagext.TagSupport 内の getId

setId

public void setId(java.lang.String id)
オーバーライド:
クラス javax.servlet.jsp.tagext.TagSupport 内の setId

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getProperty

public java.lang.String getProperty()

setProperty

public void setProperty(java.lang.String property)

getScope

public java.lang.String getScope()

setScope

public void setScope(java.lang.String scope)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Retrieve the required property and expose it as a scripting variable.

定義:
インタフェース javax.servlet.jsp.tagext.Tag 内の doStartTag
オーバーライド:
クラス javax.servlet.jsp.tagext.TagSupport 内の doStartTag
例外:
javax.servlet.jsp.JspException - if a JSP exception has occurred

release

public void release()
Release all allocated resources.

定義:
インタフェース javax.servlet.jsp.tagext.Tag 内の release
オーバーライド:
クラス javax.servlet.jsp.tagext.TagSupport 内の release


このドキュメントは、Ja-Jakartaにより訳されました。コメントがある場合は、report@jajakarta.orgまでお願いします。
Copyright (C) 2000-2002 - Apache Software Foundation