org.ujac.web.tag
Class CaseTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.ujac.web.tag.BaseConditionTag
org.ujac.web.tag.CaseTag
- All Implemented Interfaces:
- Serializable, BodyTag, IterationTag, Tag, TemplateContextHolder
public class CaseTag
- extends BaseConditionTag
Name: CaseTag
Description: A custom tag class implementing the tag <ujac:case>.
.
- Author:
- lauerc
- See Also:
- Serialized Form
|
Method Summary |
protected boolean |
evalCondition()
Evaluates the condition. |
void |
setValue(String value)
Setter method for the the property value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CaseTag
public CaseTag()
setValue
public void setValue(String value)
- Setter method for the the property value.
- Parameters:
value - The value to set for the property value.
evalCondition
protected boolean evalCondition()
throws JspException
- Description copied from class:
BaseConditionTag
- Evaluates the condition.
- Specified by:
evalCondition in class BaseConditionTag
- Returns:
- true in case the body shall be processed, else false.
- Throws:
JspException - In case something went wrong.- See Also:
BaseConditionTag.evalCondition()
Copyright © 2003-2004 UJAC.org. All Rights Reserved.