Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.apache.tapestry5.ioc.Messages

Packages that use Messages
org.apache.tapestry5 | Root package for Tapestry, containing common interfaces and data types used throughout the framework.
org.apache.tapestry5.internal | [INTERNAL USE ONLY] internal support classes; API subject to change.
org.apache.tapestry5.internal.beaneditor | [INTERNAL USE ONLY] support classes for the `BeanEditor` component; API subject to change
org.apache.tapestry5.internal.beanvalidator | [INTERNAL USE ONLY] JSR-303 Bean Validation implementation details; API subject to change
org.apache.tapestry5.internal.services | [INTERNAL USE ONLY] internal service classes; API subject to change
org.apache.tapestry5.internal.structure | [INTERNAL USE ONLY] page structure implementation details; API subject to change.
org.apache.tapestry5.ioc.internal.util | [INTERNAL USE ONLY] utility classes for Tapestry IOC services; API subject to change
org.apache.tapestry5.ioc.test | Classes supporting testing of Tapestry IOC services
org.apache.tapestry5.ioc.util | Utility classes supporting Tapestry IOC services
org.apache.tapestry5.services | Core services
org.apache.tapestry5.services.messages | Services supporting component and application message catalogs.
org.apache.tapestry5.test | Support for testing Tapestry pages
org.apache.tapestry5.util | A set of enums, abstract classs and wrappers of various purposes

Uses of Messages in org.apache.tapestry5

