Class OtherwiseTag

All Implemented Interfaces:
IterationTag, JspTag, Tag, Serializable

public class OtherwiseTag extends WhenTagSupport

Tag handler for <otherwise> in JSTL.

Author:
Shawn Bayern
See Also:
  • Constructor Details

    • OtherwiseTag

      public OtherwiseTag()
  • Method Details

    • 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.