public class FacetTag extends 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.
id, pageContext
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
FacetTag() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Return
EVAL_BODY_INCLUDE to cause nested body
content to be evaluated. |
String |
getName()
Return the name to be assigned to this facet.
|
void |
release()
Release any resources allocated by this tag instance.
|
void |
setName(String name)
Set the name to be assigned to this facet.
|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
public String getName()
Return the name to be assigned to this facet.
public void setName(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 Tag
release
in class TagSupport
Tag.release()
public int doStartTag() throws JspException
Return EVAL_BODY_INCLUDE
to cause nested body
content to be evaluated.
doStartTag
in interface Tag
doStartTag
in class TagSupport
JspException
- if an error occurs while processing this tagTag.doStartTag()
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.