Class SimpleParentTag
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 -
Method Summary
Methods inherited from class jakarta.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
-
Constructor Details
-
SimpleParentTag
public SimpleParentTag()Default constructor
-
-
Method Details
-
getLevel
Returns the level set for this tag.- Returns:
- the nesting level defined by the tag
-
setLevel
Sets the level for this tag.- Parameters:
level
- - the nesting level of the tag
-
doTag
Does nothing more than invokes the body.- Specified by:
doTag
in interfacejakarta.servlet.jsp.tagext.SimpleTag
- Overrides:
doTag
in classjakarta.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
-