Package jakarta.faces.webapp
Class FacetTag
- java.lang.Object
-
- jakarta.servlet.jsp.tagext.TagSupport
-
- jakarta.faces.webapp.FacetTag
-
- All Implemented Interfaces:
IterationTag
,JspTag
,Tag
,java.io.Serializable
public class FacetTag extends TagSupport
FacetTag is the Jakarta Server Pages mechanism for denoting a
UIComponent
is to be added as afacet
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 singleUIComponent
instance.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContext
-
Fields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
-
Fields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
-
-
Constructor Summary
Constructors Constructor Description FacetTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doStartTag()
ReturnEVAL_BODY_INCLUDE
to cause nested body content to be evaluated.java.lang.String
getName()
Return the name to be assigned to this facet.void
release()
Release any resources allocated by this tag instance.void
setName(java.lang.String name)
Set the name to be assigned to this facet.-
Methods inherited from class jakarta.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Return the name to be assigned to this facet.
- Returns:
- the name
-
setName
public void setName(java.lang.String name)
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:
release
in interfaceTag
- Overrides:
release
in classTagSupport
- See Also:
Tag.release()
-
doStartTag
public int doStartTag() throws JspException
Return
EVAL_BODY_INCLUDE
to cause nested body content to be evaluated.- Specified by:
doStartTag
in interfaceTag
- Overrides:
doStartTag
in classTagSupport
- Returns:
- SKIP_BODY
- Throws:
JspException
- if an error occurs while processing this tag- See Also:
Tag.doStartTag()
-
-