public class MatchTag extends ConditionalTagBase
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
location
The location where the match must exist (
start or
end), or null for anywhere. |
protected java.lang.String |
value
The value to which the variable specified by other attributes of this
tag will be matched.
|
| Constructor and Description |
|---|
MatchTag() |
| 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. |
java.lang.String |
getLocation() |
java.lang.String |
getValue() |
void |
release()
Release all allocated resources.
|
void |
setLocation(java.lang.String location) |
void |
setValue(java.lang.String value) |
doEndTag, doStartTag, getCookie, getHeader, getName, getParameter, getProperty, getRole, getScope, getUser, setCookie, setHeader, setName, setParameter, setProperty, setRole, setScope, setUserprotected java.lang.String location
start or
end), or null for anywhere.protected java.lang.String value
public java.lang.String getLocation()
public void setLocation(java.lang.String location)
public java.lang.String getValue()
public void setValue(java.lang.String value)
public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class 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 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 © 2000–2025 Apache Software Foundation. All rights reserved.