Package com.sun.xml.txw2.output
Class ResultFactory
java.lang.Object
com.sun.xml.txw2.output.ResultFactory
Factory for producing XmlSerializers for various Result types.
- Author:
- Ryan.Shoemaker@Sun.COM
-
Method Summary
Modifier and TypeMethodDescriptionstatic XmlSerializercreateSerializer(Result result) Factory method for producingXmlSerializerfromResult.
-
Method Details
-
createSerializer
Factory method for producingXmlSerializerfromResult. This method supportsSAXResult,StreamResult, andDOMResult.- Parameters:
result- the Result that will receive output from the XmlSerializer- Returns:
- an implementation of XmlSerializer that will produce output on the supplied Result
-