Class JaxoXsltTransformer

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

public final class JaxoXsltTransformer extends Object
Perform xslt transformations.
  • Method Details

    • 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.