Class DefaultXMLWriterFactory

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.xml.sax.ContentHandler getXmlWriter​(XmlRpcStreamConfig pConfig, java.io.OutputStream pStream)
      Creates a new instance of ContentHandler, writing to the given OutputStream.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultXMLWriterFactory

        public DefaultXMLWriterFactory()
        Creates a new instance.
    • Method Detail

      • getXmlWriter

        public org.xml.sax.ContentHandler getXmlWriter​(XmlRpcStreamConfig pConfig,
                                                       java.io.OutputStream pStream)
                                                throws XmlRpcException
        Description copied from interface: XmlWriterFactory
        Creates a new instance of ContentHandler, writing to the given OutputStream.
        Specified by:
        getXmlWriter in interface XmlWriterFactory
        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.