Class ConversionService
java.lang.Object
com.parasoft.findings.jenkins.coverage.converter.ConversionService
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSkip DTD Entity resolution. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconvert(StreamSource xslSource, File inputFile, File outFile, Map<net.sf.saxon.s9api.QName, net.sf.saxon.s9api.XdmValue> params) Launches an XSLT conversion from a source to an OutputStream.voidconvert(StreamSource xslSource, InputSource inputFile, File outFile, Map<net.sf.saxon.s9api.QName, net.sf.saxon.s9api.XdmValue> params) Launches an XSLT conversion from a source to an OutputStream.
-
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 ConversionExceptionLaunches an XSLT conversion from a source to an OutputStream. This methods uses the net.sf.saxon packages.- Parameters:
xslSource- the source of the xslinputFile- the input fileoutFile- the output fileparams- 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 ConversionExceptionLaunches an XSLT conversion from a source to an OutputStream. This methods uses the net.sf.saxon packages.- Parameters:
xslSource- the source of the xslinputFile- the input fileoutFile- the output fileparams- the parameter map- Throws:
ConversionException- the convert exception
-