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.Tag
setPageContext
in class javax.servlet.jsp.tagext.TagSupport
public void initTag()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public abstract int doWikiStartTag() throws Exception
Exception
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public void doCatch(Throwable th) throws Throwable
doCatch
in interface javax.servlet.jsp.tagext.TryCatchFinally
Throwable
public void doFinally()
doFinally
in interface javax.servlet.jsp.tagext.TryCatchFinally
Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.