org.apache.xalan.serialize

Class SerializerFactory

public abstract class SerializerFactory extends Object

Deprecated: The new class to use is org.apache.xml.serializer.SerializerFactory

Factory for creating serializers.
Method Summary
static SerializergetSerializer(Properties format)
Returns a serializer for the specified output method.

Method Detail

getSerializer

public static Serializer getSerializer(Properties format)

Deprecated: Use org.apache.xml.serializer.SerializerFactory

Returns a serializer for the specified output method. Returns null if no implementation exists that supports the specified output method. For a list of the default output methods see Method.

Parameters: format The output format

Returns: A suitable serializer, or null

Throws: IllegalArgumentException (apparently -sc) if method is null or an appropriate serializer can't be found WrappedRuntimeException (apparently -sc) if an exception is thrown while trying to find serializer

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