Uses of Interface
org.apache.tapestry5.Translator
Packages that use Translator
Package
Description
[INTERNAL USE ONLY] internal service classes; API subject to change
[INTERNAL USE ONLY] translator implementation classes; API subject to change.
Core services
Support for testing Tapestry pages
-
Uses of Translator in org.apache.tapestry5.internal.services
Methods in org.apache.tapestry5.internal.services that return TranslatorMethods in org.apache.tapestry5.internal.services that return types with arguments of type TranslatorMethods in org.apache.tapestry5.internal.services with parameters of type TranslatorModifier and TypeMethodDescriptionFieldTranslatorSourceImpl.createTranslator(Field field, String overrideId, Messages overrideMessages, Locale locale, Translator translator) Constructors in org.apache.tapestry5.internal.services with parameters of type TranslatorModifierConstructorDescriptionFieldTranslatorImpl(Field field, Translator<T> translator, MessageFormatter formatter, FormSupport formSupport) Constructor parameters in org.apache.tapestry5.internal.services with type arguments of type TranslatorModifierConstructorDescriptionTranslatorAlternatesSourceImpl(Map<String, Translator> configuration) TranslatorSourceImpl(Map<Class, Translator> configuration) TranslatorSourceImpl(Map<Class, Translator> configuration, Map<String, Translator> alternates) -
Uses of Translator in org.apache.tapestry5.internal.translator
Classes in org.apache.tapestry5.internal.translator that implement TranslatorModifier and TypeClassDescriptionclassclassNumericTranslator<T extends Number>Uses aNumericTranslatorSupportto provide proper locale-aware support for all the built-in numeric types.class -
Uses of Translator in org.apache.tapestry5.modules
Method parameters in org.apache.tapestry5.modules with type arguments of type TranslatorModifier and TypeMethodDescriptionstatic TranslatorSourceTapestryModule.buildTranslatorSource(Map<Class, Translator> configuration, TranslatorAlternatesSource alternatesSource, InvalidationEventHub hub) static voidTapestryModule.contributeTranslatorSource(MappedConfiguration<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 TranslatorModifier and TypeMethodDescriptionTranslatorSource.findByType(Class valueType) Finds aTranslatorthat is appropriate to the given type, which is usually obtained viaBinding.getBindingType().Returns the translator with the given name (either a standard translator, or an alternate).Finds aTranslatorthat is appropriate to the given type, which is usually obtained viaBinding.getBindingType().Methods in org.apache.tapestry5.services that return types with arguments of type TranslatorModifier and TypeMethodDescriptionTranslatorAlternatesSource.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 TranslatorModifier and TypeMethodDescriptionFieldTranslatorSource.createTranslator(Field field, String overrideId, Messages overrideMessages, Locale locale, Translator translator) Wraps aTranslatoras a FieldTranslator. -
Uses of Translator in org.apache.tapestry5.test
Methods in org.apache.tapestry5.test that return TranslatorModifier and TypeMethodDescriptionprotected final TranslatorTapestryTestCase.mockTranslator()protected final TranslatorTapestryTestCase.mockTranslator(String name, Class type) Methods in org.apache.tapestry5.test with parameters of type TranslatorModifier and TypeMethodDescriptionprotected final voidTapestryTestCase.train_findByType(TranslatorSource ts, Class propertyType, Translator translator) protected final voidTapestryTestCase.train_get(TranslatorSource translatorSource, String name, Translator translator) protected final voidTapestryTestCase.train_getMessageKey(Translator translator, String messageKey) protected final voidTapestryTestCase.train_getName(Translator translator, String name) protected final voidTapestryTestCase.train_getType(Translator translator, Class type)