net.javacrumbs.smock.common
Class XsltTemplateProcessor

java.lang.Object
  extended by net.javacrumbs.smock.common.XsltTemplateProcessor
All Implemented Interfaces:
TemplateProcessor

public class XsltTemplateProcessor
extends Object
implements TemplateProcessor

XSLT TemplateProcessor.

Author:
Lukas Krecan

Constructor Summary
XsltTemplateProcessor()
           
 
Method Summary
 Source processTemplate(Source template, Source input, Map<String,Object> parameters)
          Does XSLT transfromation of the template if it is an XSLT template.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XsltTemplateProcessor

public XsltTemplateProcessor()
Method Detail

processTemplate

public Source processTemplate(Source template,
                              Source input,
                              Map<String,Object> parameters)
Does XSLT transfromation of the template if it is an XSLT template. If not, returns template withou change.

Specified by:
processTemplate in interface TemplateProcessor
input - Template can use values from the input. Can be null.
Returns:


Copyright © 2011. All Rights Reserved.