Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.freemarker
Interface FreeMarkerEngine


public interface FreeMarkerEngine


Method Summary
 void clearClassLoader(ClassLoader classLoader)
           
 void flushTemplate(String freeMarkerTemplateId)
           
 FreeMarkerContext getWrappedClassLoaderToolsContext()
           
 FreeMarkerContext getWrappedRestrictedToolsContext()
           
 FreeMarkerContext getWrappedStandardToolsContext()
           
 void init()
           
 boolean mergeTemplate(String freeMarkerTemplateId, FreeMarkerContext freeMarkerContext, Writer writer)
           
 boolean mergeTemplate(String freeMarkerTemplateId, String freemarkerTemplateContent, FreeMarkerContext freeMarkerContext, Writer writer)
           
 boolean resourceExists(String resource)
           
 

Method Detail

clearClassLoader

void clearClassLoader(ClassLoader classLoader)

flushTemplate

void flushTemplate(String freeMarkerTemplateId)

getWrappedClassLoaderToolsContext

FreeMarkerContext getWrappedClassLoaderToolsContext()

getWrappedRestrictedToolsContext

FreeMarkerContext getWrappedRestrictedToolsContext()

getWrappedStandardToolsContext

FreeMarkerContext getWrappedStandardToolsContext()

init

void init()
          throws Exception
Throws:
Exception

mergeTemplate

boolean mergeTemplate(String freeMarkerTemplateId,
                      FreeMarkerContext freeMarkerContext,
                      Writer writer)
                      throws Exception
Throws:
Exception

mergeTemplate

boolean mergeTemplate(String freeMarkerTemplateId,
                      String freemarkerTemplateContent,
                      FreeMarkerContext freeMarkerContext,
                      Writer writer)
                      throws Exception
Throws:
Exception

resourceExists

boolean resourceExists(String resource)

Liferay 6.1.2-ce-ga3