| 
 | Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.apache.xml.serialize.SerializerFactory
public abstract class SerializerFactory
| Field Summary | |
|---|---|
| static String | FactoriesPropertyDeprecated. | 
| 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 OutputFormatand
 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 OutputFormatand
 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 | 
|---|
public static final String FactoriesProperty
| Constructor Detail | 
|---|
public SerializerFactory()
| Method Detail | 
|---|
public static void registerSerializerFactory(SerializerFactory factory)
public static SerializerFactory getSerializerFactory(String method)
protected abstract String getSupportedMethod()
public abstract Serializer makeSerializer(OutputFormat format)
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.
public abstract Serializer makeSerializer(Writer writer,
                                          OutputFormat format)
OutputFormat and
 using the writer as the output character stream.  If this
 method is used, the encoding property will be ignored.
public abstract Serializer makeSerializer(OutputStream output,
                                          OutputFormat format)
                                   throws UnsupportedEncodingException
OutputFormat and
 using the output byte stream and the encoding specified in the
 output format.
UnsupportedEncodingException - The specified encoding is
   not supported| 
 | Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||