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.
methods must be called before serializing a document.
using the writer as the output character stream. If this
method is used, the encoding property will be ignored.
using the output byte stream and the encoding specified in the
java.io.UnsupportedEncodingException - The specified encoding is