Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.services
Interface TranslatorAlternatesSource

All Known Implementing Classes:
  TranslatorAlternatesSourceImpl

    @UsesMappedConfiguration(value=Translator.class)
    public interface TranslatorAlternatesSource

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
`java.util.Map<java.lang.String,Translator>` | `getTranslatorAlternates()` Get the mapping from name to Translator, based on the contributions to the service.

Method Detail

### getTranslatorAlternates

    java.util.Map<java.lang.String,Translator> 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.