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 voidflushCache()ResourceBundlegetMessageBundle()ResourceLocatorgetResourceLocator()ViewgetView(String path)ViewgetView(String path, Object object)voidrender(String template, Object input, Writer writer)Starts the rendering for the given document context.voidsetMessageBundle(ResourceBundle messages)voidsetResourceLocator(ResourceLocator locator)voidsetSharedVariable(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()
-
-