public class Transformator
extends java.lang.Object
Constructor and Description |
---|
Transformator(java.io.InputStream stylesheet) |
Transformator(java.net.URL stylesheet) |
Modifier and Type | Method and Description |
---|---|
org.jdom.Document |
transform(org.jdom.Document inputDocument)
Transforms the given document to an output document.
|
public Transformator(java.io.InputStream stylesheet) throws org.jdom.transform.XSLTransformException
org.jdom.transform.XSLTransformException
public Transformator(java.net.URL stylesheet) throws org.jdom.transform.XSLTransformException, java.io.IOException
org.jdom.transform.XSLTransformException
java.io.IOException
public org.jdom.Document transform(org.jdom.Document inputDocument) throws org.jdom.transform.XSLTransformException
inputDoc
- input documentresolver
- entity resolver for the input documentorg.jdom.transform.XSLTransformException
- if there's a problem in the transformationCopyright © 2007-2020 EDIT. All Rights Reserved.