org.apache.xalan.serialize
Class SerializerFactory

java.lang.Object
  extended by org.apache.xalan.serialize.SerializerFactory

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

public abstract class SerializerFactory
extends java.lang.Object

Factory for creating serializers.


Nested Class Summary
private static class SerializerFactory.DOMSerializerWrapper
          Deprecated. This class just wraps a new DOMSerializer with an old style one for migration purposes.
private static class SerializerFactory.SerializerWrapper
          Deprecated.  
 
Constructor Summary
private SerializerFactory()
          Deprecated.  
 
Method Summary
static Serializer getSerializer(java.util.Properties format)
          Deprecated. Use org.apache.xml.serializer.SerializerFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializerFactory

private SerializerFactory()
Deprecated. 
Method Detail

getSerializer

public static Serializer getSerializer(java.util.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:
java.lang.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