info.magnolia.freemarker.loaders
Class LazyFileTemplateLoader
java.lang.Object
info.magnolia.freemarker.loaders.AbstractDelegatingTemplateLoader
info.magnolia.freemarker.loaders.LazyFileTemplateLoader
- All Implemented Interfaces:
- freemarker.cache.TemplateLoader
public class LazyFileTemplateLoader
- extends AbstractDelegatingTemplateLoader
A TemplateLoader wrapping freemarker's FileTemplateLoader, initializing it
lazily, thus allowing setting its parameters with content2bean.
- Version:
- $Id: $
- Author:
- gjoseph
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LazyFileTemplateLoader
public LazyFileTemplateLoader()
getBasePath
public java.lang.String getBasePath()
setBasePath
public void setBasePath(java.lang.String basePath)
isAllowLinking
public boolean isAllowLinking()
setAllowLinking
public void setAllowLinking(boolean allowLinking)
newDelegate
protected freemarker.cache.TemplateLoader newDelegate()
- Description copied from class:
AbstractDelegatingTemplateLoader
- Implementations should return null if it is too early to instantiate the delegate.
- Specified by:
newDelegate
in class AbstractDelegatingTemplateLoader
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.