public class FacetTag
extends javax.servlet.jsp.tagext.TagSupport
FacetTag is the JSP 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.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
The name of this facet.
|
Constructor and Description |
---|
FacetTag() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Return
EVAL_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.
|
private java.lang.String name
The name of this facet. This will be used as the facet name for
our UIComponentTag
child in our UIComponentTag
parent's facet list.
public java.lang.String getName()
Return the name to be assigned to this facet.
public void setName(java.lang.String name)
Set the name to be assigned to this facet.
name
- The new facet namepublic void release()
Release any resources allocated by this tag instance.
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
public int doStartTag() throws javax.servlet.jsp.JspException
Return EVAL_BODY_INCLUDE
to cause nested body
content to be evaluated.
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException