public class ConversionService extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ConversionService.DTKitEntityresolver
Skip DTD Entity resolution.
|
| Constructor and Description |
|---|
ConversionService() |
| Modifier and Type | Method and Description |
|---|---|
void |
convert(File xslFile,
File inputFile,
File outFile)
Launches an XSLT conversion from a source to an OutputStream.
|
void |
convert(File xslFile,
File inputFile,
File outFile,
Map<String,Object> params)
Launches an XSLT conversion from a source to an OutputStream.
|
void |
convert(File xslFile,
InputSource inputFile,
File outFile,
Map<String,Object> params)
Launches an XSLT conversion from a source to an OutputStream.
|
void |
convert(StreamSource xslSource,
File inputFile,
File outFile)
Launches an XSLT conversion from a source to an OutputStream.
|
void |
convert(StreamSource xslSource,
File inputFile,
File outFile,
Map<String,Object> params)
Launches an XSLT conversion from a source to an OutputStream.
|
void |
convert(StreamSource xslSource,
InputSource inputFile,
File outFile,
Map<String,Object> params)
Launches an XSLT conversion from a source to an OutputStream.
|
String |
convertAndReturn(File xslFile,
File inputFile,
Map<String,Object> params)
Launches an XSLT conversion from a source to an OutputStream.
|
String |
convertAndReturn(File xslFile,
InputSource inputFile,
Map<String,Object> params)
Launches an XSLT conversion from a source to an OutputStream.
|
String |
convertAndReturn(StreamSource xslSource,
File inputFile,
Map<String,Object> params)
Launches an XSLT conversion from a source to an OutputStream.
|
String |
convertAndReturn(StreamSource xslSource,
InputSource inputFile,
Map<String,Object> params)
Launches an XSLT conversion from a source to an OutputStream.
|
public void convert(File xslFile, File inputFile, File outFile, Map<String,Object> params) throws ConversionException
xslFile - the xsl fileinputFile - the input fileoutFile - the output fileparams - the parameter mapConversionException - the convert exceptionpublic void convert(File xslFile, File inputFile, File outFile) throws ConversionException
xslFile - the xsl fileinputFile - the input fileoutFile - the output fileConversionException - the convert exceptionpublic void convert(StreamSource xslSource, File inputFile, File outFile) throws ConversionException
xslSource - the source of the xslinputFile - the input fileoutFile - the output fileConversionException - the convert exceptionpublic void convert(StreamSource xslSource, File inputFile, File outFile, Map<String,Object> params) throws ConversionException
xslSource - the source of the xslinputFile - the input fileoutFile - the output fileparams - the parameter mapConversionException - the convert exceptionpublic void convert(File xslFile, InputSource inputFile, File outFile, Map<String,Object> params) throws ConversionException
xslFile - the xsl fileinputFile - the input fileoutFile - the output fileparams - the parameter mapConversionException - the convert exceptionpublic String convertAndReturn(File xslFile, InputSource inputFile, Map<String,Object> params) throws ConversionException
xslFile - the xsl fileinputFile - the input fileparams - the parameter mapConversionException - the convert exceptionpublic String convertAndReturn(File xslFile, File inputFile, Map<String,Object> params) throws ConversionException
xslFile - the xsl fileinputFile - the input fileparams - the parameter mapConversionException - the convert exceptionpublic String convertAndReturn(StreamSource xslSource, File inputFile, Map<String,Object> params) throws ConversionException
xslSource - the source of the xslinputFile - the input fileparams - the parameter mapConversionException - the convert exceptionpublic String convertAndReturn(StreamSource xslSource, InputSource inputFile, Map<String,Object> params) throws ConversionException
xslSource - the source of the xslinputFile - the input fileparams - the parameter mapConversionException - the convert exceptionpublic void convert(StreamSource xslSource, InputSource inputFile, File outFile, Map<String,Object> params) throws ConversionException
xslSource - the source of the xslinputFile - the input fileoutFile - the output fileparams - the parameter mapConversionException - the convert exceptionCopyright © 2004–2020. All rights reserved.