public interface ComponentResourceLocator
ComponentTemplateLocator
Modifier and Type | Method and Description |
---|---|
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).
|
Resource locateTemplate(ComponentModel model, ComponentResourceSelector selector)
model
- defines the component, including its base resource.selector
- used to identify locale, etc., for the templateList<Resource> locateMessageCatalog(Resource baseResource, ComponentResourceSelector selector)
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 filesLocalizedNameGenerator
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.