java.lang.Object
jakarta.servlet.jsp.tagext.SimpleTagSupport
ee.jakarta.tck.pages.api.jakarta_servlet.jsp.tagext.simpletagsupport.SimpleParentTag
All Implemented Interfaces:
jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.SimpleTag

public class SimpleParentTag extends jakarta.servlet.jsp.tagext.SimpleTagSupport
SimpleTag to do nothing more than invoke its body.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Does nothing more than invokes the body.
    Returns the level set for this tag.
    void
    Sets the level for this tag.

    Methods inherited from class jakarta.servlet.jsp.tagext.SimpleTagSupport

    findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SimpleParentTag

      public SimpleParentTag()
      Default constructor
  • Method Details

    • getLevel

      public String getLevel()
      Returns the level set for this tag.
      Returns:
      the nesting level defined by the tag
    • setLevel

      public void setLevel(String level)
      Sets the level for this tag.
      Parameters:
      level - - the nesting level of the tag
    • doTag

      public void doTag() throws jakarta.servlet.jsp.JspException, IOException
      Does nothing more than invokes the body.
      Specified by:
      doTag in interface jakarta.servlet.jsp.tagext.SimpleTag
      Overrides:
      doTag in class jakarta.servlet.jsp.tagext.SimpleTagSupport
      Throws:
      jakarta.servlet.jsp.JspException - Subclasses can throw JspException to indicate an error occurred while processing this tag.
      jakarta.servlet.jsp.SkipPageException - If the page that (either directly or indirectly) invoked this tag is to cease evaluation. A Simple Tag Handler generated from a tag file must throw this exception if an invoked Classic Tag Handler returned SKIP_PAGE or if an invoked Simple Tag Handler threw SkipPageException or if an invoked Jsp Fragment threw a SkipPageException.
      IOException - Subclasses can throw IOException if there was an error writing to the output stream