Class FacetTag

All Implemented Interfaces:
IterationTag, JspTag, Tag, Serializable

public class FacetTag extends TagSupport

FacetTag is the Jakarta Server Pages 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:
  • Constructor Details

    • FacetTag

      public FacetTag()
  • Method Details

    • getName

      public String getName()

      Return the name to be assigned to this facet.

      Returns:
      the name
    • 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 Tag
      Overrides:
      release in class TagSupport
      See Also:
    • doStartTag

      public int doStartTag() throws JspException

      Return EVAL_BODY_INCLUDE to cause nested body content to be evaluated.

      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: