javax.servlet.jsp.tagext
Interface SimpleTag

All Superinterfaces:
JspTag
All Known Implementing Classes:
JspTagFileSupport, JspTagSupport, SimpleTagSupport

public interface SimpleTag
extends JspTag

Tags are Java classes implementing JSP Tag extensions. The simple tag is intended for tags that support fragments.


Method Summary
 void doTag()
          Callback to handle the tag.
 JspTag getParent()
          Returns the parent tag.
 void setJspBody(JspFragment jspBody)
          Sets the JSP fragment for the body.
 void setJspContext(JspContext pc)
          Sets the JSP context for the tag.
 void setParent(JspTag parent)
          Sets the parent tag.
 

Method Detail

getParent

JspTag getParent()
Returns the parent tag.


setParent

void setParent(JspTag parent)
Sets the parent tag.


setJspBody

void setJspBody(JspFragment jspBody)
Sets the JSP fragment for the body.


setJspContext

void setJspContext(JspContext pc)
Sets the JSP context for the tag.


doTag

void doTag()
           throws JspException,
                  java.io.IOException
Callback to handle the tag.

doTag can assume setPageContext, setParent, and all tag attribute properties have been called.

Throws:
JspException
java.io.IOException