public class MatchTag extends 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 |
---|
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. |
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, setUser
protected 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.Tag
release
in class ConditionalTagBase
protected 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 ConditionalTagBase
javax.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–2017 Apache Software Foundation. All rights reserved.