Package jakarta.faces.webapp
Class AttributeTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
jakarta.faces.webapp.AttributeTag
- All Implemented Interfaces:
IterationTag,JspTag,Tag,Serializable
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:
-
Field Summary
Fields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdoEndTag()Deprecated.Default processing of the end tag returning EVAL_PAGE.intDeprecated.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.voidDeprecated.Set the attribute name.voidDeprecated.Set the attribute value.Methods inherited from class jakarta.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
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
Deprecated.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 interfaceTag- Overrides:
doStartTagin classTagSupport- Returns:
- SKIP_BODY
- Throws:
JspException- if a Jakarta Server Pages error occurs- See Also:
-
doEndTag
Deprecated.Description copied from class:TagSupportDefault processing of the end tag returning EVAL_PAGE.- Specified by:
doEndTagin interfaceTag- Overrides:
doEndTagin classTagSupport- 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:
releasein interfaceTag- Overrides:
releasein classTagSupport- See Also:
-