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 boolean
getAnnotateSource()
boolean
getAnnotateTarget()
String
getName()
Gets the name of the connector.IParameters
getParameters()
String
getSettingsDisplay()
Gets a display representation of the current settings for this connector.LocaleId
getSourceLanguage()
LocaleId
getTargetLanguage()
void
leverage(ITextUnit tu)
void
open()
void
setAnnotateSource(boolean annotateSource)
void
setAnnotateTarget(boolean annotateTarget)
void
setLanguages(LocaleId sourceLocale, LocaleId targetLocale)
void
setParameters(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)
-
-