org.ujac.web.tag
Class ElseTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.ujac.web.tag.BaseConditionTag
org.ujac.web.tag.ElseTag
- All Implemented Interfaces:
- Serializable, BodyTag, IterationTag, Tag, TemplateContextHolder
public class ElseTag
- extends BaseConditionTag
Name: IfTag
Description: A custom tag class implementing the tag <ujac:else>.
- Author:
- lauerc
- See Also:
- Serialized Form
Method Summary |
protected boolean |
evalCondition()
Evaluates the condition. |
void |
release()
Resets the custom tag values. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElseTag
public ElseTag()
evalCondition
protected boolean evalCondition()
throws JspException
- 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.
release
public void release()
- Resets the custom tag values.
- Specified by:
release
in interface Tag
- Overrides:
release
in class BaseConditionTag
- See Also:
BodyTagSupport.release()
Copyright © 2003-2004 UJAC.org. All Rights Reserved.