com.ecyrd.jspwiki.tags
Class PluginTag

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

public class PluginTag
extends WikiBodyTag

Inserts any Wiki plugin. The body of the tag becomes then the body for the plugin.

Attributes

Since:
2.0
Author:
Janne Jalkanen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ecyrd.jspwiki.tags.WikiBodyTag
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
PluginTag()
           
 
Method Summary
 int doAfterBody()
           
 int doEndTag()
           
 int doWikiStartTag()
          A local stub for doing tags.
 void release()
           
 void setArgs(String a)
           
 void setPlugin(String p)
           
 
Methods inherited from class com.ecyrd.jspwiki.tags.WikiBodyTag
doStartTag
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
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
 

Constructor Detail

PluginTag

public PluginTag()
Method Detail

release

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

setPlugin

public void setPlugin(String p)

setArgs

public void setArgs(String a)

doWikiStartTag

public int doWikiStartTag()
                   throws javax.servlet.jsp.JspException,
                          IOException
Description copied from class: WikiBodyTag
A local stub for doing tags. This is just called after the local variables have been set.

Specified by:
doWikiStartTag in class WikiBodyTag
Returns:
As doStartTag()
Throws:
javax.servlet.jsp.JspException
IOException

doEndTag

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

doAfterBody

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