public class DefaultTag extends TagSupport
I was hoping that the tag class could determine the tag name and act accordingly. However, it appears that this can only be used for one tag name. In this case, it serves as a replacement for the html tag.
TagExtraInfo,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
Inserted to satisfy Serializable interface.
|
protected String |
source |
id, pageContextEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
DefaultTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag() |
int |
doStartTag() |
String |
getSource() |
void |
setPageContext(PageContext context) |
void |
setSource(String value) |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setParent, setValueprivate static final long serialVersionUID
public DefaultTag()
public void setPageContext(PageContext context)
setPageContext in interface TagsetPageContext in class TagSupportpublic int doStartTag() throws JspException
doStartTag in interface TagdoStartTag in class TagSupportJspExceptionpublic int doEndTag() throws JspException
doEndTag in interface TagdoEndTag in class TagSupportJspException