Interface WebTemplateFactory
-
- All Known Subinterfaces:
WebTemplateArchitect
,WebTemplateLoader
- All Known Implementing Classes:
AbstractWebTemplateFactory
,WebTemplateArchitectEmployer
,WebTemplateLoaderImpl
public interface WebTemplateFactory
Factory for the creation of aWebTemplate
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebTemplate
addTemplate(boolean isSecure, java.lang.String applicationPath, java.io.Reader templateContent)
Adds aWebTemplate
.WebTemplate
addTemplate(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 secureServerHttpConnection
to render theWebTemplate
.applicationPath
- Application path to theWebTemplate
. May contain path parameters.templateContent
-Reader
to 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 secureServerHttpConnection
to render theWebTemplate
.applicationPath
- Application path to theWebTemplate
. May contain path parameters.locationOfTemplate
- Location of the template content.- Returns:
WebTemplate
.
-
-