Package com.sun.xml.txw2.output
Class ResultFactory
- java.lang.Object
-
- com.sun.xml.txw2.output.ResultFactory
-
public abstract class ResultFactory extends Object
Factory for producing XmlSerializers for various Result types.- Author:
- Ryan.Shoemaker@Sun.COM
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XmlSerializer
createSerializer(Result result)
Factory method for producingXmlSerializer
fromResult
.
-
-
-
Method Detail
-
createSerializer
public static XmlSerializer createSerializer(Result result)
Factory method for producingXmlSerializer
fromResult
. 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
-
-