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.WikiPluginexecute in class com.ecyrd.jspwiki.plugin.TableOfContentscom.ecyrd.jspwiki.plugin.PluginExceptionpublic void headingAdded(com.ecyrd.jspwiki.WikiContext context,
com.ecyrd.jspwiki.parser.Heading heading)
headingAdded in interface com.ecyrd.jspwiki.parser.HeadingListenerheadingAdded in class com.ecyrd.jspwiki.plugin.TableOfContents