-
- All Known Implementing Classes:
JAXPTransformer,XDKTransformer
public interface XMLTransformer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetEncoding()StringgetVersion()booleanisFormattedOutput()booleanisFragment()voidsetEncoding(String encoding)voidsetFormattedOutput(boolean shouldFormat)voidsetFragment(boolean fragment)voidsetVersion(String version)voidtransform(Source source, Result result)voidtransform(Document sourceDocument, Node resultParentNode, URL stylesheet)voidtransform(Node sourceNode, OutputStream resultOutputStream)voidtransform(Node sourceNode, Writer resultWriter)voidtransform(Node sourceNode, Result result)voidtransform(Node sourceNode, ContentHandler resultContentHandler)
-
-
-
Method Detail
-
getEncoding
String getEncoding()
-
setEncoding
void setEncoding(String encoding)
-
isFormattedOutput
boolean isFormattedOutput()
-
setFormattedOutput
void setFormattedOutput(boolean shouldFormat)
-
isFragment
boolean isFragment()
-
setFragment
void setFragment(boolean fragment)
-
getVersion
String getVersion()
-
setVersion
void setVersion(String version)
-
transform
void transform(Node sourceNode, OutputStream resultOutputStream) throws XMLPlatformException
- Throws:
XMLPlatformException
-
transform
void transform(Node sourceNode, ContentHandler resultContentHandler) throws XMLPlatformException
- Throws:
XMLPlatformException
-
transform
void transform(Node sourceNode, Result result) throws XMLPlatformException
- Throws:
XMLPlatformException
-
transform
void transform(Node sourceNode, Writer resultWriter) throws XMLPlatformException
- Throws:
XMLPlatformException
-
transform
void transform(Source source, Result result) throws XMLPlatformException
- Throws:
XMLPlatformException
-
transform
void transform(Document sourceDocument, Node resultParentNode, URL stylesheet) throws XMLPlatformException
- Throws:
XMLPlatformException
-
-