com.ecyrd.jspwiki.tags
Class WikiBodyTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by com.ecyrd.jspwiki.tags.WikiBodyTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
EditorTag, PluginTag

public abstract class WikiBodyTag
extends javax.servlet.jsp.tagext.BodyTagSupport

This is a class that provides the same services as the WikiTagBase, but this time it works for the BodyTagSupport base class.

Author:
jalkanen
See Also:
Serialized Form

Field Summary
protected  WikiContext m_wikiContext
           
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
WikiBodyTag()
           
 
Method Summary
 int doStartTag()
           
abstract  int doWikiStartTag()
          A local stub for doing tags.
 void release()
           
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doEndTag, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

m_wikiContext

protected WikiContext m_wikiContext
Constructor Detail

WikiBodyTag

public WikiBodyTag()
Method Detail

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.BodyTagSupport

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException

doWikiStartTag

public abstract int doWikiStartTag()
                            throws javax.servlet.jsp.JspException,
                                   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.JspException
IOException