Uses of Class
rocks.xmpp.extensions.langtrans.model.LanguageTranslation.Translation
-
Packages that use LanguageTranslation.Translation Package Description rocks.xmpp.extensions.langtrans Provides classes for XEP-0171: Language Translation.rocks.xmpp.extensions.langtrans.model Provides XML schema implementations of XEP-0171: Language Translation. -
-
Uses of LanguageTranslation.Translation in rocks.xmpp.extensions.langtrans
Methods in rocks.xmpp.extensions.langtrans that return types with arguments of type LanguageTranslation.Translation Modifier and Type Method Description AsyncResult<List<LanguageTranslation.Translation>>
LanguageTranslationManager. translate(Jid translationProvider, String text, Locale sourceLanguage, Locale... destinationLanguage)
Translates a text by sending a query to a translation provider. -
Uses of LanguageTranslation.Translation in rocks.xmpp.extensions.langtrans.model
Methods in rocks.xmpp.extensions.langtrans.model that return LanguageTranslation.Translation Modifier and Type Method Description static LanguageTranslation.Translation
LanguageTranslation.Translation. forDestinationLanguage(Locale destinationLanguage)
Creates a translation element for a destination language.LanguageTranslation.Translation
LanguageTranslation.Translation. withDictionary(String dictionary)
Sets the dictionary.LanguageTranslation.Translation
LanguageTranslation.Translation. withEngine(String engine)
Sets the engine.LanguageTranslation.Translation
LanguageTranslation.Translation. withReviewed(boolean reviewed)
Indicates that the translation has been reviewed by a human.LanguageTranslation.Translation
LanguageTranslation.Translation. withSourceLanguage(Locale sourceLanguage)
Sets the source language.LanguageTranslation.Translation
LanguageTranslation.Translation. withTranslatedText(String text)
Sets the translated text.Methods in rocks.xmpp.extensions.langtrans.model that return types with arguments of type LanguageTranslation.Translation Modifier and Type Method Description List<LanguageTranslation.Translation>
LanguageTranslation. getTranslations()
Gets the translations.Constructors in rocks.xmpp.extensions.langtrans.model with parameters of type LanguageTranslation.Translation Constructor Description LanguageTranslation(LanguageTranslation.Translation... translations)
Constructor parameters in rocks.xmpp.extensions.langtrans.model with type arguments of type LanguageTranslation.Translation Constructor Description LanguageTranslation(String sourceText, Locale sourceLanguage, Collection<LanguageTranslation.Translation> translations)
LanguageTranslation(Collection<LanguageTranslation.Translation> translations)
-