javax.faces.webapp
Class FacetTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.faces.webapp.FacetTag
All Implemented Interfaces:
IterationTag, JspTag, java.io.Serializable, Tag

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 tag child. This child must be a UIComponentTag instance representing a single UIComponent instance.

See Also:
Serialized Form

Field Summary
protected  int children
          The number of child component tags that have been nested inside this tag.
protected  java.lang.String name
          The name of this facet.
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
FacetTag()
           
 
Method Summary
 int doEndTag()
          Default processing of the end tag returning EVAL_PAGE.
 int doStartTag()
          Default processing of the start tag, returning SKIP_BODY.
 java.lang.String getName()
           
 void release()
          Release state.
 void setName(java.lang.String newName)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

children

protected int children

The number of child component tags that have been nested inside this tag.


name

protected 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.

Constructor Detail

FacetTag

public FacetTag()
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String newName)

release

public void release()
Description copied from class: TagSupport
Release state.

Specified by:
release in interface Tag
Overrides:
release in class TagSupport
See Also:
Tag.release()

doStartTag

public int doStartTag()
               throws JspException
Description copied from class: TagSupport
Default processing of the start tag, returning SKIP_BODY.

Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class TagSupport
Returns:
SKIP_BODY
Throws:
JspException - if an error occurs while processing this tag
See Also:
Tag.doStartTag()

doEndTag

public int doEndTag()
             throws JspException
Description copied from class: TagSupport
Default processing of the end tag returning EVAL_PAGE.

Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class TagSupport
Returns:
EVAL_PAGE
Throws:
JspException - if an error occurs while processing this tag
See Also:
Tag.doEndTag()