Interface XMLTransformer
- All Known Implementing Classes:
JAXPTransformer,XDKTransformer
public interface XMLTransformer
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidsetEncoding(String encoding) voidsetFormattedOutput(boolean shouldFormat) voidsetFragment(boolean fragment) voidsetVersion(String version) voidvoidvoidtransform(Node sourceNode, OutputStream resultOutputStream) voidvoidvoidtransform(Node sourceNode, ContentHandler resultContentHandler)
-
Method Details
-
getEncoding
String getEncoding() -
setEncoding
-
isFormattedOutput
boolean isFormattedOutput() -
setFormattedOutput
void setFormattedOutput(boolean shouldFormat) -
isFragment
boolean isFragment() -
setFragment
void setFragment(boolean fragment) -
getVersion
String getVersion() -
setVersion
-
transform
- Throws:
XMLPlatformException
-
transform
- Throws:
XMLPlatformException
-
transform
- Throws:
XMLPlatformException
-
transform
- Throws:
XMLPlatformException
-
transform
- Throws:
XMLPlatformException
-
transform
void transform(Document sourceDocument, Node resultParentNode, URL stylesheet) throws XMLPlatformException - Throws:
XMLPlatformException
-