public interface: PageResources
All Implemented Interfaces:
All Known Implementing Classes:
Provides access to common methods of various services, needed by implementations of ComponentPageElement
|Method from org.apache.tapestry5.internal.structure.PageResources Detail:|
public T coerce(S input,
Performs a coercion from an input type to a desired output type. When the target type is a primitive, the actual
conversion will be to the equivalent wrapper type. In some cases, the TypeCoercer will need to search for an
appropriate coercion, and may even combine existing coercions to form new ones; in those cases, the results of
the search are cached.
public Logger getEventLogger(Logger componentLogger)
Returns the event logger for the provided component logger. The event logger is based on the component logger's
name (which matches the component class name) with a "tapestry..events." prefix.
public Messages getMessages(ComponentModel componentModel)
Used to obtain a org.apache.tapestry5.ioc.Messages instance for a particular component. If the component
extends from another component, then its localized properties will merge with its parent's properties (with the
subclass overriding the super class on any conflicts).
public Class toClass(String className)
Gets the Class instance for then give name.