public static final class LanguageSupport.Item
extends java.lang.Object
The implementation of the the <item/>
element in the urn:xmpp:langtrans:items
namespace.
Constructor and Description |
---|
Item(java.util.Locale sourceLanguage,
Jid jid) |
Item(java.util.Locale sourceLanguage,
Jid jid,
java.util.Locale destinationLanguage,
java.lang.String engine,
java.lang.Boolean pivotable,
java.lang.String dictionary) |
Modifier and Type | Method and Description |
---|---|
java.util.Locale |
getDestinationLanguage()
Gets the destination language.
|
java.lang.String |
getDictionary()
In order to enhance the accuracy of translation engines most support the concept of mission specific dictionaries.
|
java.lang.String |
getEngine()
Gets the translation engine.
|
Jid |
getJid()
Gets the JID of the translation service.
|
java.util.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(java.util.Locale sourceLanguage, Jid jid)
public Item(java.util.Locale sourceLanguage, Jid jid, java.util.Locale destinationLanguage, java.lang.String engine, java.lang.Boolean pivotable, java.lang.String dictionary)
public final java.util.Locale getSourceLanguage()
Gets the source language.
public final Jid getJid()
Gets the JID of the translation service.
public final java.util.Locale getDestinationLanguage()
Gets the destination language.
public final java.lang.String getEngine()
Gets the translation engine.
public final 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 final java.lang.String getDictionary()
In order to enhance the accuracy of translation engines most support the concept of mission specific dictionaries.
Copyright © 2014–2019 XMPP.rocks. All rights reserved.