Interface XMLTransformer
-
- All Known Implementing Classes:
JAXPTransformer
public interface XMLTransformer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getEncoding()
java.lang.String
getVersion()
boolean
isFormattedOutput()
boolean
isFragment()
void
setEncoding(java.lang.String encoding)
void
setFormattedOutput(boolean shouldFormat)
void
setFragment(boolean fragment)
void
setVersion(java.lang.String version)
void
transform(javax.xml.transform.Source source, javax.xml.transform.Result result)
void
transform(org.w3c.dom.Document sourceDocument, org.w3c.dom.Node resultParentNode, java.net.URL stylesheet)
void
transform(org.w3c.dom.Node sourceNode, java.io.OutputStream resultOutputStream)
void
transform(org.w3c.dom.Node sourceNode, java.io.Writer resultWriter)
void
transform(org.w3c.dom.Node sourceNode, javax.xml.transform.Result result)
void
transform(org.w3c.dom.Node sourceNode, org.xml.sax.ContentHandler resultContentHandler)
-
-
-
Method Detail
-
getEncoding
java.lang.String getEncoding()
-
setEncoding
void setEncoding(java.lang.String encoding)
-
isFormattedOutput
boolean isFormattedOutput()
-
setFormattedOutput
void setFormattedOutput(boolean shouldFormat)
-
isFragment
boolean isFragment()
-
setFragment
void setFragment(boolean fragment)
-
getVersion
java.lang.String getVersion()
-
setVersion
void setVersion(java.lang.String version)
-
transform
void transform(org.w3c.dom.Node sourceNode, java.io.OutputStream resultOutputStream) throws XMLPlatformException
- Throws:
XMLPlatformException
-
transform
void transform(org.w3c.dom.Node sourceNode, org.xml.sax.ContentHandler resultContentHandler) throws XMLPlatformException
- Throws:
XMLPlatformException
-
transform
void transform(org.w3c.dom.Node sourceNode, javax.xml.transform.Result result) throws XMLPlatformException
- Throws:
XMLPlatformException
-
transform
void transform(org.w3c.dom.Node sourceNode, java.io.Writer resultWriter) throws XMLPlatformException
- Throws:
XMLPlatformException
-
transform
void transform(javax.xml.transform.Source source, javax.xml.transform.Result result) throws XMLPlatformException
- Throws:
XMLPlatformException
-
transform
void transform(org.w3c.dom.Document sourceDocument, org.w3c.dom.Node resultParentNode, java.net.URL stylesheet) throws XMLPlatformException
- Throws:
XMLPlatformException
-
-