## Uses of Interface
org.apache.tapestry5.Translator

- Packages that use Translator
  Package | Description
  --- | ---
  org.apache.tapestry5.internal.services | [INTERNAL USE ONLY] internal service classes; API subject to change
  org.apache.tapestry5.internal.translator | [INTERNAL USE ONLY] translator implementation classes; API subject to change.
  org.apache.tapestry5.modules |
  org.apache.tapestry5.services | Core services
  org.apache.tapestry5.test | Support for testing Tapestry pages

- - ### Uses of Translator in org.apache.tapestry5.internal.services

    Methods in org.apache.tapestry5.internal.services that return Translator
    Modifier and Type | Method | Description
    --- | --- | ---
    `Translator` | TranslatorSourceImpl.`findByType​(java.lang.Class valueType)` |
    `Translator` | TranslatorSourceImpl.`get​(java.lang.String name)` |
    `Translator` | TranslatorSourceImpl.`getByType​(java.lang.Class valueType)` |

    Methods in org.apache.tapestry5.internal.services that return types with arguments of type Translator
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.Map<java.lang.String,​Translator>` | TranslatorAlternatesSourceImpl.`getTranslatorAlternates()` |

    Methods in org.apache.tapestry5.internal.services with parameters of type Translator
    Modifier and Type | Method | Description
    --- | --- | ---
    `FieldTranslator` | FieldTranslatorSourceImpl.`createTranslator​(Field field, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale, Translator translator)` |

    Constructors in org.apache.tapestry5.internal.services with parameters of type Translator
    Constructor | Description
    --- | ---
    `FieldTranslatorImpl​(Field field, Translator<T> translator, MessageFormatter formatter, FormSupport formSupport)` |

    Constructor parameters in org.apache.tapestry5.internal.services with type arguments of type Translator
    Constructor | Description
    --- | ---
    `TranslatorAlternatesSourceImpl​(java.util.Map<java.lang.String,​Translator> configuration)` |
    `TranslatorSourceImpl​(java.util.Map<java.lang.Class,​Translator> configuration)` |
    `TranslatorSourceImpl​(java.util.Map<java.lang.Class,​Translator> configuration, java.util.Map<java.lang.String,​Translator> alternates)` |

  - ### Uses of Translator in org.apache.tapestry5.internal.translator

    Classes in org.apache.tapestry5.internal.translator that implement Translator
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `AbstractTranslator<T>` |
    `class` | `NumericTranslator<T extends java.lang.Number>` | Uses a `NumericTranslatorSupport` to provide proper locale-aware support for all the built-in numeric types.
    `class` | `StringTranslator` |

  - ### Uses of Translator in org.apache.tapestry5.modules

    Method parameters in org.apache.tapestry5.modules with type arguments of type Translator
    Modifier and Type | Method | Description
    --- | --- | ---
    `static TranslatorSource` | TapestryModule.`buildTranslatorSource​(java.util.Map<java.lang.Class,​Translator> configuration, TranslatorAlternatesSource alternatesSource, InvalidationEventHub hub)` |
    `static void` | TapestryModule.`contributeTranslatorSource​(MappedConfiguration<java.lang.Class,​Translator> configuration, NumericTranslatorSupport support, Html5Support html5Support)` | Contributes the basic set of translators: string byte short integer long float double BigInteger BigDecimal

  - ### Uses of Translator in org.apache.tapestry5.services

    Methods in org.apache.tapestry5.services that return Translator
    Modifier and Type | Method | Description
    --- | --- | ---
    `Translator` | TranslatorSource.`findByType​(java.lang.Class valueType)` | Finds a `Translator` that is appropriate to the given type, which is usually obtained via `Binding.getBindingType()`.
    `Translator` | TranslatorSource.`get​(java.lang.String name)` | Returns the translator with the given name (either a standard translator, or an alternate).
    `Translator` | TranslatorSource.`getByType​(java.lang.Class valueType)` | Finds a `Translator` that is appropriate to the given type, which is usually obtained via `Binding.getBindingType()`.

    Methods in org.apache.tapestry5.services that return types with arguments of type Translator
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.Map<java.lang.String,​Translator>` | TranslatorAlternatesSource.`getTranslatorAlternates()` | Get the mapping from name to Translator, based on the contributions to the service.

    Methods in org.apache.tapestry5.services with parameters of type Translator
    Modifier and Type | Method | Description
    --- | --- | ---
    `FieldTranslator` | FieldTranslatorSource.`createTranslator​(Field field, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale, Translator translator)` | Wraps a `Translator` as a FieldTranslator.

  - ### Uses of Translator in org.apache.tapestry5.test

    Methods in org.apache.tapestry5.test that return Translator
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Translator` | TapestryTestCase.`mockTranslator()` |
    `protected Translator` | TapestryTestCase.`mockTranslator​(java.lang.String name, java.lang.Class type)` |

    Methods in org.apache.tapestry5.test with parameters of type Translator
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | TapestryTestCase.`train_findByType​(TranslatorSource ts, java.lang.Class propertyType, Translator translator)` |
    `protected void` | TapestryTestCase.`train_get​(TranslatorSource translatorSource, java.lang.String name, Translator translator)` |
    `protected void` | TapestryTestCase.`train_getMessageKey​(Translator translator, java.lang.String messageKey)` |
    `protected void` | TapestryTestCase.`train_getName​(Translator translator, java.lang.String name)` |
    `protected void` | TapestryTestCase.`train_getType​(Translator translator, java.lang.Class type)` |