net.sf.jaxodraw.util
Class JaxoXsltTransformer

java.lang.Object
  extended by net.sf.jaxodraw.util.JaxoXsltTransformer

public final class JaxoXsltTransformer
extends Object

Perform xslt transformations.


Method Summary
static void transform(File inFile, File outFile, File xslFile, Map<String,String> parameters, Map<String,String> properties)
          Transform an xml file with xslt.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.