Choose (Apache Tomcat 11.0.24 API Documentation)
Description: declaration: package: org.apache.jasper.tagplugins.jstl.core, class: Choose

# Class Choose

java.lang.Object
org.apache.jasper.tagplugins.jstl.core.Choose

All Implemented Interfaces:
  `TagPlugin`

public final class Choose extends Object implements TagPlugin
Tag plugin for the JSTL <c:choose> tag.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Choose()`
  Creates a new Choose tag plugin.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `doTag(TagPluginContext ctxt)`
  Generate codes for a custom tag.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Choose

    public Choose()
    Creates a new Choose tag plugin.

- ## Method Details

  - ### doTag

    public void doTag(TagPluginContext ctxt)
    Description copied from interface: `TagPlugin`
    Generate codes for a custom tag.
    Specified by:
      `doTag` in interface `TagPlugin`
    Parameters:
      `ctxt` - a TagPluginContext for accessing Jasper functions