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

# Class Set

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

All Implemented Interfaces:
  `TagPlugin`

public class Set extends Object implements TagPlugin
Tag plugin for the JSTL `<c:set>` tag. Generates optimized Java source code to set a variable in a scope or set a property on a target object.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Set()`
  Construct a new Set tag plugin instance.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `doTag(TagPluginContext ctxt)`
  Generate the Java source code equivalent of the `<c:set>` tag.

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### Set

    public Set()
    Construct a new Set tag plugin instance.

- ## Method Details

  - ### doTag

    public void doTag(TagPluginContext ctxt)
    Generate the Java source code equivalent of the `<c:set>` tag.
    Specified by:
      `doTag` in interface `TagPlugin`
    Parameters:
      `ctxt` - the tag plugin context used to generate Java source