Package org.apache.tapestry5.internal.services

# Class TranslatorAlternatesSourceImpl

java.lang.Object
org.apache.tapestry5.internal.services.TranslatorAlternatesSourceImpl

All Implemented Interfaces:
  `TranslatorAlternatesSource`

public class TranslatorAlternatesSourceImpl extends Object implements TranslatorAlternatesSource

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TranslatorAlternatesSourceImpl(Map<String,Translator> configuration)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Map<String,Translator>`
  `getTranslatorAlternates()`
  Get the mapping from name to Translator, based on the contributions to the service.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TranslatorAlternatesSourceImpl

    public TranslatorAlternatesSourceImpl(Map<String,Translator> configuration)

- ## Method Details

  - ### getTranslatorAlternates

    public Map<String,Translator> getTranslatorAlternates()
    Description copied from interface: `TranslatorAlternatesSource`
    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.
    Specified by:
      `getTranslatorAlternates` in interface `TranslatorAlternatesSource`