org.apache.xmlrpc.serializer
Interface XmlWriterFactory
- All Known Implementing Classes:
- BaseXmlWriterFactory, CharSetXmlWriterFactory, DefaultXMLWriterFactory
public interface XmlWriterFactory
This factory is responsible for creating instances of
org.apache.ws.commons.serialize.XMLWriter.
getXmlWriter
ContentHandler getXmlWriter(XmlRpcStreamConfig pConfig,
OutputStream pStream)
throws XmlRpcException
- Creates a new instance of
ContentHandler,
writing to the given OutputStream.
- 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.
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.