public void setLanguage(Object text) {
   String newLang = (String) text;
   if (!_currentLanguage.equals(newLang)) {
     _currentLanguage = newLang;
     _vocalizer.cancel();
     _vocalizer.setLanguage(newLang);
   }
 }
 public void cancelSpeech() {
   if (_vocalizer != null) _vocalizer.cancel();
 }
 public void speak(String text, boolean isSsml, Object context) {
   if (isSsml) _vocalizer.speakMarkupString(text, context);
   else _vocalizer.speakString(text, context);
 }