Interface SerializationWriterFactory
- All Known Implementing Classes:
BackingStoreSerializationWriterProxyFactory,SerializationWriterFactoryRegistry,SerializationWriterProxyFactory
public interface SerializationWriterFactory
Defines the contract for a factory that creates SerializationWriter instances.
-
Method Summary
Modifier and TypeMethodDescriptiongetSerializationWriter(String contentType) Creates a new SerializationWriter instance for the given content type.Gets the content type this factory creates serialization writers for.
-
Method Details
-
getValidContentType
Gets the content type this factory creates serialization writers for.- Returns:
- the content type this factory creates serialization writers for.
-
getSerializationWriter
Creates a new SerializationWriter instance for the given content type.- Parameters:
contentType- the content type to create a serialization writer for.- Returns:
- a new SerializationWriter instance for the given content type.
-