gate.yam
Interface YamPlugin

All Known Implementing Classes:
Google, Sitemap, Twitter

public interface YamPlugin

This interface must be implemented by all YAM plugins (which must be in the package gate.yam.plugins).

Author:
Hamish Cunningham

Method Summary
 String translate(Map m, AbstractTranslator t, String target)
          Translate a set of plugin arguments.
 

Method Detail

translate

String translate(Map m,
                 AbstractTranslator t,
                 String target)
Translate a set of plugin arguments.

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