Package org.apache.wiki.tags
Class PluginTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
jakarta.servlet.jsp.tagext.BodyTagSupport
org.apache.wiki.tags.WikiBodyTag
org.apache.wiki.tags.PluginTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.BodyTag,jakarta.servlet.jsp.tagext.IterationTag,jakarta.servlet.jsp.tagext.JspTag,jakarta.servlet.jsp.tagext.Tag,jakarta.servlet.jsp.tagext.TryCatchFinally,Serializable
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:
-
Field Summary
Fields inherited from class org.apache.wiki.tags.WikiBodyTag
m_wikiContextFields inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
bodyContentFields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface jakarta.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFEREDFields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.wiki.tags.WikiBodyTag
doCatch, doFinally, doStartTagMethods inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, setBodyContentMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
-
Constructor Details
-
PluginTag
public PluginTag()
-
-
Method Details
-
release
- Specified by:
releasein interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
releasein classjakarta.servlet.jsp.tagext.BodyTagSupport
-
setPlugin
Set the name of the plugin to execute.- Parameters:
p- Name of the plugin.
-
setArgs
Set the argument string to the plugin.- Parameters:
a- Arguments string.
-
doWikiStartTag
A local stub for doing tags. This is just called after the local variables have been set.- Specified by:
doWikiStartTagin classWikiBodyTag- Returns:
- As doStartTag()
- Throws:
jakarta.servlet.jsp.JspExceptionIOException
-
doEndTag
- Specified by:
doEndTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doEndTagin classjakarta.servlet.jsp.tagext.BodyTagSupport- Throws:
jakarta.servlet.jsp.JspException
-
doAfterBody
- Specified by:
doAfterBodyin interfacejakarta.servlet.jsp.tagext.IterationTag- Overrides:
doAfterBodyin classjakarta.servlet.jsp.tagext.BodyTagSupport- Throws:
jakarta.servlet.jsp.JspException
-