org.apache.xmlrpc.serializer

Class DefaultXMLWriterFactory

public class DefaultXMLWriterFactory extends Object implements XmlWriterFactory

The default implementation of {@link org.apache.xmlrpc.serializer.XmlWriterFactory} tests, whether the {@link org.apache.xmlrpc.serializer.CharSetXmlWriterFactory} is usable. This is the case, when running in Java 1.4 or later. If so, this factory is used. Otherwise, the {@link org.apache.xmlrpc.serializer.BaseXmlWriterFactory} is used as a fallback.
Constructor Summary
DefaultXMLWriterFactory()
Creates a new instance.
Method Summary
ContentHandlergetXmlWriter(XmlRpcStreamConfig pConfig, OutputStream pStream)

Constructor Detail

DefaultXMLWriterFactory

public DefaultXMLWriterFactory()
Creates a new instance.

Method Detail

getXmlWriter

public ContentHandler getXmlWriter(XmlRpcStreamConfig pConfig, OutputStream pStream)
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.