org.apache.xmlrpc.serializer
Class BaseXmlWriterFactory
java.lang.Objectorg.apache.xmlrpc.serializer.BaseXmlWriterFactory
- XmlWriterFactory
public class BaseXmlWriterFactory
extends java.lang.Object
The default instance of
XmlWriterFactory creates
instances of
org.apache.ws.commons.serialize.XMLWriterImpl.
This works for any Java version since 1.2
getXmlWriter
public ContentHandler getXmlWriter(XmlRpcStreamConfig pConfig,
OutputStream pStream)
throws XmlRpcExceptionCreates a new instance of ContentHandler,
writing to the given java.io.OutputStream.
- getXmlWriter in interface XmlWriterFactory
pConfig - The request or response configuration.pStream - The destination stream.
- A SAX handler, typically an instance of
XMLWriter.
newXmlWriter
protected XMLWriter newXmlWriter()
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.