站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

FreeMarkerConfig (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.web.servlet.view.freemarker
Interface FreeMarkerConfig

All Known Implementing Classes:
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 by FreeMarkerView.

Since:
03.03.2004
Author:
Darren Davison, Rob Harrop
See Also:
FreeMarkerConfigurer, FreeMarkerView

Method Summary
 Configuration getConfiguration()
          Return the FreeMarker Configuration object for the current web application context.
 TaglibFactory getTaglibFactory()
          Returns the TaglibFactory used to enable JSP tags to be accessed from FreeMarker templates.
 

Method Detail

getConfiguration

Configuration getConfiguration()
Return the FreeMarker Configuration 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.

Returns:
the FreeMarker Configuration

getTaglibFactory

TaglibFactory getTaglibFactory()
Returns the TaglibFactory used to enable JSP tags to be accessed from FreeMarker templates.


The Spring Framework

Copyright © 2002-2007 The Spring Framework.