public class XSLTransformation extends Object implements XMLProcessor, XMLTextProcessor
| Constructor and Description | 
|---|
| XSLTransformation()Identity transform. | 
| XSLTransformation(String aSystemId,
                 URIResolver aResolver) | 
| XSLTransformation(URI aUri) | 
| Modifier and Type | Method and Description | 
|---|---|
| DOMSource | process(DOMSource aDocument)Processes a document. | 
| XSLTransformation | setPrettyPrint(boolean aPrettyPrint)Configure the transformation to do pretty-printing. | 
| XSLTransformation | transformation(String aSystemId,
              URIResolver aResolver) | 
| XSLTransformation | transformation(URI aUri) | 
| void | write(DOMSource aDocument,
     OutputStream aStream)Writes a document. | 
public XSLTransformation()
                  throws XMLException
XMLExceptionpublic XSLTransformation(URI aUri) throws XMLException
XMLExceptionpublic XSLTransformation(String aSystemId, URIResolver aResolver) throws XMLException
XMLExceptionpublic XSLTransformation setPrettyPrint(boolean aPrettyPrint)
public XSLTransformation transformation(URI aUri) throws XMLException
XMLExceptionpublic XSLTransformation transformation(String aSystemId, URIResolver aResolver) throws XMLException
XMLExceptionpublic DOMSource process(DOMSource aDocument) throws XMLException
XMLProcessorprocess in interface XMLProcessoraDocument - Document to process.XMLException - In case of problems.public void write(DOMSource aDocument, OutputStream aStream) throws XMLException
XMLTextProcessorwrite in interface XMLTextProcessoraDocument - Document.aStream - Stream to write to.XMLException - in case of problems.Copyright © 2025. All rights reserved.