Groovy Documentation

java.gate.yam.plugins
Class Google

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

class Google

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 Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Constructor Detail

Google

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).
param:
m a map of arguments from the YAM source
param:
t the translator that is converting the YAM document
param:
target the target output language
return:
the translation for insertion at the plugin call location An example call: %google(siteip=gate.ac.uk, inurl=gate/doc, blurb=Search Google:)


 

Groovy Documentation