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

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

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Validate that getJspBody() returns a non null value.

    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

    • SimpleGetSetJspBody

      public SimpleGetSetJspBody()
      Default constructor.
  • Method Details

    • doTag

      public void doTag() throws jakarta.servlet.jsp.JspException, IOException
      Validate that getJspBody() returns a non null value. This indirectly ensures that the container properly called setJspBody().
      Specified by:
      doTag in interface jakarta.servlet.jsp.tagext.SimpleTag
      Overrides:
      doTag in class jakarta.servlet.jsp.tagext.SimpleTagSupport
      Throws:
      jakarta.servlet.jsp.JspException - - if an unexpected error occurs
      IOException - - if an unexpected I/O error occurs