Interface RenderingEngine
-
- All Known Implementing Classes:
FreemarkerEngine
,FreemarkerRender
public interface RenderingEngine
- Author:
- Bogdan Stefanescu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
flushCache()
ResourceBundle
getMessageBundle()
ResourceLocator
getResourceLocator()
View
getView(String path)
View
getView(String path, Object object)
void
render(String template, Object input, Writer writer)
Starts the rendering for the given document context.void
setMessageBundle(ResourceBundle messages)
void
setResourceLocator(ResourceLocator locator)
void
setSharedVariable(String key, Object value)
-
-
-
Method Detail
-
setMessageBundle
void setMessageBundle(ResourceBundle messages)
-
getMessageBundle
ResourceBundle getMessageBundle()
-
setResourceLocator
void setResourceLocator(ResourceLocator locator)
-
getResourceLocator
ResourceLocator getResourceLocator()
-
render
void render(String template, Object input, Writer writer) throws RenderingException
Starts the rendering for the given document context.- Throws:
RenderingException
-
flushCache
void flushCache()
-
-