Package org.apache.xalan.serialize
Class SerializerFactory
- java.lang.Object
-
- org.apache.xalan.serialize.SerializerFactory
-
public abstract class SerializerFactory extends java.lang.Object
Deprecated.The new class to use is org.apache.xml.serializer.SerializerFactoryFactory for creating serializers.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Serializer
getSerializer(java.util.Properties format)
Deprecated.Use org.apache.xml.serializer.SerializerFactory
-
-
-
Method Detail
-
getSerializer
public static Serializer getSerializer(java.util.Properties format)
Deprecated.Use org.apache.xml.serializer.SerializerFactoryReturns 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 seeMethod
.- 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 foundWrappedRuntimeException
- (apparently -sc) if an exception is thrown while trying to find serializer
-
-