Methods in org.apache.tapestry5 that return Messages
`Messages` | `ComponentResources.getContainerMessages()` Returns the `Messages` from the container, or null if this is the root component (with no container).
`Messages` | `ComponentResources.getMessages()` Returns the message catalog for this component.
`Messages` | `PropertyOverrides.getOverrideMessages()` Returns the override messages (normally, the messages catalog for the component's container).

Uses of Messages in org.apache.tapestry5.internal

Methods in org.apache.tapestry5.internal that return Messages
`Messages` | `PropertyOverridesImpl.getOverrideMessages()`

Methods in org.apache.tapestry5.internal with parameters of type Messages
`static java.lang.String` | `TapestryInternalUtils.defaultLabel(java.lang.String id, Messages messages, java.lang.String propertyExpression)` Looks for a label within the messages based on the id.
`static java.lang.String` | `TapestryInternalUtils.getLabelForEnum(Messages messages, java.lang.Enum value)`
`static java.lang.String` | `TapestryInternalUtils.getLabelForEnum(Messages messages, java.lang.String prefix, java.lang.Enum value)` Converts an enum to a label string, allowing for overrides from a message catalog.

Uses of Messages in org.apache.tapestry5.internal.beaneditor

Methods in org.apache.tapestry5.internal.beaneditor that return Messages
`Messages` | `EnvironmentMessages.getMessages()`

Constructors in org.apache.tapestry5.internal.beaneditor with parameters of type Messages
`BeanModelImpl(java.lang.Class<T> beanType, PropertyConduitSource propertyConduitSource, TypeCoercer typeCoercer, Messages messages, ObjectLocator locator)`
`EnvironmentMessages(Messages messages, java.lang.String overrideId)`
`PropertyModelImpl(BeanModel model, java.lang.String name, PropertyConduit conduit, Messages messages)`

Uses of Messages in org.apache.tapestry5.internal.beanvalidator

Methods in org.apache.tapestry5.internal.beanvalidator with parameters of type Messages
`FieldValidator` | `BeanFieldValidatorDefaultSource.createDefaultValidator(Field field, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale, java.lang.Class propertyType, AnnotationProvider propertyAnnotations)`

Uses of Messages in org.apache.tapestry5.internal.services

Classes in org.apache.tapestry5.internal.services that implement Messages
`class` | `DelegatingMessagesImpl` Implementation of `Messages` that wraps two other Messages instances: a primary and a delegate.
`class` | `MapMessages` Implementation of `Messages` based on a simple Map (of string keys and values).

Methods in org.apache.tapestry5.internal.services that return Messages
`Messages` | `ComponentMessagesSourceImpl.getApplicationCatalog(java.util.Locale locale)`
`Messages` | `ComponentMessagesSourceImpl.getMessages(ComponentModel componentModel, ComponentResourceSelector selector)`
`Messages` | `ComponentMessagesSourceImpl.getMessages(ComponentModel componentModel, java.util.Locale locale)`
`Messages` | `MessagesSource.getMessages(MessagesBundle bundle, ComponentResourceSelector selector)` Used to obtain a `Messages` instance for a particular component, within a particular locale.
`Messages` | `MessagesSourceImpl.getMessages(MessagesBundle bundle, ComponentResourceSelector selector)`

Methods in org.apache.tapestry5.internal.services with parameters of type Messages
`
`<T> BeanModel<T>`
` | `BeanModelSourceImpl.create(java.lang.Class<T> beanClass, boolean filterReadOnlyProperties, Messages messages)`
`FieldTranslator` | `FieldTranslatorSourceImpl.createDefaultTranslator(Field field, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale, java.lang.Class propertyType, AnnotationProvider propertyAnnotations)`
`FieldValidator` | `FieldValidatorDefaultSourceImpl.createDefaultValidator(Field field, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale, java.lang.Class propertyType, AnnotationProvider propertyAnnotations)`
`
`<T> BeanModel<T>`
` | `BeanModelSourceImpl.createDisplayModel(java.lang.Class<T> beanClass, Messages messages)`
`
`<T> BeanModel<T>`
` | `BeanModelSourceImpl.createEditModel(java.lang.Class<T> beanClass, Messages messages)`
`FieldTranslator` | `FieldTranslatorSourceImpl.createTranslator(Field field, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale, Translator translator)`
`FieldValidator` | `FieldValidatorSourceImpl.createValidator(Field field, java.lang.String validatorType, java.lang.String constraintValue, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale)`

Constructors in org.apache.tapestry5.internal.services with parameters of type Messages
`DelegatingMessagesImpl(Messages primary, Messages delegate)`
`FieldTranslatorSourceImpl(TranslatorSource translatorSource, Messages globalMessages, FormSupport formSupport)`
`FieldValidatorSourceImpl(Messages globalMessages, TypeCoercer typeCoercer, FormSupport formSupport, java.util.Map<java.lang.String,Validator> validators, ValidatorMacro validatorMacro)`

Uses of Messages in org.apache.tapestry5.internal.structure

Methods in org.apache.tapestry5.internal.structure that return Messages
`Messages` | `InternalComponentResourcesImpl.getContainerMessages()`
`Messages` | `InternalComponentResourcesImpl.getMessages()`
`Messages` | `ComponentPageElementResources.getMessages(ComponentModel componentModel)` Used to obtain a `Messages` instance for a particular component.
`Messages` | `ComponentPageElementResourcesImpl.getMessages(ComponentModel componentModel)`

Uses of Messages in org.apache.tapestry5.ioc.internal.util

Classes in org.apache.tapestry5.ioc.internal.util that implement Messages
`class` | `MessagesImpl` Implementation of `Messages` based around a `ResourceBundle`.

Methods in org.apache.tapestry5.ioc.internal.util that return Messages
`static Messages` | `MessagesImpl.forClass(java.lang.Class forClass)` Finds the messages for a given Messages utility class.

Uses of Messages in org.apache.tapestry5.ioc.test

Methods in org.apache.tapestry5.ioc.test that return Messages
`protected Messages` | `IOCTestCase.mockMessages()`

Methods in org.apache.tapestry5.ioc.test with parameters of type Messages
`protected void` | `IOCTestCase.stub_contains(Messages messages, boolean contained)`
`protected void` | `IOCTestCase.train_contains(Messages messages, java.lang.String key, boolean result)`
`protected void` | `IOCTestCase.train_get(Messages messages, java.lang.String key, java.lang.String message)`
`protected void` | `IOCTestCase.train_getMessageFormatter(Messages messages, java.lang.String key, MessageFormatter formatter)`

Uses of Messages in org.apache.tapestry5.ioc.util

Classes in org.apache.tapestry5.ioc.util that implement Messages
`class` | `AbstractMessages` Abstract implementation of `Messages` that doesn't know where values come from (that information is supplied in a subclass, via the `AbstractMessages.valueForKey(String)` method).

Uses of Messages in org.apache.tapestry5.services

Methods in org.apache.tapestry5.services that return Messages
`Messages` | `PropertyEditContext.getContainerMessages()` Returns the message catalog for the container of the `BeanEditForm`, which is the correct place to look for strings used for labels, etc.
`Messages` | `PropertyOutputContext.getMessages()` Returns the message catalog appropriate for use.

Methods in org.apache.tapestry5.services with parameters of type Messages
`
`<T> BeanModel<T>`
` | `BeanModelSource.create(java.lang.Class<T> beanClass, boolean filterReadOnlyProperties, Messages messages)` Deprecated. use `BeanModelSource.createDisplayModel(Class, org.apache.tapestry5.ioc.Messages)` or `BeanModelSource.createEditModel(Class, org.apache.tapestry5.ioc.Messages)`
`FieldTranslator` | `FieldTranslatorSource.createDefaultTranslator(Field field, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale, java.lang.Class propertyType, AnnotationProvider propertyAnnotations)` Creates a `FieldTranslator` for the given property, or returns null if one can't be constructed.
`FieldValidator` | `FieldValidatorDefaultSource.createDefaultValidator(Field field, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale, java.lang.Class propertyType, AnnotationProvider propertyAnnotations)` Analyzes the property type and property annotations to determine the default set of validations for the property, which are wrapped to form a `FieldValidator` for a field.
`
`<T> BeanModel<T>`
` | `BeanModelSource.createDisplayModel(java.lang.Class<T> beanClass, Messages messages)` Creates a model for display purposes; this may include properties which are read-only.
`
`<T> BeanModel<T>`
` | `BeanModelSource.createEditModel(java.lang.Class<T> beanClass, Messages messages)` Creates a model for edit and update purposes, only properties that are fully read-write are included.
`FieldTranslator` | `FieldTranslatorSource.createTranslator(Field field, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale, Translator translator)` Wraps a `Translator` as a FieldTranslator.
`FieldValidator` | `FieldValidatorSource.createValidator(Field field, java.lang.String validatorType, java.lang.String constraintValue, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale)` Full featured version of `FieldValidatorSource.createValidator(Field, String, String)` used in situations where the container of the field is not necesarrilly the place to look for override messages, and the id of the field is not the key to use when checking.

Uses of Messages in org.apache.tapestry5.services.messages

Methods in org.apache.tapestry5.services.messages that return Messages
`Messages` | `ComponentMessagesSource.getApplicationCatalog(java.util.Locale locale)` Gets the Messages derived from the application's message catalog.
`Messages` | `ComponentMessagesSource.getMessages(ComponentModel componentModel, ComponentResourceSelector selector)` Used to obtain a `Messages` instance for a particular component, using a particular selector.
`Messages` | `ComponentMessagesSource.getMessages(ComponentModel componentModel, java.util.Locale locale)` Deprecated. Deprecated in 5.3; use `ComponentMessagesSource.getMessages(ComponentModel, ComponentResourceSelector)` instead.

Uses of Messages in org.apache.tapestry5.test

Methods in org.apache.tapestry5.test that return Messages
`protected Messages` | `TapestryTestCase.messagesFor(java.lang.Class componentClass)` Provides access to component messages, suitable for testing.

Methods in org.apache.tapestry5.test with parameters of type Messages
`protected void` | `TapestryTestCase.train_createEditModel(BeanModelSource source, java.lang.Class beanClass, Messages messages, BeanModel model)`
`protected void` | `TapestryTestCase.train_createValidator(FieldValidatorSource source, Field field, java.lang.String validatorType, java.lang.String constraintValue, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale, FieldValidator result)`
`protected void` | `TapestryTestCase.train_getContainerMessages(ComponentResources resources, Messages containerMessages)`
`protected void` | `TapestryTestCase.train_getMessages(ComponentResources resources, Messages messages)`
`protected void` | `TapestryTestCase.train_getOverrideMessages(PropertyOverrides overrides, Messages messages)`

Uses of Messages in org.apache.tapestry5.util

Constructors in org.apache.tapestry5.util with parameters of type Messages
`EnumSelectModel(java.lang.Class<T> enumClass, Messages messages)`
`EnumSelectModel(java.lang.Class<T> enumClass, Messages messages, T[] values)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2003-2012 The Apache Software Foundation.