public class BaseXmlWriterFactory extends Object implements XmlWriterFactory
XmlWriterFactory
creates
instances of XMLWriterImpl
.
This works for any Java version since 1.2Constructor and Description |
---|
BaseXmlWriterFactory() |
Modifier and Type | Method and Description |
---|---|
ContentHandler |
getXmlWriter(XmlRpcStreamConfig pConfig,
OutputStream pStream)
Creates a new instance of
ContentHandler ,
writing to the given OutputStream . |
protected org.apache.ws.commons.serialize.XMLWriter |
newXmlWriter() |
protected org.apache.ws.commons.serialize.XMLWriter newXmlWriter()
public ContentHandler getXmlWriter(XmlRpcStreamConfig pConfig, OutputStream pStream) throws XmlRpcException
XmlWriterFactory
ContentHandler
,
writing to the given OutputStream
.getXmlWriter
in interface XmlWriterFactory
pConfig
- The request or response configuration.pStream
- The destination stream.XMLWriter
.XmlRpcException
- Creating the handler failed.Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.