## Uses of Interface
javax.servlet.jsp.tagext.Tag

- Packages that use Tag
  Package | Description
  --- | ---
  javax.faces.webapp | Classes required for integration of JavaServer Faces into web applications, including a standard servlet, base classes for JSP custom component tags, and concrete tag implementations for core tags.
  javax.servlet.jsp.jstl.core | Classes and interfaces related to the core tag library component of the JavaServer Pages Standard Tag Library (JSTL).
  javax.servlet.jsp.tagext | Classes and interfaces for the definition of JavaServer Pages Tag Libraries.

- - ### Uses of Tag in javax.faces.webapp

    Classes in javax.faces.webapp that implement Tag
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AttributeTag` Deprecated. The Faces implementation must now provide the implementation for this class.
    `class` | `ConverterELTag` ConverterELTag is a base class for all JSP custom actions that create and register a `Converter` instance on the `ValueHolder` associated with our most immediate surrounding instance of a tag whose implementation class is a subclass of `UIComponentClassicTagBase`.
    `class` | `ConverterTag` Deprecated. This has been partially replaced by `ConverterELTag`. The remainder of the functionality, namely, the binding facility and the implementation of the `ConverterTag.createConverter()` method, is now an implementation detail.
    `class` | `FacetTag` FacetTag is the JSP mechanism for denoting a `UIComponent` is to be added as a `facet` to the component associated with its parent.
    `class` | `UIComponentBodyTag` Deprecated. All component tags now implement `BodyTag`. This class has been replaced by `UIComponentELTag`.
    `class` | `UIComponentClassicTagBase` `UIComponentTagBase` is the base class for all JSP tags that use the "classic" JSP tag interface that correspond to a `UIComponent` instance in the view.
    `class` | `UIComponentELTag` `UIComponentELTag` specializes its superclass to allow for properties that take their values from EL API expressions.
    `class` | `UIComponentTag` Deprecated. Use of this class has been replaced with `UIComponentELTag`, which extends `UIComponentClassicTagBase` to add properties that use the EL API introduced as part of JSP 2.1.
    `class` | `ValidatorELTag` ValidatorELTag is a base class for all JSP custom actions that create and register a `Validator` instance on the `EditableValueHolder` associated with our most immediate surrounding instance of a tag whose implementation class is a subclass of `UIComponentTag`.
    `class` | `ValidatorTag` Deprecated. This has been partially replaced by `ValidatorELTag`. The remainder of the functionality, namely, the binding facility and the implementation of the `ValidatorTag.createValidator()` method, is now an implementation detail.

    Methods in javax.faces.webapp that return Tag
    Modifier and Type | Method and Description
    --- | ---
    `Tag` | UIComponentClassicTagBase.`getParent()` Return the `Tag` that is the parent of this instance.

    Methods in javax.faces.webapp with parameters of type Tag
    Modifier and Type | Method and Description
    --- | ---
    `void` | UIComponentClassicTagBase.`setParent(Tag parent)` Set the `Tag` that is the parent of this instance.

  - ### Uses of Tag in javax.servlet.jsp.jstl.core

    Subinterfaces of Tag in javax.servlet.jsp.jstl.core
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `LoopTag` JSTL allows developers to write custom iteration tags by implementing the LoopTag interface.

    Classes in javax.servlet.jsp.jstl.core that implement Tag
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ConditionalTagSupport` Abstract class that facilitates implementation of conditional actions where the boolean result is exposed as a JSP scoped variable.
    `class` | `LoopTagSupport` Base support class to facilitate implementation of iteration tags.

  - ### Uses of Tag in javax.servlet.jsp.tagext

    Subinterfaces of Tag in javax.servlet.jsp.tagext
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `BodyTag` The BodyTag interface extends IterationTag by defining additional methods that let a tag handler manipulate the content of evaluating its body.
    `interface` | `IterationTag` The IterationTag interface extends Tag by defining one additional method that controls the reevaluation of its body.

    Classes in javax.servlet.jsp.tagext that implement Tag
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BodyTagSupport` A base class for defining tag handlers implementing BodyTag.
    `class` | `TagAdapter` Wraps any SimpleTag and exposes it using a Tag interface.
    `class` | `TagSupport` A base class for defining new tag handlers implementing Tag.

    Methods in javax.servlet.jsp.tagext that return Tag
    Modifier and Type | Method and Description
    --- | ---
    `static Tag` | TagSupport.`findAncestorWithClass(Tag from, Class klass)` Find the instance of a given class type that is closest to a given instance.
    `Tag` | TagSupport.`getParent()` The Tag instance most closely enclosing this tag instance.
    `Tag` | TagAdapter.`getParent()` Returns the parent of this tag, which is always getAdaptee().getParent().
    `Tag` | Tag.`getParent()` Get the parent (closest enclosing tag handler) for this tag handler.

    Methods in javax.servlet.jsp.tagext with parameters of type Tag
    Modifier and Type | Method and Description
    --- | ---
    `static Tag` | TagSupport.`findAncestorWithClass(Tag from, Class klass)` Find the instance of a given class type that is closest to a given instance.
    `void` | TagSupport.`setParent(Tag t)` Set the nesting tag of this tag.
    `void` | TagAdapter.`setParent(Tag parentTag)` Must not be called.
    `void` | Tag.`setParent(Tag t)` Set the parent (closest enclosing tag handler) of this tag handler.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.