public class ELMatchTag extends MatchTag
This class is a subclass of the
class org.apache.struts.taglib.logic.MatchTag
which provides
most of the described functionality. This subclass allows all attribute
values to be specified as expressions utilizing the JavaServer Pages
Standard Library expression language.
Constructor and Description |
---|
ELMatchTag() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
condition(boolean desired)
Evaluates the condition that is being tested by this particular tag,
and returns
true if the nested body content of this tag
should be evaluated, or false if it should be skipped. |
int |
doStartTag()
Process the start tag.
|
String |
getCookieExpr()
Getter method for "cookie" tag attribute.
|
String |
getExpr()
Returns the string value of the expression.
|
String |
getExprValue()
Returns the evaluated expression.
|
String |
getHeaderExpr()
Getter method for "header" tag attribute.
|
String |
getLocationExpr()
Getter method for "location" tag attribute.
|
String |
getNameExpr()
Getter method for "name" tag attribute.
|
String |
getParameterExpr()
Getter method for "parameter" tag attribute.
|
String |
getPropertyExpr()
Getter method for "property" tag attribute.
|
String |
getScopeExpr()
Getter method for "scope" tag attribute.
|
String |
getValueExpr()
Getter method for "value" tag attribute.
|
void |
release()
Releases state of custom tag so this instance can be reused.
|
void |
setCookieExpr(String cookieExpr)
Setter method for "cookie" tag attribute.
|
void |
setExpr(String expr)
Sets the string value of the expression.
|
void |
setExprValue(String exprValue)
Sets the evaluated expression.
|
void |
setHeaderExpr(String headerExpr)
Setter method for "header" tag attribute.
|
void |
setLocationExpr(String locationExpr)
Setter method for "location" tag attribute.
|
void |
setNameExpr(String nameExpr)
Setter method for "name" tag attribute.
|
void |
setParameterExpr(String parameterExpr)
Setter method for "parameter" tag attribute.
|
void |
setPropertyExpr(String propertyExpr)
Setter method for "property" tag attribute.
|
void |
setScopeExpr(String scopeExpr)
Setter method for "scope" tag attribute.
|
void |
setValueExpr(String valueExpr)
Setter method for "value" tag attribute.
|
condition, getLocation, getValue, setLocation, setValue
doEndTag, getCookie, getHeader, getName, getParameter, getProperty, getRole, getScope, getUser, setCookie, setHeader, setName, setParameter, setProperty, setRole, setScope, setUser
public String getCookieExpr()
public String getHeaderExpr()
public String getLocationExpr()
public String getNameExpr()
public String getParameterExpr()
public String getPropertyExpr()
public String getScopeExpr()
public String getValueExpr()
public void setCookieExpr(String cookieExpr)
public void setHeaderExpr(String headerExpr)
public void setLocationExpr(String locationExpr)
public void setNameExpr(String nameExpr)
public void setParameterExpr(String parameterExpr)
public void setPropertyExpr(String propertyExpr)
public void setScopeExpr(String scopeExpr)
public void setValueExpr(String valueExpr)
public String getExpr()
public void setExpr(String expr)
public String getExprValue()
public void setExprValue(String exprValue)
public void release()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class ConditionalTagBase
javax.servlet.jsp.JspException
- if a JSP exception has occurredprotected boolean condition(boolean desired) throws javax.servlet.jsp.JspException
true
if the nested body content of this tag
should be evaluated, or false
if it should be skipped.Copyright © 2000–2016 Apache Software Foundation. All rights reserved.