|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TemplateLocator
TemplateLocator interface
| Method Summary | |
|---|---|
LocatorDescriptor |
createFromString(java.lang.String string)
Creates a locator from a string of format (where brackets are optional]: template/ |
LocatorDescriptor |
createLocatorDescriptor(java.lang.String type)
Factory to create template locators of the given type. |
java.util.List<java.lang.String> |
getTemplateRoots()
Retrieves a list of template root directories for this locator |
TemplateDescriptor |
locateTemplate(LocatorDescriptor locator)
Locate an template using Jetspeed template location algorithm |
java.util.Iterator |
query(LocatorDescriptor locator)
Query for a collection of templates given template locator criteria. |
| Method Detail |
|---|
TemplateDescriptor locateTemplate(LocatorDescriptor locator)
throws TemplateLocatorException
locator - The template locator
TemplateLocatorException
LocatorDescriptor createLocatorDescriptor(java.lang.String type)
throws TemplateLocatorException
portlet
email
The - type of locator to create
TemplateLocatorException - if factory exception or if not valid locator type
LocatorDescriptor createFromString(java.lang.String string)
throws TemplateLocatorException
string - the string representation of a template locator
TemplateLocatorExceptionjava.util.Iterator query(LocatorDescriptor locator)
locator - The template locator criteria.
Template objects matching the locator criteria.java.util.List<java.lang.String> getTemplateRoots()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||