org.arch4j.xml
Class XMLTransformationHelper
java.lang.Object
|
+--org.arch4j.xml.XMLTransformationHelper
- public class XMLTransformationHelper
- extends Object
Helper class for dealing with xml/xsl tranformations.
Usage: XMLTransformationHelper.transform(....);
- Author:
- Allan Wick
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transform
public static void transform(InputStream xmlStream,
InputStream stylesheetStream,
OutputStream outputStream,
String outputFormat)
throws javax.xml.transform.TransformerConfigurationException,
IOException,
org.xml.sax.SAXException
- Transform the xmlStream using the stylesheetStream into the outputStream.
- Parameters:
xmlStream
- A stream containing the xml to transform.stylesheetStream
- A stream containing the stylesheet used to transform the xml.outputStream
- A stream for putting the output of the transformation into.
- Throws:
javax.xml.transform.TransformerConfigurationException
IOException
org.xml.sax.SAXException
doTransformation
public void doTransformation(InputStream xmlStream,
InputStream stylesheetStream,
OutputStream outputStream,
String outputFormat)
throws javax.xml.transform.TransformerConfigurationException,
IOException,
org.xml.sax.SAXException
javax.xml.transform.TransformerConfigurationException
IOException
org.xml.sax.SAXException
Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.