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.2 $ $Date: 2000/08/01 20:03:34 $
- 作成者:
- 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 |
|
メソッドの概要 |
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 |
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.tagext.Tag 内の doStartTag - オーバーライド:
- クラス
javax.servlet.jsp.tagext.TagSupport 内の doStartTag
- 例外:
javax.servlet.jsp.JspException - if a JSP exception has occurred
このドキュメントは、Ja-Jakartaにより訳されました。コメントがある場合は、report@jajakarta.orgまでお願いします。
Copyright (C) 2000-2002 - Apache Software Foundation