Package jakarta.faces.webapp
Class FacetTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
jakarta.faces.webapp.FacetTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag,jakarta.servlet.jsp.tagext.JspTag,jakarta.servlet.jsp.tagext.Tag,Serializable
public class FacetTag
extends jakarta.servlet.jsp.tagext.TagSupport
FacetTag is the Jakarta Server Pages mechanism for denoting a
UIComponent is to be added as a facet to the component associated with
its parent.
A FacetTag must have one and only one child. This child must be a UIComponentTag instance
representing a single UIComponent instance.
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FacetTag() -
Method Summary
Modifier and Type Method Description intdoStartTag()ReturnEVAL_BODY_INCLUDEto cause nested body content to be evaluated.StringgetName()Return the name to be assigned to this facet.voidrelease()Release any resources allocated by this tag instance.voidsetName(String name)Set the name to be assigned to this facet.
-
Constructor Details
-
FacetTag
public FacetTag()
-
-
Method Details
-
getName
Return the name to be assigned to this facet.
- Returns:
- the name
-
setName
Set the name to be assigned to this facet.
- Parameters:
name- The new facet name
-
release
public void release()Release any resources allocated by this tag instance.
- Specified by:
releasein interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
releasein classjakarta.servlet.jsp.tagext.TagSupport
-
doStartTag
public int doStartTag() throws jakarta.servlet.jsp.JspExceptionReturn
EVAL_BODY_INCLUDEto cause nested body content to be evaluated.- Specified by:
doStartTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doStartTagin classjakarta.servlet.jsp.tagext.TagSupport- Throws:
jakarta.servlet.jsp.JspException
-