Package org.apache.xmlrpc.serializer
Interface XmlWriterFactory
-
- All Known Implementing Classes:
BaseXmlWriterFactory
,CharSetXmlWriterFactory
,DefaultXMLWriterFactory
public interface XmlWriterFactory
This factory is responsible for creating instances ofXMLWriter
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.xml.sax.ContentHandler
getXmlWriter(XmlRpcStreamConfig pConfig, java.io.OutputStream pStream)
Creates a new instance ofContentHandler
, writing to the givenOutputStream
.
-
-
-
Method Detail
-
getXmlWriter
org.xml.sax.ContentHandler getXmlWriter(XmlRpcStreamConfig pConfig, java.io.OutputStream pStream) throws XmlRpcException
Creates a new instance ofContentHandler
, writing to the givenOutputStream
.- Parameters:
pStream
- The destination stream.pConfig
- The request or response configuration.- Returns:
- A SAX handler, typically an instance of
XMLWriter
. - Throws:
XmlRpcException
- Creating the handler failed.
-
-