gate.yam.plugins
Class Twitter

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

public class Twitter
extends Object
implements YamPlugin

Twitter plugin for YAM.

Author:
Hamish Cunningham

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

Constructor Detail

Twitter

public Twitter()
Method Detail

translate

public String translate(Map m,
                        AbstractTranslator t,
                        String target)
Translate Twitter 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: %twitter(title=GATE News, account=GateAcUk, name=GATE, count=5)