Uses of Enum Class
com.suncode.pwfl.translation.TranslatorScope
Packages that use TranslatorScope
-
Uses of TranslatorScope in com.suncode.pwfl.translation
Methods in com.suncode.pwfl.translation that return TranslatorScopeModifier and TypeMethodDescriptionstatic TranslatorScope
Returns the enum constant of this class with the specified name.static TranslatorScope[]
TranslatorScope.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.suncode.pwfl.translation with parameters of type TranslatorScopeModifier and TypeMethodDescriptionTranslatorRegistry.get
(String name, TranslatorScope scope) Returns Translator with given name and scope.static Translator
Translators.get
(String name, TranslatorScope scope) Return translator withi given name and scope.TranslatorRegistry.getAll
(TranslatorScope scope) Returns all translators Translator with given scope.static List<Translator>
Translators.getAll
(TranslatorScope scope) TranslatorRegistry.getAllByName
(TranslatorScope scope) Returns the map of all translators with the given scope, where key is the translator name.static Map<String,
Translator> Translators.getAllByName
(TranslatorScope scope) static Translator
Translators.getSystemTranslator
(TranslatorScope scope) Returns system translator for given scopeTranslatorRegistry.register
(String name, Translator translator, TranslatorScope scope) Registers given translator under provided name in given scope.