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
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class OtherwiseTag extends WhenTagSupport
Tag handler for <otherwise> in JSTL.
- Author:
- Shawn Bayern
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OtherwiseTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
condition()
Subclasses implement this method to compute the boolean result of the conditional action.-
Methods inherited from class org.apache.taglibs.standard.tag.common.core.WhenTagSupport
doStartTag
-
Methods inherited from class javax.servlet.jsp.jstl.core.ConditionalTagSupport
release, setScope, setVar
-
-
-
-
Method Detail
-
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 classConditionalTagSupport
- Returns:
- a boolean representing the condition that a particular subclass uses to drive its conditional logic.
-
-