Class FacetTag

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

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.

See Also:
  • Field Summary

    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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Return EVAL_BODY_INCLUDE to cause nested body content to be evaluated.
    Return the name to be assigned to this facet.
    void
    Release any resources allocated by this tag instance.
    void
    Set the name to be assigned to this facet.

    Methods inherited from class javax.servlet.jsp.tagext.TagSupport

    doAfterBody, doEndTag, 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
  • Constructor Details

    • FacetTag

      public FacetTag()
  • Method Details

    • getName

      public String getName()

      Return the name to be assigned to this facet.

    • setName

      public void setName(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 interface javax.servlet.jsp.tagext.Tag
      Overrides:
      release in class javax.servlet.jsp.tagext.TagSupport
    • doStartTag

      public int doStartTag() throws javax.servlet.jsp.JspException

      Return EVAL_BODY_INCLUDE to cause nested body content to be evaluated.

      Specified by:
      doStartTag in interface javax.servlet.jsp.tagext.Tag
      Overrides:
      doStartTag in class javax.servlet.jsp.tagext.TagSupport
      Throws:
      javax.servlet.jsp.JspException