org.apache.struts.taglib
クラス IfParameterNullTag

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

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

Conditionally include the body of this tag if the specified parameter is not present in the current request, or it is present as a zero length string.

バージョン:
$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.
 
クラス 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
 
コンストラクタの概要
IfParameterNullTag()
           
 
メソッドの概要
 int doStartTag()
          Retrieve the specified parameter, and decide whether or not to include the body content.
 java.lang.String getName()
          Return the parameter name.
 void setName(java.lang.String name)
          Set the parameter name.
 
クラス javax.servlet.jsp.tagext.TagSupport から継承したメソッド
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, 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.

コンストラクタの詳細

IfParameterNullTag

public IfParameterNullTag()
メソッドの詳細

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

doStartTag

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

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


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