eu.etaxonomy.cdm.print
Class Transformator
java.lang.Object
eu.etaxonomy.cdm.print.Transformator
public class Transformator
- extends Object
Perform XSL transformations.
Note: This class provides access to the JAXP XSL transformer currently active.
- Version:
- 1.0
- Author:
- n.hoffmann
|
Method Summary |
org.jdom.Document |
transform(org.jdom.Document inputDocument)
Transforms the given document to an output document. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Transformator
public Transformator(InputStream stylesheet)
throws org.jdom.transform.XSLTransformException
- Throws:
org.jdom.transform.XSLTransformException
Transformator
public Transformator(URL stylesheet)
throws org.jdom.transform.XSLTransformException,
IOException
- Throws:
org.jdom.transform.XSLTransformException
IOException
transform
public org.jdom.Document transform(org.jdom.Document inputDocument)
throws org.jdom.transform.XSLTransformException
- Transforms the given document to an output document.
- Parameters:
inputDoc - input documentresolver - entity resolver for the input document
- Returns:
- transformed output document
- Throws:
org.jdom.transform.XSLTransformException - if there's a problem in the transformation
Copyright © 2007-2013 EDIT. All Rights Reserved.