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
XMLException
public XSLTransformation(URI aUri) throws XMLException
XMLException
public XSLTransformation(String aSystemId, URIResolver aResolver) throws XMLException
XMLException
public XSLTransformation setPrettyPrint(boolean aPrettyPrint)
public XSLTransformation transformation(URI aUri) throws XMLException
XMLException
public XSLTransformation transformation(String aSystemId, URIResolver aResolver) throws XMLException
XMLException
public DOMSource process(DOMSource aDocument) throws XMLException
XMLProcessor
process
in interface XMLProcessor
aDocument
- Document to process.XMLException
- In case of problems.public void write(DOMSource aDocument, OutputStream aStream) throws XMLException
XMLTextProcessor
write
in interface XMLTextProcessor
aDocument
- Document.aStream
- Stream to write to.XMLException
- in case of problems.Copyright © 2024. All rights reserved.