Package com.sun.xml.rpc.streaming
Class XMLWriterFactory
java.lang.Object
com.sun.xml.rpc.streaming.XMLWriterFactory
- Direct Known Subclasses:
FastInfosetWriterFactoryImpl
,PrettyPrintingXMLWriterFactoryImpl
,XMLWriterFactoryImpl
Define a factory API to enable pluggable XMLWriter implementations.
- Author:
- JAX-RPC Development Team
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract XMLWriter
createXMLWriter
(OutputStream stream) Obtain an XMLWriter on the given OutputStream using the default encoding and XML declaration settings.abstract XMLWriter
createXMLWriter
(OutputStream stream, String encoding) Obtain an XMLWriter on the given OutputStream using the given encoding and the default XML declaration settings.abstract XMLWriter
createXMLWriter
(OutputStream stream, String encoding, boolean declare) Obtain an XMLWriter on the given OutputStream using the given encoding and the given XML declaration settings.static XMLWriterFactory
Obtain an instance of a factory.
-
Constructor Details
-
XMLWriterFactory
protected XMLWriterFactory()
-
-
Method Details
-
newInstance
Obtain an instance of a factory. Since factories are stateless, only one copy of a factory exists and is returned to the application each time this method is called. The implementation class to be used can be overridden by setting the com.sun.xml.rpc.streaming.XMLWriterFactory system property. -
createXMLWriter
Obtain an XMLWriter on the given OutputStream using the default encoding and XML declaration settings. -
createXMLWriter
Obtain an XMLWriter on the given OutputStream using the given encoding and the default XML declaration settings. -
createXMLWriter
Obtain an XMLWriter on the given OutputStream using the given encoding and the given XML declaration settings.
-