Class XDKTransformer
- java.lang.Object
-
- org.eclipse.persistence.platform.xml.xdk.XDKTransformer
-
- All Implemented Interfaces:
XMLTransformer
public class XDKTransformer extends Object implements XMLTransformer
Purpose: An implementation of XMLTransformer using Oracle XDK APIs.
-
-
Constructor Summary
Constructors Constructor Description XDKTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEncoding()
String
getVersion()
boolean
isFormattedOutput()
boolean
isFragment()
void
setEncoding(String encoding)
void
setFormattedOutput(boolean shouldFormat)
void
setFragment(boolean fragment)
void
setVersion(String version)
void
transform(Source source, Result result)
void
transform(Document sourceDocument, Node resultParentNode, URL stylesheet)
void
transform(Node sourceNode, OutputStream resultOutputStream)
void
transform(Node sourceNode, Writer resultWriter)
void
transform(Node sourceNode, Result result)
void
transform(Node sourceNode, ContentHandler resultContentHandler)
-
-
-
Method Detail
-
getEncoding
public String getEncoding()
- Specified by:
getEncoding
in interfaceXMLTransformer
-
setEncoding
public void setEncoding(String encoding)
- Specified by:
setEncoding
in interfaceXMLTransformer
-
isFormattedOutput
public boolean isFormattedOutput()
- Specified by:
isFormattedOutput
in interfaceXMLTransformer
-
setFormattedOutput
public void setFormattedOutput(boolean shouldFormat)
- Specified by:
setFormattedOutput
in interfaceXMLTransformer
-
getVersion
public String getVersion()
- Specified by:
getVersion
in interfaceXMLTransformer
-
setVersion
public void setVersion(String version)
- Specified by:
setVersion
in interfaceXMLTransformer
-
transform
public void transform(Node sourceNode, OutputStream resultOutputStream) throws XMLPlatformException
- Specified by:
transform
in interfaceXMLTransformer
- Throws:
XMLPlatformException
-
transform
public void transform(Node sourceNode, ContentHandler resultContentHandler) throws XMLPlatformException
- Specified by:
transform
in interfaceXMLTransformer
- Throws:
XMLPlatformException
-
transform
public void transform(Node sourceNode, Result result) throws XMLPlatformException
- Specified by:
transform
in interfaceXMLTransformer
- Throws:
XMLPlatformException
-
transform
public void transform(Node sourceNode, Writer resultWriter) throws XMLPlatformException
- Specified by:
transform
in interfaceXMLTransformer
- Throws:
XMLPlatformException
-
transform
public void transform(Source source, Result result) throws XMLPlatformException
- Specified by:
transform
in interfaceXMLTransformer
- Throws:
XMLPlatformException
-
transform
public void transform(Document sourceDocument, Node resultParentNode, URL stylesheet) throws XMLPlatformException
- Specified by:
transform
in interfaceXMLTransformer
- Throws:
XMLPlatformException
-
setFragment
public void setFragment(boolean fragment)
- Specified by:
setFragment
in interfaceXMLTransformer
-
isFragment
public boolean isFragment()
- Specified by:
isFragment
in interfaceXMLTransformer
-
-