public abstract class AbstractTag extends javax.servlet.jsp.tagext.BodyTagSupport implements RequestConstants
Modifier and Type | Field and Description |
---|---|
protected javax.servlet.jsp.PageContext |
pageContext |
protected javax.servlet.jsp.tagext.Tag |
parent |
DECORATOR, PAGE, ROBOT
Constructor and Description |
---|
AbstractTag() |
Modifier and Type | Method and Description |
---|---|
abstract int |
doEndTag()
To be implemented by all empty tags.
|
int |
doStartTag()
Returns SKIP_BODY.
|
protected java.io.Writer |
getOut()
Get the outputWriter.
|
protected Page |
getPage()
Return the Page object from the PAGE scope.
|
javax.servlet.jsp.tagext.Tag |
getParent() |
void |
release() |
void |
setPageContext(javax.servlet.jsp.PageContext pageContext) |
void |
setParent(javax.servlet.jsp.tagext.Tag parent) |
protected static void |
trace(java.lang.Exception e)
Log exception generated by taglib.
|
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
protected javax.servlet.jsp.PageContext pageContext
protected javax.servlet.jsp.tagext.Tag parent
public abstract int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public int doStartTag()
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.BodyTagSupport
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.BodyTagSupport
public javax.servlet.jsp.tagext.Tag getParent()
getParent
in interface javax.servlet.jsp.tagext.Tag
getParent
in class javax.servlet.jsp.tagext.TagSupport
public void setParent(javax.servlet.jsp.tagext.Tag parent)
setParent
in interface javax.servlet.jsp.tagext.Tag
setParent
in class javax.servlet.jsp.tagext.TagSupport
public void setPageContext(javax.servlet.jsp.PageContext pageContext)
setPageContext
in interface javax.servlet.jsp.tagext.Tag
setPageContext
in class javax.servlet.jsp.tagext.TagSupport
protected Page getPage()
protected static void trace(java.lang.Exception e)
protected java.io.Writer getOut()
pageContext.getOut()
, as some charset conversions may need
to happen in some servers.