Class AttributeTag

java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
jakarta.faces.webapp.AttributeTag
All Implemented Interfaces:
IterationTag, JspTag, Tag, Serializable

@Deprecated public class AttributeTag extends TagSupport
Deprecated.
The Faces implementation must now provide the implementation for this class.

Tag implementation that adds an attribute with a specified name and String value to the component whose tag it is nested inside, if the component does not already contain an attribute with the same name. This tag creates no output to the page currently being created.

See Also:
  • Constructor Details

    • AttributeTag

      public AttributeTag()
      Deprecated.
  • Method Details

    • setName

      public void setName(String name)
      Deprecated.

      Set the attribute name.

      Parameters:
      name - The new attribute name
    • setValue

      public void setValue(String value)
      Deprecated.

      Set the attribute value.

      Parameters:
      value - The new attribute value
    • doStartTag

      public int doStartTag() throws JspException
      Deprecated.

      Register the specified attribute name and value with the UIComponent instance associated with our most immediately surrounding UIComponentTag instance, if this UIComponent does not already have a value for the specified attribute name.

      Specified by:
      doStartTag in interface Tag
      Overrides:
      doStartTag in class TagSupport
      Returns:
      SKIP_BODY
      Throws:
      JspException - if a Jakarta Server Pages error occurs
      See Also:
    • doEndTag

      public int doEndTag() throws JspException
      Deprecated.
      Description copied from class: TagSupport
      Default processing of the end tag returning EVAL_PAGE.
      Specified by:
      doEndTag in interface Tag
      Overrides:
      doEndTag in class TagSupport
      Returns:
      EVAL_PAGE
      Throws:
      JspException - if an error occurs while processing this tag
      See Also:
    • release

      public void release()
      Deprecated.

      Release references to any acquired resources.

      Specified by:
      release in interface Tag
      Overrides:
      release in class TagSupport
      See Also: