Package jakarta.faces.webapp
Class AttributeTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
jakarta.faces.webapp.AttributeTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag,jakarta.servlet.jsp.tagext.JspTag,jakarta.servlet.jsp.tagext.Tag,Serializable
@Deprecated public class AttributeTag extends jakarta.servlet.jsp.tagext.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:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AttributeTag()Deprecated. -
Method Summary
Modifier and Type Method Description intdoEndTag()Deprecated.intdoStartTag()Deprecated.Register the specified attribute name and value with theUIComponentinstance associated with our most immediately surroundingUIComponentTaginstance, if thisUIComponentdoes not already have a value for the specified attribute name.voidrelease()Deprecated.Release references to any acquired resources.voidsetName(String name)Deprecated.Set the attribute name.voidsetValue(String value)Deprecated.Set the attribute value.
-
Constructor Details
-
AttributeTag
public AttributeTag()Deprecated.
-
-
Method Details
-
setName
Deprecated.Set the attribute name.
- Parameters:
name- The new attribute name
-
setValue
Deprecated.Set the attribute value.
- Parameters:
value- The new attribute value
-
doStartTag
public int doStartTag() throws jakarta.servlet.jsp.JspExceptionDeprecated.Register the specified attribute name and value with the
UIComponentinstance associated with our most immediately surroundingUIComponentTaginstance, if thisUIComponentdoes not already have a value for the specified attribute name.- Specified by:
doStartTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doStartTagin classjakarta.servlet.jsp.tagext.TagSupport- Throws:
jakarta.servlet.jsp.JspException- if a Jakarta Server Pages error occurs
-
doEndTag
public int doEndTag() throws jakarta.servlet.jsp.JspExceptionDeprecated.- Specified by:
doEndTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doEndTagin classjakarta.servlet.jsp.tagext.TagSupport- Throws:
jakarta.servlet.jsp.JspException
-
release
public void release()Deprecated.Release references to any acquired resources.
- Specified by:
releasein interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
releasein classjakarta.servlet.jsp.tagext.TagSupport
-