Interface ITerminologyQuery
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
BaseTerminologyConnector
public interface ITerminologyQuery extends AutoCloseable
Provides methods common for all terminology query connectors.- Author:
- Vladyslav Mykhalets
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetAnnotateSource()booleangetAnnotateTarget()StringgetName()Gets the name of the connector.IParametersgetParameters()StringgetSettingsDisplay()Gets a display representation of the current settings for this connector.LocaleIdgetSourceLanguage()LocaleIdgetTargetLanguage()voidleverage(ITextUnit tu)voidopen()voidsetAnnotateSource(boolean annotateSource)voidsetAnnotateTarget(boolean annotateTarget)voidsetLanguages(LocaleId sourceLocale, LocaleId targetLocale)voidsetParameters(IParameters params)-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
getName
String getName()
Gets the name of the connector.- Returns:
- the name of the connector.
-
getSettingsDisplay
String getSettingsDisplay()
Gets a display representation of the current settings for this connector. This can be a display of some of the parameters for example, or some explanations about default non-modifiable settings.- Returns:
- a display representation of the current settings.
-
getSourceLanguage
LocaleId getSourceLanguage()
-
getTargetLanguage
LocaleId getTargetLanguage()
-
getAnnotateSource
boolean getAnnotateSource()
-
getAnnotateTarget
boolean getAnnotateTarget()
-
setAnnotateSource
void setAnnotateSource(boolean annotateSource)
-
setAnnotateTarget
void setAnnotateTarget(boolean annotateTarget)
-
getParameters
IParameters getParameters()
-
setParameters
void setParameters(IParameters params)
-
open
void open()
-
leverage
void leverage(ITextUnit tu)
-
-