public class LifecycleRenderingContext extends Object
Constructor and Description |
---|
LifecycleRenderingContext(Object model,
javax.servlet.http.HttpServletRequest request)
Create FreeMarker environment for rendering within the view lifecycle.
|
Modifier and Type | Method and Description |
---|---|
void |
clearRenderingBuffer()
Clear the output buffer used during rendering, in preparation for rendering another component
using the same environment.
|
freemarker.core.Environment |
getEnvironment()
Get the FreeMarker environment for processing the rendering phase, initializing the
environment if needed.
|
String |
getRenderedOutput()
Get all output rendered in the FreeMarker environment.
|
void |
importTemplate(String template)
Import a FreeMarker template for rendering into the current environment.
|
boolean |
isImported(String template) |
public LifecycleRenderingContext(Object model, javax.servlet.http.HttpServletRequest request)
request
- The active servlet request.rawresponse
- The active servlet response.public freemarker.core.Environment getEnvironment()
public void clearRenderingBuffer()
public String getRenderedOutput()
public void importTemplate(String template)
template
- The path to the FreeMarker template.public boolean isImported(String template)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.