| org.apache.struts.taglib.logic.ConditionalTagBase org.apache.struts.taglib.logic.MatchTag
All known Subclasses: org.apache.struts.taglib.logic.NotMatchTag, org.apache.struts.taglib.nested.logic.NestedMatchTag, org.apache.strutsel.taglib.logic.ELMatchTag,
MatchTag | public class MatchTag extends ConditionalTagBase (Code) | | Evalute the nested body content of this tag if the specified value is a
substring of the specified variable.
version: $Rev: 471754 $ $Date: 2004-10-16 12:38:42 -0400 (Sat, 16 Oct 2004) version: $ |
Field Summary | |
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. |
Method Summary | |
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. | public String | getLocation() | public String | getValue() | public void | release() Release all allocated resources. | public void | setLocation(String location) | public void | setValue(String value) |
location | protected String location(Code) | | The location where the match must exist (start or
end ), or null for anywhere.
|
value | protected String value(Code) | | The value to which the variable specified by other attributes of this
tag will be matched.
|
condition | protected boolean condition() throws JspException(Code) | | 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. This
method must be implemented by concrete subclasses.
throws: JspException - if a JSP exception occurs |
condition | protected boolean condition(boolean desired) throws JspException(Code) | | 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. This
method must be implemented by concrete subclasses.
Parameters: desired - Desired value for a true result throws: JspException - if a JSP exception occurs |
release | public void release()(Code) | | Release all allocated resources.
|
|
|