|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.SimpleTagSupport
public class SimpleTagSupport
Support for SimpleTag.
Constructor Summary | |
---|---|
SimpleTagSupport()
Create a new SimpleTagSupport. |
Method Summary | |
---|---|
void |
doTag()
Does nothing. |
static JspTag |
findAncestorWithClass(JspTag tag,
java.lang.Class<?> cl)
Finds an ancestor of a tag matching the class. |
protected JspFragment |
getJspBody()
returns the body fragment. |
protected JspContext |
getJspContext()
returns the context |
JspTag |
getParent()
returns the parent |
void |
setJspBody(JspFragment body)
Sets the body fragment. |
void |
setJspContext(JspContext context)
Sets the context |
void |
setParent(JspTag parent)
Sets the parent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleTagSupport()
Method Detail |
---|
public JspTag getParent()
getParent
in interface SimpleTag
public void setParent(JspTag parent)
setParent
in interface SimpleTag
protected JspFragment getJspBody()
public void setJspBody(JspFragment body)
setJspBody
in interface SimpleTag
protected JspContext getJspContext()
public void setJspContext(JspContext context)
setJspContext
in interface SimpleTag
public void doTag() throws java.io.IOException, JspException
doTag
in interface SimpleTag
java.io.IOException
JspException
public static final JspTag findAncestorWithClass(JspTag tag, java.lang.Class<?> cl)
tag
- child tag to start searching.cl
- the class that the tag should implement.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |