public class SimpleTagSupport extends java.lang.Object implements SimpleTag
| Constructor and Description |
|---|
SimpleTagSupport()
Create a new SimpleTagSupport.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
public JspTag getParent()
public void setParent(JspTag parent)
protected JspFragment getJspBody()
public void setJspBody(JspFragment body)
setJspBody in interface SimpleTagprotected JspContext getJspContext()
public void setJspContext(JspContext context)
setJspContext in interface SimpleTagpublic void doTag()
throws java.io.IOException,
JspException
doTag in interface SimpleTagjava.io.IOExceptionJspExceptionpublic static final JspTag findAncestorWithClass(JspTag tag, java.lang.Class<?> cl)
tag - child tag to start searching.cl - the class that the tag should implement.