gate.yam.plugins
Class Google

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

public class Google
extends Object
implements YamPlugin

Google plugin for YAM.

Author:
Hamish Cunningham

Constructor Summary
Google()
           
 
Method Summary
 String translate(Map m, AbstractTranslator t, String target)
          A YAM plugin that allows site search forms (and maybe other stuff).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Google

public Google()
Method Detail

translate

public String translate(Map m,
                        AbstractTranslator t,
                        String target)
A YAM plugin that allows site search forms (and maybe other stuff).

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: %google(siteip=gate.ac.uk, inurl=gate/doc, blurb=Search Google:)