net.javacrumbs.springws.test.template
Class FreeMarkerTemplateProcessor
java.lang.Object
net.javacrumbs.springws.test.template.FreeMarkerTemplateProcessor
- All Implemented Interfaces:
- TemplateProcessor, org.springframework.beans.factory.InitializingBean, org.springframework.context.ResourceLoaderAware
public class FreeMarkerTemplateProcessor
- extends java.lang.Object
- implements TemplateProcessor, org.springframework.beans.factory.InitializingBean, org.springframework.context.ResourceLoaderAware
Processes a freemarker template.
- Author:
- Lukas Krecan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FreeMarkerTemplateProcessor
public FreeMarkerTemplateProcessor()
processTemplate
public org.springframework.core.io.Resource processTemplate(org.springframework.core.io.Resource resource,
org.springframework.ws.WebServiceMessage message)
throws java.io.IOException
- Description copied from interface:
TemplateProcessor
- Processes the resource as template. Returns resource with processed data. If the processor is not applicable
returns original resource or its copy.
- Specified by:
processTemplate in interface TemplateProcessor
message - Message to be used in template as input. Can be null
- Returns:
-
- Throws:
java.io.IOException
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
getConfigurationFactory
public org.springframework.ui.freemarker.FreeMarkerConfigurationFactory getConfigurationFactory()
setConfigurationFactory
public void setConfigurationFactory(org.springframework.ui.freemarker.FreeMarkerConfigurationFactory configurationFactory)
getResourceLoader
public org.springframework.core.io.ResourceLoader getResourceLoader()
setResourceLoader
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
- Specified by:
setResourceLoader in interface org.springframework.context.ResourceLoaderAware
getXmlUtil
public XmlUtil getXmlUtil()
setXmlUtil
public void setXmlUtil(XmlUtil xmlUtil)
Copyright © 2011. All Rights Reserved.