public abstract class WikiTagBase extends javax.servlet.jsp.tagext.TagSupport implements javax.servlet.jsp.tagext.TryCatchFinally
This tag is only useful if you're having an "empty" tag, with no body content.
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_CONTEXT |
protected WikiContext |
m_wikiContext |
| Constructor and Description |
|---|
WikiTagBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
doCatch(Throwable th) |
int |
doEndTag() |
void |
doFinally() |
int |
doStartTag() |
abstract int |
doWikiStartTag()
This method is allowed to do pretty much whatever he wants.
|
void |
initTag()
This method is called when the tag is encountered within a new request,
but before the setXXX() methods are called.
|
void |
setId(String id) |
void |
setPageContext(javax.servlet.jsp.PageContext arg0)
This method calls the parent setPageContext() but it also
provides a way for a tag to initialize itself before
any of the setXXX() methods are called.
|
public static final String ATTR_CONTEXT
protected WikiContext m_wikiContext
public WikiTagBase()
public void setPageContext(javax.servlet.jsp.PageContext arg0)
setPageContext in interface javax.servlet.jsp.tagext.TagsetPageContext in class javax.servlet.jsp.tagext.TagSupportpublic void initTag()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspExceptionpublic abstract int doWikiStartTag() throws Exception
Exceptionpublic int doEndTag() throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspExceptionpublic void doCatch(Throwable th) throws Throwable
doCatch in interface javax.servlet.jsp.tagext.TryCatchFinallyThrowablepublic void doFinally()
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinallyCopyright © 2001-2019 The Apache Software Foundation. All rights reserved.