org.ceryle.wiki.plugin.transclude
Class TranscludePlugin

java.lang.Object
  extended by org.ceryle.wiki.plugin.transclude.TranscludePlugin
All Implemented Interfaces:
WikiPlugin
Direct Known Subclasses:
Transclude

public class TranscludePlugin
extends Object
implements WikiPlugin

Similar to the InsertPage plugin but across wiki-sites via XML-RPC. NOTE: This works best between JSPWiki based wiki's! We retrieve the wiki-text for the foreign page, unless their wiki markup matches what the JSPWiki's JSPWikiMarkupParser expects you will have to set the translate parameter to false. Parameters:

TODO: TranscludePlugin uses a caching mechanism, we need some sort of reaper on it eventually. Not a big problem as there are not that many transclusions. Also self-referring plugins would be BAD!

Author:
Murray Altheim, John Volkar (john.volkar at gmail.com)

Field Summary
 
Fields inherited from interface com.ecyrd.jspwiki.plugin.WikiPlugin
CORE_PLUGINS_RESOURCEBUNDLE
 
Constructor Summary
TranscludePlugin()
           
 
Method Summary
 String execute(WikiContext context, Map paramMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranscludePlugin

public TranscludePlugin()
Method Detail

execute

public String execute(WikiContext context,
                      Map paramMap)
Specified by:
execute in interface WikiPlugin
See Also:
WikiPlugin.execute(com.ecyrd.jspwiki.WikiContext, java.util.Map)


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.