Package org.apache.wiki.tags
Class WikiBodyTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- org.apache.wiki.tags.WikiBodyTag
-
- All Implemented Interfaces:
java.io.Serializable,javax.servlet.jsp.tagext.BodyTag,javax.servlet.jsp.tagext.IterationTag,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.Tag,javax.servlet.jsp.tagext.TryCatchFinally
public abstract class WikiBodyTag extends javax.servlet.jsp.tagext.BodyTagSupport implements javax.servlet.jsp.tagext.TryCatchFinally
This is a class that provides the same services as the WikiTagBase, but this time it works for the BodyTagSupport base class.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected WikiContextm_wikiContext
-
Constructor Summary
Constructors Constructor Description WikiBodyTag()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voiddoCatch(java.lang.Throwable arg0)voiddoFinally()intdoStartTag()abstract intdoWikiStartTag()A local stub for doing tags.-
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
-
-
-
Field Detail
-
m_wikiContext
protected WikiContext m_wikiContext
-
-
Constructor Detail
-
WikiBodyTag
public WikiBodyTag()
-
-
Method Detail
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTagin interfacejavax.servlet.jsp.tagext.Tag- Overrides:
doStartTagin classjavax.servlet.jsp.tagext.BodyTagSupport- Throws:
javax.servlet.jsp.JspException
-
doWikiStartTag
public abstract int doWikiStartTag() throws javax.servlet.jsp.JspException, java.io.IOException
A local stub for doing tags. This is just called after the local variables have been set.- Returns:
- As doStartTag()
- Throws:
javax.servlet.jsp.JspExceptionjava.io.IOException
-
doCatch
public void doCatch(java.lang.Throwable arg0) throws java.lang.Throwable
- Specified by:
doCatchin interfacejavax.servlet.jsp.tagext.TryCatchFinally- Throws:
java.lang.Throwable
-
doFinally
public void doFinally()
- Specified by:
doFinallyin interfacejavax.servlet.jsp.tagext.TryCatchFinally
-
-