Class XsltTransformerExtensions
- java.lang.Object
-
- io.github.astrapi69.xsl.transform.XsltTransformerExtensions
-
public final class XsltTransformerExtensions extends java.lang.Object
The classXsltTransformerExtensions
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
transform(java.io.File xmlFile, java.io.File xsltFile, java.io.OutputStream outputStream)
Transform.static void
transform(java.lang.String xmlInputFile, java.lang.String xsltInputFile, java.io.OutputStream outputStream)
Transform.static void
transform(javax.xml.transform.Source xmlSource, javax.xml.transform.Source xsltSource, java.io.OutputStream outputStream)
Transform.
-
-
-
Method Detail
-
transform
public static void transform(java.io.File xmlFile, java.io.File xsltFile, java.io.OutputStream outputStream) throws javax.xml.transform.TransformerConfigurationException, javax.xml.transform.TransformerException
Transform.- Parameters:
xmlFile
- the xml filexsltFile
- the xslt fileoutputStream
- the output stream- Throws:
javax.xml.transform.TransformerConfigurationException
- is thrown if there are errors when parsing theSource
or it is not possible to create aTransformer
instance.javax.xml.transform.TransformerException
- is thrown if an unrecoverable error occurs during the course of the transformation.
-
transform
public static void transform(javax.xml.transform.Source xmlSource, javax.xml.transform.Source xsltSource, java.io.OutputStream outputStream) throws javax.xml.transform.TransformerConfigurationException, javax.xml.transform.TransformerException
Transform.- Parameters:
xmlSource
- the xml sourcexsltSource
- the xslt sourceoutputStream
- the output stream- Throws:
javax.xml.transform.TransformerConfigurationException
- is thrown if there are errors when parsing theSource
or it is not possible to create aTransformer
instance.javax.xml.transform.TransformerException
- is thrown if an unrecoverable error occurs during the course of the transformation.
-
transform
public static void transform(java.lang.String xmlInputFile, java.lang.String xsltInputFile, java.io.OutputStream outputStream) throws javax.xml.transform.TransformerConfigurationException, javax.xml.transform.TransformerException
Transform.- Parameters:
xmlInputFile
- the xml input filexsltInputFile
- the xslt input fileoutputStream
- the output stream- Throws:
javax.xml.transform.TransformerConfigurationException
- is thrown if there are errors when parsing theSource
or it is not possible to create aTransformer
instance.javax.xml.transform.TransformerException
- is thrown if an unrecoverable error occurs during the course of the transformation.
-
-