Class ConversionService

java.lang.Object
com.parasoft.findings.jenkins.coverage.converter.ConversionService
All Implemented Interfaces:
Serializable

public class ConversionService extends Object implements Serializable
See Also:
  • Constructor Details

    • ConversionService

      public ConversionService()
  • Method Details

    • convert

      public void convert(StreamSource xslSource, File inputFile, File outFile, Map<net.sf.saxon.s9api.QName,net.sf.saxon.s9api.XdmValue> params) throws ConversionException
      Launches an XSLT conversion from a source to an OutputStream. This methods uses the net.sf.saxon packages.
      Parameters:
      xslSource - the source of the xsl
      inputFile - the input file
      outFile - the output file
      params - the parameter map
      Throws:
      ConversionException - the convert exception
    • convert

      public void convert(StreamSource xslSource, InputSource inputFile, File outFile, Map<net.sf.saxon.s9api.QName,net.sf.saxon.s9api.XdmValue> params) throws ConversionException
      Launches an XSLT conversion from a source to an OutputStream. This methods uses the net.sf.saxon packages.
      Parameters:
      xslSource - the source of the xsl
      inputFile - the input file
      outFile - the output file
      params - the parameter map
      Throws:
      ConversionException - the convert exception