public class StringTemplateView
extends org.springframework.web.servlet.view.AbstractUrlBasedView
Exposes the following JavaBean properties:
| Constructor and Description |
|---|
StringTemplateView() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
exposeToModel(Map model)
Overridable method to expose attributes to the model.
|
org.antlr.stringtemplate.StringTemplate |
getStringTemplate() |
protected boolean |
isThemed()
dummy.
|
protected void |
renderMergedOutputModel(Map model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the model map by merging it with the StringTemplate template.
|
void |
setStringTemplate(org.antlr.stringtemplate.StringTemplate value) |
afterPropertiesSet, checkResource, getUrl, isUrlRequired, setUrl, toStringaddStaticAttribute, createMergedOutputModel, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, generatesDownloadContent, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getRequestToExpose, getStaticAttributes, isExposePathVariables, prepareResponse, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setExposeContextBeansAsAttributes, setExposedContextBeanNames, setExposePathVariables, setRequestContextAttribute, setResponseContentType, writeToResponsegetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic void setStringTemplate(org.antlr.stringtemplate.StringTemplate value)
public org.antlr.stringtemplate.StringTemplate getStringTemplate()
protected void exposeToModel(Map model)
model - modelprotected boolean isThemed()
protected void renderMergedOutputModel(Map model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
This method can be overridden if custom behavior is needed.
renderMergedOutputModel in class org.springframework.web.servlet.view.AbstractViewmodel - modelrequest - requestresponse - responseException - exceptionCopyright © 2026. All rights reserved.