org.apache.xml.serializer
Class SerializerFactory
java.lang.Object
org.apache.xml.serializer.SerializerFactory
public abstract class SerializerFactory
extends java.lang.Object
Factory for creating serializers.
getSerializer
public static Serializer getSerializer(Properties format)
Returns a serializer for the specified output method.
If no implementation exists that supports the specified output method
an exception of some type will be thrown.
For a list of the default output methods see
Method
.
format
- The output format, minimally the "method" property must be set.
- A suitable serializer.
Copyright B) 2004 Apache XML Project. All Rights Reserved.