net.javacrumbs.smock.common
Class XsltTemplateProcessor
java.lang.Object
net.javacrumbs.smock.common.XsltTemplateProcessor
- All Implemented Interfaces:
- TemplateProcessor
public class XsltTemplateProcessor
- extends Object
- implements TemplateProcessor
XSLT TemplateProcessor.
- Author:
- Lukas Krecan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XsltTemplateProcessor
public XsltTemplateProcessor()
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.