|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xml.serialize.SerializerFactory
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
Field Summary | |
static java.lang.String |
FactoriesProperty
|
Constructor Summary | |
SerializerFactory()
|
Method Summary | |
static SerializerFactory |
getSerializerFactory(java.lang.String method)
Register a serializer factory, keyed by the given method string. |
protected abstract java.lang.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(java.io.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. |
abstract Serializer |
makeSerializer(java.io.Writer writer,
OutputFormat format)
Create a new serializer, based on the OutputFormat and
using the writer as the output character stream. |
static void |
registerSerializerFactory(SerializerFactory factory)
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 java.lang.String FactoriesProperty
Constructor Detail |
public SerializerFactory()
Method Detail |
public static void registerSerializerFactory(SerializerFactory factory)
public static SerializerFactory getSerializerFactory(java.lang.String method)
protected abstract java.lang.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(java.io.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(java.io.OutputStream output, OutputFormat format) throws java.io.UnsupportedEncodingException
OutputFormat
and
using the output byte stream and the encoding specified in the
output format.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |