public abstract class AbstractTemplateProcessor extends BaseRegisterableTemplateProcessor implements org.springframework.context.ApplicationContextAware, TemplateProcessor
processorExtensions| Constructor and Description |
|---|
AbstractTemplateProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addProcessorModelExtensions(Object model)
Add any configured processor model extensions to the model.
|
protected SearchPath |
getSearchPath()
Gets the search path.
|
protected freemarker.cache.TemplateLoader |
getTemplateLoader()
Gets the loader.
|
void |
init()
Inits the processor
|
protected void |
initLoaders()
Initializes the template loaders
|
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event) |
void |
register()
Registers this processor with the parent processor
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Sets the application context.
|
void |
setSearchPath(SearchPath searchPath) |
getTemplateProcessorRegistry, setTemplateProcessorRegistryregisterProcessorExtensionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultEncoding, hasTemplate, process, processString, resetgetExtension, getNamepublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext in interface org.springframework.context.ApplicationContextAwaresetApplicationContext in class BaseRegisterableTemplateProcessorapplicationContext - the new application contextpublic void setSearchPath(SearchPath searchPath)
searchPath - SearchPathprotected freemarker.cache.TemplateLoader getTemplateLoader()
protected SearchPath getSearchPath()
protected void initLoaders()
protected void addProcessorModelExtensions(Object model)
model - Objectpublic void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListeneronApplicationEvent in class BaseRegisterableTemplateProcessorpublic void init()
BaseRegisterableTemplateProcessorinit in class BaseRegisterableTemplateProcessorpublic void register()
BaseRegisterableTemplateProcessorregister in class BaseRegisterableTemplateProcessorCopyright © 2005–2017 Alfresco Software. All rights reserved.