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