|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.internal.pageload.DefaultComponentResourceLocator
public class DefaultComponentResourceLocator
Constructor Summary | |
---|---|
DefaultComponentResourceLocator(ComponentTemplateLocator componentTemplateLocator)
|
Method Summary | |
---|---|
java.util.List<Resource> |
locateMessageCatalog(Resource baseResource,
ComponentResourceSelector selector)
Locates the properties files that make up the message catalog for a specific component. |
Resource |
locateTemplate(ComponentModel model,
ComponentResourceSelector selector)
Locates the template for a component (including pages and base classes). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultComponentResourceLocator(ComponentTemplateLocator componentTemplateLocator)
Method Detail |
---|
public Resource locateTemplate(ComponentModel model, ComponentResourceSelector selector)
ComponentResourceLocator
locateTemplate
in interface ComponentResourceLocator
model
- defines the component, including its base resource.selector
- used to identify locale, etc., for the template
public java.util.List<Resource> locateMessageCatalog(Resource baseResource, ComponentResourceSelector selector)
ComponentResourceLocator
locateMessageCatalog
in interface ComponentResourceLocator
baseResource
- the resource for the base component properties file (i.e., with the ".properties" file extension)selector
- defined the locale and other axes used to locate individual properties files
LocalizedNameGenerator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |