Package org.apache.tapestry5.services
Interface TranslatorAlternatesSource
- All Known Implementing Classes:
TranslatorAlternatesSourceImpl
This service is used by
TranslatorSource
to specify Translator
alternates: translators that
are used when specified explicitly by name. These translators may overlap the standard translators
by type (thus requiring a separate configuration).
Translators contributed to this configuration must have names that do not overlap the standard translators. Further,
the contribution key must match the translator name.- Since:
- 5.2.0
-
Method Summary
Modifier and TypeMethodDescriptionGet the mapping from name to Translator, based on the contributions to the service.
-
Method Details
-
getTranslatorAlternates
Get the mapping from name to Translator, based on the contributions to the service. It will be verified that the keys of the map corresponding to the names of the Translator values.
-