SMILA 1.0 API documentation

org.eclipse.smila.processing.pipelets.xmlprocessing.util
Class XslTransformer

java.lang.Object
  extended by org.eclipse.smila.processing.pipelets.xmlprocessing.util.XslTransformer

public class XslTransformer
extends java.lang.Object

A XslTransformer.


Constructor Summary
XslTransformer()
          Default Constructor.
 
Method Summary
 org.w3c.dom.Document transform(org.w3c.dom.Document document, java.lang.String xslFile)
          Transforms a Document using the given xslFile.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XslTransformer

public XslTransformer()
Default Constructor.

Method Detail

transform

public org.w3c.dom.Document transform(org.w3c.dom.Document document,
                                      java.lang.String xslFile)
                               throws XslException,
                                      XMLUtilsException,
                                      java.io.IOException
Transforms a Document using the given xslFile.

Parameters:
document - the Document to transform
xslFile - the xslFile
Returns:
the transformed Document
Throws:
XslException - if any error occurs
XMLUtilsException - if any error occurs
java.io.IOException - if any error occurs

SMILA 1.0 API documentation