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

public class SimpleGetSetParent extends jakarta.servlet.jsp.tagext.SimpleTagSupport
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Validates that getParent() returns the expected result.

    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

    • SimpleGetSetParent

      public SimpleGetSetParent()
      Default constructor.
  • Method Details

    • doTag

      public void doTag() throws jakarta.servlet.jsp.JspException, IOException
      Validates that getParent() returns the expected result. This indirectly ensures that the container called setParent().
      Specified by:
      doTag in interface jakarta.servlet.jsp.tagext.SimpleTag
      Overrides:
      doTag in class jakarta.servlet.jsp.tagext.SimpleTagSupport
      Throws:
      jakarta.servlet.jsp.JspException
      IOException