public class ReverseMatchTag
extends org.apache.struts.taglib.logic.ConditionalTagBase
| Modifier and Type | Field and Description |
|---|---|
protected String |
location
The location where the match must exist (
start or
end), or null for anywhere. |
protected String |
value
The value to which the variable specified by other attributes of this
tag will be matched.
|
| Constructor and Description |
|---|
ReverseMatchTag() |
| Modifier and Type | Method and Description |
|---|---|
protected 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. |
protected boolean |
condition(boolean desired)
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. |
String |
getLocation() |
String |
getValue() |
void |
release()
Release all allocated resources.
|
void |
setLocation(String location) |
void |
setValue(String value) |
doEndTag, doStartTag, getCookie, getHeader, getName, getParameter, getProperty, getRole, getScope, getUser, setCookie, setHeader, setName, setParameter, setProperty, setRole, setScope, setUserprotected String location
start or
end), or null for anywhere.protected String value
public String getLocation()
public void setLocation(String location)
public String getValue()
public void setValue(String value)
public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class org.apache.struts.taglib.logic.ConditionalTagBaseprotected 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.condition in class org.apache.struts.taglib.logic.ConditionalTagBasejavax.servlet.jsp.JspException - if a JSP exception occursprotected 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.
This method must be implemented by concrete subclasses.desired - Desired value for a true resultjavax.servlet.jsp.JspException - if a JSP exception occursCopyright © 2018 B3Partners B.V.. All rights reserved.