Package com.sun.xml.rpc.streaming
Class XMLWriterFactoryImpl
- java.lang.Object
-
- com.sun.xml.rpc.streaming.XMLWriterFactory
-
- com.sun.xml.rpc.streaming.XMLWriterFactoryImpl
-
public class XMLWriterFactoryImpl extends XMLWriterFactory
A concrete factory for XMLWriter objects.
By default, writers created by this factory use UTF-8 encoding and write the namespace declaration at the top of each document they produce.
- Author:
- JAX-RPC Development Team
-
-
Constructor Summary
Constructors Constructor Description XMLWriterFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLWriter
createXMLWriter(OutputStream stream)
Obtain an XMLWriter on the given OutputStream using the default encoding and XML declaration settings.XMLWriter
createXMLWriter(OutputStream stream, String encoding)
Obtain an XMLWriter on the given OutputStream using the given encoding and the default XML declaration settings.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.-
Methods inherited from class com.sun.xml.rpc.streaming.XMLWriterFactory
newInstance
-
-
-
-
Method Detail
-
createXMLWriter
public XMLWriter createXMLWriter(OutputStream stream)
Description copied from class:XMLWriterFactory
Obtain an XMLWriter on the given OutputStream using the default encoding and XML declaration settings.- Specified by:
createXMLWriter
in classXMLWriterFactory
-
createXMLWriter
public XMLWriter createXMLWriter(OutputStream stream, String encoding)
Description copied from class:XMLWriterFactory
Obtain an XMLWriter on the given OutputStream using the given encoding and the default XML declaration settings.- Specified by:
createXMLWriter
in classXMLWriterFactory
-
createXMLWriter
public XMLWriter createXMLWriter(OutputStream stream, String encoding, boolean declare)
Description copied from class:XMLWriterFactory
Obtain an XMLWriter on the given OutputStream using the given encoding and the given XML declaration settings.- Specified by:
createXMLWriter
in classXMLWriterFactory
-
-