Liferay 6.2.0-ce-m1

com.liferay.portal.kernel.template
Interface TemplateManager

All Known Implementing Classes:
FreeMarkerManager, VelocityManager

public interface TemplateManager


Field Summary
static String FREEMARKER
           
static String VELOCITY
           
 
Method Summary
 void destroy()
           
 void destroy(ClassLoader classLoader)
           
 String getName()
           
 Template getTemplate(TemplateResource templateResource, TemplateContextType templateContextType)
           
 Template getTemplate(TemplateResource templateResource, TemplateResource errorTemplateResource, TemplateContextType templateContextType)
           
 void init()
           
 

Field Detail

FREEMARKER

static final String FREEMARKER
See Also:
Constant Field Values

VELOCITY

static final String VELOCITY
See Also:
Constant Field Values
Method Detail

destroy

void destroy()

destroy

void destroy(ClassLoader classLoader)

getName

String getName()

getTemplate

Template getTemplate(TemplateResource templateResource,
                     TemplateContextType templateContextType)

getTemplate

Template getTemplate(TemplateResource templateResource,
                     TemplateResource errorTemplateResource,
                     TemplateContextType templateContextType)

init

void init()
          throws TemplateException
Throws:
TemplateException

Liferay 6.2.0-ce-m1