Liferay 6.2-ce-ga5

com.liferay.portlet.wiki.engines.jspwiki.plugin
Class TableOfContents

java.lang.Object
  extended by com.ecyrd.jspwiki.plugin.TableOfContents
      extended by com.liferay.portlet.wiki.engines.jspwiki.plugin.TableOfContents
All Implemented Interfaces:
com.ecyrd.jspwiki.parser.HeadingListener, com.ecyrd.jspwiki.plugin.WikiPlugin

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.


Field Summary
 
Fields inherited from class com.ecyrd.jspwiki.plugin.TableOfContents
PARAM_NUMBERED, PARAM_PREFIX, PARAM_START, PARAM_TITLE
 
Fields inherited from interface com.ecyrd.jspwiki.plugin.WikiPlugin
CORE_PLUGINS_RESOURCEBUNDLE
 
Constructor Summary
TableOfContents()
           
 
Method Summary
 String execute(com.ecyrd.jspwiki.WikiContext context, Map params)
           
 void headingAdded(com.ecyrd.jspwiki.WikiContext context, com.ecyrd.jspwiki.parser.Heading heading)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableOfContents

public TableOfContents()
Method Detail

execute

public String execute(com.ecyrd.jspwiki.WikiContext context,
                      Map params)
               throws com.ecyrd.jspwiki.plugin.PluginException
Specified by:
execute in interface com.ecyrd.jspwiki.plugin.WikiPlugin
Overrides:
execute in class com.ecyrd.jspwiki.plugin.TableOfContents
Throws:
com.ecyrd.jspwiki.plugin.PluginException

headingAdded

public void headingAdded(com.ecyrd.jspwiki.WikiContext context,
                         com.ecyrd.jspwiki.parser.Heading heading)
Specified by:
headingAdded in interface com.ecyrd.jspwiki.parser.HeadingListener
Overrides:
headingAdded in class com.ecyrd.jspwiki.plugin.TableOfContents

Liferay 6.2-ce-ga5