public class XslTransformer extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
XslTransformer.FileTypeIn
Class holding one element inside the List "listFileIn" of the transform-method.
|
Modifier and Type | Method and Description |
---|---|
void |
transform(java.util.List<XslTransformer.FileTypeIn> listFileIn,
java.io.File fileXsl,
java.io.File fileOut,
XmlExtensions.XmlMode mode,
java.io.File fileInputOnError)
Transforms some input XML-files via XSL to one output XML-file.
|
public void transform(java.util.List<XslTransformer.FileTypeIn> listFileIn, java.io.File fileXsl, java.io.File fileOut, XmlExtensions.XmlMode mode, java.io.File fileInputOnError) throws org.vishia.xml.XsltException, java.io.FileNotFoundException, XmlException
listFileIn
- List of input file pathes, given as Instances of FileTypeIn.fileXsl
- translater xsl filesFileOut
- Path of the output filemode
- Mode of conversion, text or xmlfileInputOnError
- may be null, if not null and any error occurs, the input tree
is written to this file to enable check it by user.XsltException
- if any error. The exception contains a string from this
method with pathes, the exitErrorLevel and the original exception.java.io.FileNotFoundException
- if the output file cannot be written or replaced.XmlException