public interface TemplateLocator
Modifier and Type | Method and Description |
---|---|
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.
|
List<String> |
getTemplateRoots()
Retrieves a list of template root directories for this locator
|
TemplateDescriptor |
locateTemplate(LocatorDescriptor locator)
Locate an template using Jetspeed template location algorithm
|
Iterator |
query(LocatorDescriptor locator)
Deprecated.
Do not use this method as it is not supported
|
TemplateDescriptor locateTemplate(LocatorDescriptor locator) throws TemplateLocatorException
locator
- The template locatorTemplateLocatorException
LocatorDescriptor createLocatorDescriptor(String type) throws TemplateLocatorException
portlet
email
type
- of locator to createTemplateLocatorException
- if factory exception or if not valid locator typeLocatorDescriptor createFromString(String string) throws TemplateLocatorException
string
- the string representation of a template locatorTemplateLocatorException
Iterator query(LocatorDescriptor locator)
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.