public static final class LanguageSupport.Item extends Object
<item/> element in the urn:xmpp:langtrans:items namespace.| Constructor and Description |
|---|
Item(Locale sourceLanguage,
rocks.xmpp.addr.Jid jid) |
Item(Locale sourceLanguage,
rocks.xmpp.addr.Jid jid,
Locale destinationLanguage,
String engine,
Boolean pivotable,
String dictionary) |
| Modifier and Type | Method and Description |
|---|---|
Locale |
getDestinationLanguage()
Gets the destination language.
|
String |
getDictionary()
In order to enhance the accuracy of translation engines most support the concept of mission specific dictionaries.
|
String |
getEngine()
Gets the translation engine.
|
rocks.xmpp.addr.Jid |
getJid()
Gets the JID of the translation service.
|
Locale |
getSourceLanguage()
Gets the source language.
|
boolean |
isPivotable()
Pivoting is the process of using one or more intermediate languages to translate from a given source language to a specific destination language.
|
public Item(Locale sourceLanguage, rocks.xmpp.addr.Jid jid)
public final Locale getSourceLanguage()
public final rocks.xmpp.addr.Jid getJid()
public final Locale getDestinationLanguage()
public final String getEngine()
public final boolean isPivotable()
public final String getDictionary()
Copyright © 2014–2016 XMPP.rocks. All rights reserved.