com.ecyrd.jspwiki.tags
Class PluginTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.ecyrd.jspwiki.tags.WikiBodyTag
com.ecyrd.jspwiki.tags.PluginTag
- All Implemented Interfaces:
- Serializable, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally
public class PluginTag
- extends WikiBodyTag
Inserts any Wiki plugin. The body of the tag becomes then
the body for the plugin.
Attributes
- plugin - name of the plugin you want to insert.
- args - An argument string for the tag.
- Since:
- 2.0
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginTag
public PluginTag()
release
public void release()
-
- Specified by:
release
in interface Tag
- Overrides:
release
in class BodyTagSupport
setPlugin
public void setPlugin(String p)
- Set the name of the plugin to execute.
- Parameters:
p
- Name of the plugin.
setArgs
public void setArgs(String a)
- Set the argument string to the plugin.
- Parameters:
a
- Arguments string.
doWikiStartTag
public int doWikiStartTag()
throws JspException,
IOException
- 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:
JspException
IOException
doEndTag
public int doEndTag()
throws JspException
-
- Specified by:
doEndTag
in interface Tag
- Overrides:
doEndTag
in class BodyTagSupport
- Throws:
JspException
doAfterBody
public int doAfterBody()
throws JspException
-
- Specified by:
doAfterBody
in interface IterationTag
- Overrides:
doAfterBody
in class BodyTagSupport
- Throws:
JspException