net.sf.jaxodraw.util
Class JaxoXsltTransformer
java.lang.Object
net.sf.jaxodraw.util.JaxoXsltTransformer
public final class JaxoXsltTransformer
- extends Object
Perform xslt transformations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transform
public static void transform(File inFile,
File outFile,
File xslFile,
Map<String,String> parameters,
Map<String,String> properties)
throws IOException
- Transform an xml file with xslt.
- Parameters:
inFile
- the file to transform.outFile
- the target file.xslFile
- the xslt stylesheet.parameters
- a Map of parameters for the transformation. May be null.properties
- a Map of output properties for the transformation. May be null.
- Throws:
IOException
- if an I/O error happens.
Copyright © 2003-2011 The JaxoDraw team. All Rights Reserved.