org.apache.xml.serialize
public abstract class SerializerFactory extends Object
Version: $Revision: 1.10 $ $Date: 2004/02/24 23:34:03 $
| Field Summary | |
|---|---|
| static String | FactoriesProperty |
| Method Summary | |
|---|---|
| static SerializerFactory | getSerializerFactory(String method)
Register a serializer factory, keyed by the given
method string. |
| protected abstract String | getSupportedMethod()
Returns the method supported by this factory and used to register
the factory. |
| abstract Serializer | makeSerializer(OutputFormat format)
Create a new serializer based on the OutputFormat.
|
| abstract Serializer | makeSerializer(Writer writer, OutputFormat format)
Create a new serializer, based on the OutputFormat and
using the writer as the output character stream. |
| abstract Serializer | makeSerializer(OutputStream output, OutputFormat format)
Create a new serializer, based on the OutputFormat and
using the output byte stream and the encoding specified in the
output format.
|
| static void | registerSerializerFactory(SerializerFactory factory)
Register a serializer factory, keyed by the given
method string. |
Throws: UnsupportedEncodingException The specified encoding is not supported