Interface WebTemplateFactory
-
- All Known Subinterfaces:
WebTemplateArchitect,WebTemplateLoader
- All Known Implementing Classes:
AbstractWebTemplateFactory,WebTemplateArchitectEmployer,WebTemplateLoaderImpl
public interface WebTemplateFactoryFactory for the creation of aWebTemplate.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebTemplateaddTemplate(boolean isSecure, java.lang.String applicationPath, java.io.Reader templateContent)Adds aWebTemplate.WebTemplateaddTemplate(boolean isSecure, java.lang.String applicationPath, java.lang.String locationOfTemplate)Adds aWebTemplate.
-
-
-
Method Detail
-
addTemplate
WebTemplate addTemplate(boolean isSecure, java.lang.String applicationPath, java.io.Reader templateContent)
Adds aWebTemplate.- Parameters:
isSecure- Indicates if requires secureServerHttpConnectionto render theWebTemplate.applicationPath- Application path to theWebTemplate. May contain path parameters.templateContent-Readerto the template content.- Returns:
WebTemplate.
-
addTemplate
WebTemplate addTemplate(boolean isSecure, java.lang.String applicationPath, java.lang.String locationOfTemplate)
Adds aWebTemplate.- Parameters:
isSecure- Indicates if requires secureServerHttpConnectionto render theWebTemplate.applicationPath- Application path to theWebTemplate. May contain path parameters.locationOfTemplate- Location of the template content.- Returns:
WebTemplate.
-
-