org.apache.taglibs.standard.tag.common.core
Class OtherwiseTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.jstl.core.ConditionalTagSupport
org.apache.taglibs.standard.tag.common.core.WhenTagSupport
org.apache.taglibs.standard.tag.common.core.OtherwiseTag
- All Implemented Interfaces:
- Serializable, IterationTag, JspTag, Tag
public class OtherwiseTag
- extends WhenTagSupport
Tag handler for <otherwise> in JSTL.
- Author:
- Shawn Bayern
- See Also:
- Serialized Form
Method Summary |
protected boolean |
condition()
Subclasses implement this method to compute the boolean result
of the conditional action. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OtherwiseTag
public OtherwiseTag()
condition
protected boolean condition()
- Description copied from class:
ConditionalTagSupport
Subclasses implement this method to compute the boolean result
of the conditional action. This method is invoked once per tag invocation
by doStartTag().
- Specified by:
condition
in class ConditionalTagSupport
- Returns:
- a boolean representing the condition that a particular subclass
uses to drive its conditional logic.
Copyright © 2007 Mort Bay Consulting. All Rights Reserved.