gate.yam.plugins
Class Sitemap

java.lang.Object
  extended by gate.yam.plugins.Sitemap
All Implemented Interfaces:
YamPlugin

public class Sitemap
extends Object
implements YamPlugin

Sitemap plugin for YAM.

Author:
Hamish Cunningham

Constructor Summary
Sitemap()
           
 
Method Summary
 String translate(Map m, AbstractTranslator t, String target)
          Translate Sitemap updates in YAM pages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sitemap

public Sitemap()
Method Detail

translate

public String translate(Map m,
                        AbstractTranslator t,
                        String target)
Translate Sitemap updates in YAM pages.

Specified by:
translate in interface YamPlugin
Parameters:
m - a map of arguments from the YAM source
t - the translator that is converting the YAM document
target - the target output language
Returns:
the translation for insertion at the plugin call location An example call: %sitemap()