org.eclipse.persistence.platform.xml.jaxp
Class JAXPTransformer
java.lang.Object
org.eclipse.persistence.platform.xml.jaxp.JAXPTransformer
- All Implemented Interfaces:
- XMLTransformer
public class JAXPTransformer
- extends Object
- implements XMLTransformer
Purpose: An implementation of XMLTransformer using JAXP 1.3 APIs.
JAXPTransformer
public JAXPTransformer()
getEncoding
public String getEncoding()
- Specified by:
getEncoding
in interface XMLTransformer
setEncoding
public void setEncoding(String encoding)
- Specified by:
setEncoding
in interface XMLTransformer
isFormattedOutput
public boolean isFormattedOutput()
- Specified by:
isFormattedOutput
in interface XMLTransformer
setFormattedOutput
public void setFormattedOutput(boolean shouldFormat)
- Specified by:
setFormattedOutput
in interface XMLTransformer
getVersion
public String getVersion()
- Specified by:
getVersion
in interface XMLTransformer
setVersion
public void setVersion(String version)
- Specified by:
setVersion
in interface XMLTransformer
transform
public void transform(Node sourceNode,
OutputStream resultOutputStream)
throws XMLPlatformException
- Specified by:
transform
in interface XMLTransformer
- Throws:
XMLPlatformException
transform
public void transform(Node sourceNode,
ContentHandler resultContentHandler)
throws XMLPlatformException
- Specified by:
transform
in interface XMLTransformer
- Throws:
XMLPlatformException
transform
public void transform(Node sourceNode,
Result result)
throws XMLPlatformException
- Specified by:
transform
in interface XMLTransformer
- Throws:
XMLPlatformException
transform
public void transform(Node sourceNode,
Writer resultWriter)
throws XMLPlatformException
- Specified by:
transform
in interface XMLTransformer
- Throws:
XMLPlatformException
transform
public void transform(Source source,
Result result)
throws XMLPlatformException
- Specified by:
transform
in interface XMLTransformer
- Throws:
XMLPlatformException
transform
public void transform(Document sourceDocument,
Node resultParentNode,
URL stylesheet)
throws XMLPlatformException
- Specified by:
transform
in interface XMLTransformer
- Throws:
XMLPlatformException
setFragment
public void setFragment(boolean fragment)
- Specified by:
setFragment
in interface XMLTransformer
isFragment
public boolean isFragment()
- Specified by:
isFragment
in interface XMLTransformer