public class TableOfContents
extends com.ecyrd.jspwiki.plugin.TableOfContents
This is a modification of JSPWiki's core TableOfContents plugin for use within Liferay. This plugin modifies the original behavior by producing ordered lists and making contents collapsable.
Constructor and Description |
---|
TableOfContents() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
execute(com.ecyrd.jspwiki.WikiContext context,
java.util.Map params) |
void |
headingAdded(com.ecyrd.jspwiki.WikiContext context,
com.ecyrd.jspwiki.parser.Heading heading) |
public java.lang.String execute(com.ecyrd.jspwiki.WikiContext context, java.util.Map params) throws com.ecyrd.jspwiki.plugin.PluginException
execute
in interface com.ecyrd.jspwiki.plugin.WikiPlugin
execute
in class com.ecyrd.jspwiki.plugin.TableOfContents
com.ecyrd.jspwiki.plugin.PluginException
public void headingAdded(com.ecyrd.jspwiki.WikiContext context, com.ecyrd.jspwiki.parser.Heading heading)
headingAdded
in interface com.ecyrd.jspwiki.parser.HeadingListener
headingAdded
in class com.ecyrd.jspwiki.plugin.TableOfContents