# Uses of Interface
org.apache.tapestry5.FieldTranslator

Packages that use FieldTranslator
Package
Description
org.apache.tapestry5
Root package for Tapestry, containing common interfaces and data types used throughout the framework.
org.apache.tapestry5.corelib.pages
The set of core pages available in all Tapestry applications
org.apache.tapestry5.internal.services
[INTERNAL USE ONLY] internal service classes; API subject to change
org.apache.tapestry5.services
Core services
org.apache.tapestry5.test
Support for testing Tapestry pages

- ## Uses of FieldTranslator in org.apache.tapestry5

  Methods in org.apache.tapestry5 with parameters of type FieldTranslator
  Modifier and Type
  Method
  Description
  `Object`
  FieldValidationSupport.`parseClient(String clientValue, ComponentResources componentResources, FieldTranslator<Object> translator, NullFieldStrategy nullFieldStrategy)`
  A wrapper around `Translator.parseClient(Field, String, String)`.
  `String`
  FieldValidationSupport.`toClient(Object value, ComponentResources componentResources, FieldTranslator<Object> translator, NullFieldStrategy nullFieldStrategy)`
  A wrapper around `Translator.toClient(Object)` that first fires a "toclient" event on the component to see if it can perform the conversion.

- ## Uses of FieldTranslator in org.apache.tapestry5.corelib.pages

  Methods in org.apache.tapestry5.corelib.pages that return FieldTranslator
  Modifier and Type
  Method
  Description
  `FieldTranslator`
  PropertyEditBlocks.`getNumberFieldTranslator()`
  `FieldTranslator`
  PropertyEditBlocks.`getPasswordFieldTranslator()`
  `FieldTranslator`
  PropertyEditBlocks.`getTextAreaTranslator()`
  `FieldTranslator`
  PropertyEditBlocks.`getTextFieldTranslator()`

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

  Classes in org.apache.tapestry5.internal.services that implement FieldTranslator
  Modifier and Type
  Class
  Description
  `class`
  `FieldTranslatorImpl<T>`
  Methods in org.apache.tapestry5.internal.services that return FieldTranslator
  Modifier and Type
  Method
  Description
  `FieldTranslator`
  FieldTranslatorSourceImpl.`createDefaultTranslator(ComponentResources resources, String parameterName)`
  `FieldTranslator`
  FieldTranslatorSourceImpl.`createDefaultTranslator(Field field, String overrideId, Messages overrideMessages, Locale locale, Class propertyType, AnnotationProvider propertyAnnotations)`
  `FieldTranslator`
  FieldTranslatorSourceImpl.`createTranslator(ComponentResources resources, String translatorName)`
  `FieldTranslator`
  FieldTranslatorSourceImpl.`createTranslator(Field field, String overrideId, Messages overrideMessages, Locale locale, Translator translator)`
  `FieldTranslator`
  ComponentDefaultProviderImpl.`defaultTranslator(String parameterName, ComponentResources resources)`
  Methods in org.apache.tapestry5.internal.services with parameters of type FieldTranslator
  Modifier and Type
  Method
  Description
  `Object`
  FieldValidationSupportImpl.`parseClient(String clientValue, ComponentResources componentResources, FieldTranslator<Object> translator, NullFieldStrategy nullFieldStrategy)`
  `String`
  FieldValidationSupportImpl.`toClient(Object value, ComponentResources componentResources, FieldTranslator<Object> translator, NullFieldStrategy nullFieldStrategy)`

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

  Methods in org.apache.tapestry5.services that return FieldTranslator
  Modifier and Type
  Method
  Description
  `FieldTranslator`
  FieldTranslatorSource.`createDefaultTranslator(ComponentResources resources, String parameterName)`
  Common shorthand for `FieldTranslatorSource.createDefaultTranslator(org.apache.tapestry5.Field, String, org.apache.tapestry5.commons.Messages, java.util.Locale, Class, org.apache.tapestry5.commons.AnnotationProvider)`.
  `FieldTranslator`
  FieldTranslatorSource.`createDefaultTranslator(Field field, String overrideId, Messages overrideMessages, Locale locale, Class propertyType, AnnotationProvider propertyAnnotations)`
  Creates a `FieldTranslator` for the given property, or returns null if one can't be constructed.
  `FieldTranslator`
  FieldTranslatorSource.`createTranslator(ComponentResources componentResources, String translatorName)`
  Creates a translator (used by the `translate: binding prefix`).
  `FieldTranslator`
  FieldTranslatorSource.`createTranslator(Field field, String overrideId, Messages overrideMessages, Locale locale, Translator translator)`
  Wraps a `Translator` as a FieldTranslator.
  `FieldTranslator`
  ComponentDefaultProvider.`defaultTranslator(String parameterName, ComponentResources resources)`
  Deprecated.
  Use `ComponentDefaultProvider.defaultTranslatorBinding(String, org.apache.tapestry5.ComponentResources)` instead
  `FieldTranslator`
  PropertyEditContext.`getTranslator(Field field)`
  Returns the translator appropriate for the field (this is based on the property type).

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

  Methods in org.apache.tapestry5.test that return FieldTranslator
  Modifier and Type
  Method
  Description
  `protected final FieldTranslator`
  TapestryTestCase.`mockFieldTranslator()`
  Methods in org.apache.tapestry5.test with parameters of type FieldTranslator
  Modifier and Type
  Method
  Description
  `protected final void`
  TapestryTestCase.`train_createDefaultTranslator(FieldTranslatorSource source, ComponentResources resources, String parameterName, FieldTranslator translator)`