接口 FreeMarkerConfig
- 所有已知实现类:
FreeMarkerConfigurer
public interface FreeMarkerConfig
Interface to be implemented by objects that configure and manage a FreeMarker Configuration object in a web environment. Detected and used byFreeMarkerView
.- 从以下版本开始:
- 03.03.2004
- 作者:
- Darren Davison, Rob Harrop
- 另请参阅:
FreeMarkerConfigurer
,FreeMarkerView
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 freemarker.template.Configuration
getConfiguration()
Return the FreeMarkerConfiguration
object for the current web application context.freemarker.ext.jsp.TaglibFactory
getTaglibFactory()
Return theTaglibFactory
used to enable JSP tags to be accessed from FreeMarker templates.
方法详细资料
getConfiguration
freemarker.template.Configuration getConfiguration()
Return the FreeMarkerConfiguration
object for the current web application context.A FreeMarker Configuration object may be used to set FreeMarker properties and shared objects, and allows to retrieve templates.
- 返回:
- the FreeMarker Configuration
getTaglibFactory
freemarker.ext.jsp.TaglibFactory getTaglibFactory()
Return theTaglibFactory
used to enable JSP tags to be accessed from FreeMarker templates.