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

# Class If

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

All Implemented Interfaces:
  `TagPlugin`

public final class If extends Object implements TagPlugin

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `If()`

- ## 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

  - ### If

    public If()

- ## 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