org.openeai.xml
Class OpenEaiTransformer
java.lang.Object
|
+--org.openeai.OpenEaiObject
|
+--org.openeai.xml.OpenEaiTransformer
- public class OpenEaiTransformer
- extends OpenEaiObject
This class is used to perform XSLT transformations using Xalan.
- Version:
- 3.0 beta2 - 28 January 2003
- Author:
- Tod Jackson (tod@openeai.org), Steve Wheat (steve@openeai.org)
|
Method Summary |
static java.io.OutputStream |
getTransformation(byte[] xmlDoc,
java.lang.String xslDocUri)
Transorms the byte array (XML) passed in using the XSL URL passed in and returns the result of the transformation. |
static void |
transform(byte[] xmlDoc,
java.lang.String outputURL,
java.lang.String xslDocUri)
Transorms the byte array (XML) passed in using the XSL URL passed in and
sends the result of the transformation to the outputUrl passed in. |
| Methods inherited from class org.openeai.OpenEaiObject |
addLog4jProperty, getAppName, getDebug, getFromAddr, getLog4jProperties, getMailHost, getMailService, getProperties, getToAddr, initializeLog4j, initializeLog4j, initializeLog4j, setAppName, setDebug, setFromAddr, setMailHost, setMailService, setProperties, setToAddr |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenEaiTransformer
public OpenEaiTransformer()
transform
public static void transform(byte[] xmlDoc,
java.lang.String outputURL,
java.lang.String xslDocUri)
throws java.io.IOException,
java.net.MalformedURLException,
org.xml.sax.SAXException
- Transorms the byte array (XML) passed in using the XSL URL passed in and
sends the result of the transformation to the outputUrl passed in.
- Returns:
- OutputStream the results of the transformation.
- Throws:
java.io.IOException
MalformeURLException
SAXException
java.net.MalformedURLException
getTransformation
public static java.io.OutputStream getTransformation(byte[] xmlDoc,
java.lang.String xslDocUri)
throws java.io.IOException,
java.net.MalformedURLException,
org.xml.sax.SAXException
- Transorms the byte array (XML) passed in using the XSL URL passed in and returns the result of the transformation.
- Returns:
- OutputStream the results of the transformation.
- Throws:
java.io.IOException
MalformeURLException
SAXException
java.net.MalformedURLException
Copyright © 2002, OpenEAI Software Foundation