org.apache.struts.taglib
クラス GetPropertyTag

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

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

Expose the value of a bean property as a scripting variable.

バージョン:
$Revision: 1.7 $ $Date: 2001/05/20 01:19:02 $
作成者:
Craig R. McClanahan
関連項目:
直列化された形式

フィールドの概要
private  java.lang.String id
          The name of the scripting variable to be exposed.
protected static MessageResources messages
          The message resources for this package.
private  java.lang.String name
          The name of the bean owning the property.
private  java.lang.String property
          The property name to be exposed.
 
クラス 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
 
コンストラクタの概要
GetPropertyTag()
           
 
メソッドの概要
 int doStartTag()
          Retrieve the required property and expose it as a scripting variable.
 java.lang.String getId()
          Return the name of the scripting variable.
 java.lang.String getName()
          Return the name of the bean.
 java.lang.String getProperty()
          Return the property name.
 void release()
          Release any acquired resources.
 void setId(java.lang.String id)
          Set the name of the scripting variable.
 void setName(java.lang.String name)
          Set the name of the bean.
 void setProperty(java.lang.String property)
          Set the property name.
 
クラス 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
 

フィールドの詳細

id

private java.lang.String id
The name of the scripting variable to be exposed.


messages

protected static MessageResources messages
The message resources for this package.


name

private java.lang.String name
The name of the bean owning the property.


property

private java.lang.String property
The property name to be exposed.

コンストラクタの詳細

GetPropertyTag

public GetPropertyTag()
メソッドの詳細

getId

public java.lang.String getId()
Return the name of the scripting variable.

オーバーライド:
クラス javax.servlet.jsp.tagext.TagSupport 内の getId

setId

public void setId(java.lang.String id)
Set the name of the scripting variable.

オーバーライド:
クラス javax.servlet.jsp.tagext.TagSupport 内の setId
パラメータ:
id - The new name of the scripting variable

getName

public java.lang.String getName()
Return the name of the bean.


setName

public void setName(java.lang.String name)
Set the name of the bean.

パラメータ:
name - The new name

getProperty

public java.lang.String getProperty()
Return the property name.


setProperty

public void setProperty(java.lang.String property)
Set the property name.

パラメータ:
property - The property name

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 any acquired 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