Class JAXPTransformer
java.lang.Object
org.eclipse.persistence.platform.xml.jaxp.JAXPTransformer
- All Implemented Interfaces:
XMLTransformer
Purpose: An implementation of XMLTransformer using JAXP 1.3 APIs.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
setEncoding
(String encoding) void
setFormattedOutput
(boolean shouldFormat) void
setFragment
(boolean fragment) void
setVersion
(String version) void
void
void
transform
(Node sourceNode, OutputStream resultOutputStream) void
void
void
transform
(Node sourceNode, ContentHandler resultContentHandler)
-
Constructor Details
-
JAXPTransformer
public JAXPTransformer()
-
-
Method Details
-
getEncoding
- Specified by:
getEncoding
in interfaceXMLTransformer
-
setEncoding
- 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
- Specified by:
getVersion
in interfaceXMLTransformer
-
setVersion
- Specified by:
setVersion
in interfaceXMLTransformer
-
transform
- 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
- Specified by:
transform
in interfaceXMLTransformer
- Throws:
XMLPlatformException
-
transform
- Specified by:
transform
in interfaceXMLTransformer
- Throws:
XMLPlatformException
-
transform
- 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
-
getTransformer
-