Class RiceFreeMarkerConfigurer

java.lang.Object
org.springframework.ui.freemarker.FreeMarkerConfigurationFactory
org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
org.kuali.rice.krad.uif.freemarker.RiceFreeMarkerConfigurer
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ResourceLoaderAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.view.freemarker.FreeMarkerConfig

public class RiceFreeMarkerConfigurer extends org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
This class exists because rice uses a custom version of freemarker that is incompatible with Spring 4.
  • Field Summary

    Fields inherited from class org.springframework.ui.freemarker.FreeMarkerConfigurationFactory

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected freemarker.template.Configuration
     

    Methods inherited from class org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer

    afterPropertiesSet, getConfiguration, getTaglibFactory, postProcessTemplateLoaders, setConfiguration, setServletContext

    Methods inherited from class org.springframework.ui.freemarker.FreeMarkerConfigurationFactory

    createConfiguration, getAggregateTemplateLoader, getResourceLoader, getTemplateLoaderForPath, isPreferFileSystemAccess, postProcessConfiguration, setConfigLocation, setDefaultEncoding, setFreemarkerSettings, setFreemarkerVariables, setPostTemplateLoaders, setPreferFileSystemAccess, setPreTemplateLoaders, setResourceLoader, setTemplateLoaderPath, setTemplateLoaderPaths

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.context.ResourceLoaderAware

    setResourceLoader
  • Constructor Details

    • RiceFreeMarkerConfigurer

      public RiceFreeMarkerConfigurer()
  • Method Details

    • newConfiguration

      protected freemarker.template.Configuration newConfiguration() throws IOException, freemarker.template.TemplateException
      Overrides:
      newConfiguration in class org.springframework.ui.freemarker.FreeMarkerConfigurationFactory
      Throws:
      IOException
      freemarker.template.TemplateException