org.apache.struts.taglib
クラス IfParameterEqualsTag

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

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

Conditionally include the body of this tag if the specified parameter matches the specified value.

バージョン:
$Revision: 1.1.1.1 $ $Date: 2003/03/11 13:38:38 $
作成者:
Craig R. McClanahan
関連項目:
直列化された形式

フィールドの概要
protected  java.lang.String name
          The name of the parameter being compared.
protected  java.lang.String value
          The value to compare this parameter to.
 
クラス 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
 
コンストラクタの概要
IfParameterEqualsTag()
           
 
メソッドの概要
 int doStartTag()
          Compare the specified parameter to the specified value, and decide whether or not to include the body content.
 java.lang.String getName()
          Return the parameter name.
 java.lang.String getValue()
          Return the comparison value.
 void release()
          Release any acquired resources.
 void setName(java.lang.String name)
          Set the parameter name.
 void setValue(java.lang.String value)
          Set the comparison value.
 
クラス 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
 
インタフェース javax.servlet.jsp.tagext.IterationTag から継承したメソッド
 

フィールドの詳細

name

protected java.lang.String name
The name of the parameter being compared.


value

protected java.lang.String value
The value to compare this parameter to.

コンストラクタの詳細

IfParameterEqualsTag

public IfParameterEqualsTag()
メソッドの詳細

getName

public java.lang.String getName()
Return the parameter name.


setName

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

パラメータ:
name - The new parameter name

getValue

public java.lang.String getValue()
Return the comparison value.


setValue

public void setValue(java.lang.String value)
Set the comparison value.

パラメータ:
value - The new comparison value

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Compare the specified parameter to the specified value, and decide whether or not to include the body content.

例外:
javax.servlet.jsp.JspException - if a JSP exception has occurred

release

public void release()
Release any acquired resources.



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