org.ceryle.wiki.plugin.assertion
Class AssertedTagPlugin
java.lang.Object
org.ceryle.wiki.plugin.tag.TagPlugin
org.ceryle.wiki.plugin.assertion.AssertedTagPlugin
- All Implemented Interfaces:
- WikiPlugin
public class AssertedTagPlugin
- extends TagPlugin
Extends the TagPlugin by
additionally asserting the tag as an Assertion.
- Author:
- Murray Altheim
- See Also:
TagPlugin
| Fields inherited from class org.ceryle.wiki.plugin.tag.TagPlugin |
CLASS_TAG_ERROR, CLASS_TAGS, LSBR, m_context, m_debug, m_engine, m_outputFormat, m_params, m_tagManager, REQUIRE_PAGE_FOR_TAG, RSBR, TAG_PREDICATE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.log4j.Logger log
PLUGIN_NAME
public static String PLUGIN_NAME
m_assertionHandlerAvailable
protected boolean m_assertionHandlerAvailable
m_parser
protected AssertionProcessor m_parser
m_handler
protected AssertionHandler m_handler
AssertedTagPlugin
public AssertedTagPlugin()
processTerms
protected void processTerms(String pagename,
List terms)
throws QueryException
- Process the Terms via the TagManager.
- Overrides:
processTerms in class TagPlugin
- Throws:
QueryException
assertTag
protected Set assertTag(String body,
Stack terms)
throws QueryException
- Parses the parameter Map, processing and converting the terms as necessary.
- Throws:
QueryException
initialize
public void initialize(WikiContext context,
Map map)
throws PluginException
- For compliance with earlier versions of the InitializablePlugin API.
- Throws:
PluginException
initialize
public void initialize(WikiEngine engine)
throws PluginException
- The initialization method. The context is to a Wiki page,
and the parameters are exactly like in the execute() method.
However, this method is not expected to return anything,
as any output will be discarded.
- Throws:
PluginException
The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.