|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.serialize.SerializerFactory
public abstract class SerializerFactory
Field Summary | |
---|---|
static java.lang.String |
FactoriesProperty
Deprecated. |
Constructor Summary | |
---|---|
SerializerFactory()
Deprecated. |
Method Summary | |
---|---|
static SerializerFactory |
getSerializerFactory(java.lang.String method)
Deprecated. Register a serializer factory, keyed by the given method string. |
abstract Serializer |
makeSerializer(OutputFormat format)
Deprecated. Create a new serializer based on the OutputFormat . |
abstract Serializer |
makeSerializer(java.io.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(java.io.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 |
---|
equals, 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)
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.
java.io.UnsupportedEncodingException
- The specified encoding is
not supported
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |