Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.apache.xml.serialize
Class SerializerFactory

    java.lang.Object
      weblogic.apache.xml.serialize.SerializerFactory

Deprecated. 9.2.0.0 Replaced by org.apache.xml.serialize.SerializerFactory.

    public abstract class SerializerFactory

extends Object

Field Summary
`static String` | `FactoriesProperty` Deprecated.

Constructor Summary
`SerializerFactory()` Deprecated.

Method Summary
`static SerializerFactory` | `getSerializerFactory(String method)` Deprecated. Register a serializer factory, keyed by the given method string.
`protected abstract String` | `getSupportedMethod()` Deprecated. Returns the method supported by this factory and used to register the factory.
`abstract Serializer` | `makeSerializer(OutputFormat format)` Deprecated. Create a new serializer based on the `OutputFormat`.
`abstract Serializer` | `makeSerializer(OutputStream output, OutputFormat format)` Deprecated. Create a new serializer, based on the `OutputFormat` and using the output byte stream and the encoding specified in the output format.
`abstract Serializer` | `makeSerializer(Writer writer, OutputFormat format)` Deprecated. Create a new serializer, based on the `OutputFormat` and using the writer as the output character stream.
`static void` | `registerSerializerFactory(SerializerFactory factory)` Deprecated. Register a serializer factory, keyed by the given method string.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### FactoriesProperty

    public static final String FactoriesProperty

  Deprecated.
  See Also:
    Constant Field Values

Constructor Detail

### SerializerFactory

    public SerializerFactory()

  Deprecated.

Method Detail

### registerSerializerFactory

    public static void registerSerializerFactory(SerializerFactory factory)

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

### getSerializerFactory

    public static SerializerFactory getSerializerFactory(String method)

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

### getSupportedMethod

    protected abstract String getSupportedMethod()

  Deprecated.
  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

    public abstract Serializer makeSerializer(OutputFormat format)

  Deprecated.
  Create a new serializer based on the `OutputFormat`. If this method is used to create the serializer, the `Serializer.setOutputByteStream(java.io.OutputStream)` or `Serializer.setOutputCharStream(java.io.Writer)` methods must be called before serializing a document.

### makeSerializer

    public abstract Serializer makeSerializer(Writer writer,
                                              OutputFormat format)

  Deprecated.
  Create a new serializer, based on the `OutputFormat` and using the writer as the output character stream. If this method is used, the encoding property will be ignored.

### makeSerializer

    public abstract Serializer makeSerializer(OutputStream output,
                                              OutputFormat format)
                                       throws UnsupportedEncodingException

  Deprecated.
  Create a new serializer, based on the `OutputFormat` and using the output byte stream and the encoding specified in the output format.

  Throws:
    `UnsupportedEncodingException` - The specified encoding is not supported

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs92 Copyright 2006 BEA Systems Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD