net.javacrumbs.springws.test.template
Interface TemplateProcessor

All Known Implementing Classes:
FreeMarkerTemplateProcessor, XsltTemplateProcessor

public interface TemplateProcessor

Evaluates template.

Author:
Lukas Krecan

Method Summary
 org.springframework.core.io.Resource processTemplate(org.springframework.core.io.Resource resource, org.springframework.ws.WebServiceMessage message)
          Processes the resource as template.
 

Method Detail

processTemplate

org.springframework.core.io.Resource processTemplate(org.springframework.core.io.Resource resource,
                                                     org.springframework.ws.WebServiceMessage message)
                                                     throws java.io.IOException
Processes the resource as template. Returns resource with processed data. If the processor is not applicable returns original resource or its copy.

Parameters:
resource -
uri -
message - Message to be used in template as input. Can be null
Returns:
Throws:
java.io.IOException


Copyright © 2011. All Rights Reserved.