Class ConversionService

    • Constructor Detail

      • ConversionService

        public ConversionService()
    • Method Detail

      • 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