| Package | Description | 
|---|---|
| com.suncode.pwfl.translation | 
| Modifier and Type | Method and Description | 
|---|---|
static TranslatorScope | 
TranslatorScope.valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static TranslatorScope[] | 
TranslatorScope.values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Translator | 
Translators.get(String name,
   TranslatorScope scope)
Return translator withi given name and scope. 
 | 
Translator | 
TranslatorRegistry.get(String name,
   TranslatorScope scope)
Returns Translator with given name and scope. 
 | 
static List<Translator> | 
Translators.getAll(TranslatorScope scope)  | 
List<Translator> | 
TranslatorRegistry.getAll(TranslatorScope scope)
Returns all translators Translator with given scope. 
 | 
static Map<String,Translator> | 
Translators.getAllByName(TranslatorScope scope)  | 
Map<String,Translator> | 
TranslatorRegistry.getAllByName(TranslatorScope scope)
Returns the map of all translators with the given scope, where key is the translator name. 
 | 
TranslatorRegistration | 
TranslatorRegistry.register(String name,
        Translator translator,
        TranslatorScope scope)
Registers given translator under provided name in given scope. 
 | 
Copyright © 2019 Suncode. All rights reserved.