com.carbonfive.sstemplates.servlet
Class SsTemplateServletContext
java.lang.Object
com.carbonfive.sstemplates.SsTemplateContextImpl
com.carbonfive.sstemplates.servlet.SsTemplateServletContext
- All Implemented Interfaces:
- javax.servlet.jsp.el.FunctionMapper, SsTemplateContext, javax.servlet.jsp.el.VariableResolver
- public class SsTemplateServletContext
- extends SsTemplateContextImpl
This class acts as an EL VariableResolver, but does not support the pageContext implicit object.
- Version:
- $REVISION
- Author:
- sivoh
| Methods inherited from class com.carbonfive.sstemplates.SsTemplateContextImpl |
addStyleData, createFont, getBackgroundColor, getColorIndex, getColumnIndex, getCurrentStyle, getCustomValue, getMaxColumnIndex, getMaxRowIndex, getNamedAccumulator, getNamedStyle, getNamedStyleData, getPageVariable, getRegionForCurrentLocation, getRow, getRowIndex, getSheet, getWorkbook, hasCachedStyleData, incrementCellIndex, incrementRowIndex, nextPageBreak, parseIncludeFile, registerMethod, resolveFunction, setBackgroundColor, setColumnIndex, setCurrentStyle, setCustomValue, setPageBreaks, setPageVariable, setRow, setRowIndex, setSheet, setWorkbook, unsetPageVariable |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SsTemplateServletContext
public SsTemplateServletContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.ServletContext context,
SsTemplateProcessor processor,
java.io.File templateDir)
findFileInTemplateDirectory
public java.io.File findFileInTemplateDirectory(java.lang.String path)
- Specified by:
findFileInTemplateDirectory in interface SsTemplateContext- Overrides:
findFileInTemplateDirectory in class SsTemplateContextImpl
resolveVariable
public java.lang.Object resolveVariable(java.lang.String name)
- Specified by:
resolveVariable in interface SsTemplateContext- Overrides:
resolveVariable in class SsTemplateContextImpl
getRequest
public javax.servlet.http.HttpServletRequest getRequest()
setRequest
public void setRequest(javax.servlet.http.HttpServletRequest request)
getServletContext
public javax.servlet.ServletContext getServletContext()
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)