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 FormModifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
Inserted to satisfy Serializable interface.
|
protected String |
source |
id, pageContext
EVAL_BODY_AGAIN
EVAL_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, setValue
private static final long serialVersionUID
public DefaultTag()
public void setPageContext(PageContext context)
setPageContext
in interface Tag
setPageContext
in class TagSupport
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class TagSupport
JspException
public int doEndTag() throws JspException
doEndTag
in interface Tag
doEndTag
in class TagSupport
JspException