Google

Xerces 3.1.1 API: Class SerializerFactory
Xerces 3.1.1


Class SerializerFactory

java.lang.Object
  |

public abstract class SerializerFactory
extends java.lang.Object

Version:
$Revision: 1.4 $ $Date: 2000/08/30 18:59:22 $


           
Field Summary
static java.lang.String
 
           
Constructor Summary
 
          Returns the method supported by this factory and used to register the factory.
          Register a serializer factory, keyed by the given method string.
Method Summary

          Register a serializer factory, keyed by the given method string.
protected abstract  java.lang.String


using the output byte stream and the encoding specified in the output format.

using the writer as the output character stream.
static void
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FactoriesProperty

public static final java.lang.String FactoriesProperty
Constructor Detail

SerializerFactory

public SerializerFactory()
Method Detail
registerSerializerFactory
Register a serializer factory, keyed by the given method string.

getSerializerFactory

Register a serializer factory, keyed by the given method string.

getSupportedMethod

protected abstract java.lang.String getSupportedMethod()
Returns the method supported by this factory and used to register the factory. This call is required so factories can be added from a properties file by knowing only the class name. This method is protected, it is only required by this class but must be implemented in derived classes.

makeSerializer
methods must be called before serializing a document.

makeSerializer
using the writer as the output character stream. If this method is used, the encoding property will be ignored.

makeSerializer
                                   throws java.io.UnsupportedEncodingException
using the output byte stream and the encoding specified in the output format.
Throws:
java.io.UnsupportedEncodingException - The specified encoding is not supported

Xerces 3.1.1