Public Member Functions | |
DefaultXMLWriterFactory () | |
ContentHandler | getXmlWriter (XmlRpcStreamConfig pConfig, OutputStream pStream) throws XmlRpcException |
Private Attributes | |
final XmlWriterFactory | factory |
The default implementation of org.apache.xmlrpc.serializer.XmlWriterFactory tests, whether the org.apache.xmlrpc.serializer.CharSetXmlWriterFactory is usable. This is the case, when running in Java 1.4 or later. If so, this factory is used. Otherwise, the org.apache.xmlrpc.serializer.BaseXmlWriterFactory is used as a fallback.
Definition at line 38 of file DefaultXMLWriterFactory.java.
Creates a new instance.
Definition at line 43 of file DefaultXMLWriterFactory.java.
ContentHandler org.apache.xmlrpc.serializer.DefaultXMLWriterFactory.getXmlWriter | ( | XmlRpcStreamConfig | pConfig, |
OutputStream | pStream | ||
) | throws XmlRpcException [inline] |
Creates a new instance of ContentHandler, writing to the given java.io.OutputStream.
pStream | The destination stream. |
pConfig | The request or response configuration. |
XmlRpcException | Creating the handler failed. |
Implements org.apache.xmlrpc.serializer.XmlWriterFactory.
Definition at line 60 of file DefaultXMLWriterFactory.java.
Definition at line 39 of file DefaultXMLWriterFactory.java.