Interface XmlWriterFactory
- All Known Implementing Classes:
BaseXmlWriterFactory, CharSetXmlWriterFactory, DefaultXMLWriterFactory
public interface XmlWriterFactory
This factory is responsible for creating instances of
XMLWriter.-
Method Summary
Modifier and TypeMethodDescriptiongetXmlWriter(XmlRpcStreamConfig pConfig, OutputStream pStream) Creates a new instance ofContentHandler, writing to the givenOutputStream.
-
Method Details
-
getXmlWriter
ContentHandler getXmlWriter(XmlRpcStreamConfig pConfig, OutputStream pStream) throws XmlRpcException Creates a new instance ofContentHandler, writing to the givenOutputStream.- Parameters:
pConfig- The request or response configuration.pStream- The destination stream.- Returns:
- A SAX handler, typically an instance of
XMLWriter. - Throws:
XmlRpcException- Creating the handler failed.
-