|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.apache.struts.taglib.logic.ConditionalTagBase
Abstract base class for the various conditional evaluation tags.
| フィールドの概要 | |
protected java.lang.String |
cookie
The name of the cookie to be used as a variable. |
protected java.lang.String |
header
The name of the HTTP request header to be used as a variable. |
protected static MessageResources |
messages
The message resources for this package. |
protected java.lang.String |
name
The name of the JSP bean to be used as a variable (if property is not specified), or whose property is to be
accessed (if property is specified). |
protected java.lang.String |
parameter
The name of the HTTP request parameter to be used as a variable. |
protected java.lang.String |
property
The name of the bean property to be used as a variable. |
protected java.lang.String |
role
The name of the security role to be checked for. |
protected java.lang.String |
scope
The scope to search for the bean named by the name property, or "any scope" if null. |
protected java.lang.String |
user
The user principal name to be checked for. |
| クラス 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 |
| コンストラクタの概要 | |
ConditionalTagBase()
|
|
| メソッドの概要 | |
protected abstract boolean |
condition()
Evaluate the condition that is being tested by this particular tag, and return true if the nested body content of this tag
should be evaluated, or false if it should be skipped.
|
int |
doEndTag()
Evaluate the remainder of the current page normally. |
int |
doStartTag()
Perform the test required for this particular tag, and either evaluate or skip the body of this tag. |
java.lang.String |
getCookie()
|
java.lang.String |
getHeader()
|
java.lang.String |
getName()
|
java.lang.String |
getParameter()
|
java.lang.String |
getProperty()
|
java.lang.String |
getRole()
|
java.lang.String |
getScope()
|
java.lang.String |
getUser()
|
void |
release()
Release all allocated resources. |
void |
setCookie(java.lang.String cookie)
|
void |
setHeader(java.lang.String header)
|
void |
setName(java.lang.String name)
|
void |
setParameter(java.lang.String parameter)
|
void |
setProperty(java.lang.String property)
|
void |
setRole(java.lang.String role)
|
void |
setScope(java.lang.String scope)
|
void |
setUser(java.lang.String user)
|
| クラス javax.servlet.jsp.tagext.TagSupport から継承したメソッド |
doAfterBody, 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 から継承したメソッド |
|
| フィールドの詳細 |
protected java.lang.String cookie
protected java.lang.String header
protected static MessageResources messages
protected java.lang.String name
property is not specified), or whose property is to be
accessed (if property is specified).
protected java.lang.String parameter
protected java.lang.String property
protected java.lang.String role
protected java.lang.String scope
protected java.lang.String user
| コンストラクタの詳細 |
public ConditionalTagBase()
| メソッドの詳細 |
public java.lang.String getCookie()
public void setCookie(java.lang.String cookie)
public java.lang.String getHeader()
public void setHeader(java.lang.String header)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getParameter()
public void setParameter(java.lang.String parameter)
public java.lang.String getProperty()
public void setProperty(java.lang.String property)
public java.lang.String getRole()
public void setRole(java.lang.String role)
public java.lang.String getScope()
public void setScope(java.lang.String scope)
public java.lang.String getUser()
public void setUser(java.lang.String user)
public int doStartTag()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException - if a JSP exception occurs
public int doEndTag()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException - if a JSP exception occurspublic void release()
protected abstract boolean condition()
throws javax.servlet.jsp.JspException
true if the nested body content of this tag
should be evaluated, or false if it should be skipped.
This method must be implemented by concrete subclasses.
javax.servlet.jsp.JspException - if a JSP exception occurs
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||