org.apache.xml.serializer

Class SerializerFactory


public abstract class SerializerFactory
extends java.lang.Object

Factory for creating serializers.

Method Summary

static Serializer
getSerializer(Properties format)
Returns a serializer for the specified output method.

Method Details

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.

Parameters:
format - The output format, minimally the "method" property must be set.

Returns:
A suitable serializer.


Copyright B) 2004 Apache XML Project. All Rights Reserved.