Class FormatXMLSPISerializerProvider
- java.lang.Object
-
- com.io7m.coffeepick.runtime.format.xml.FormatXMLSPISerializerProvider
-
- All Implemented Interfaces:
SPISerializerProviderType
public final class FormatXMLSPISerializerProvider extends java.lang.Object implements SPISerializerProviderType
An XML format provider.
-
-
Constructor Summary
Constructors Constructor Description FormatXMLSPISerializerProvider()Construct a provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SPISerializerTypeserializerCreate(java.io.OutputStream output)FormatDescriptionserializerFormatSupported()java.util.SortedSet<FormatVersion>serializerFormatVersionsSupported()java.lang.StringserializerName()
-
-
-
Method Detail
-
serializerFormatSupported
public FormatDescription serializerFormatSupported()
- Specified by:
serializerFormatSupportedin interfaceSPISerializerProviderType- Returns:
- The format that this provider supports
-
serializerFormatVersionsSupported
public java.util.SortedSet<FormatVersion> serializerFormatVersionsSupported()
- Specified by:
serializerFormatVersionsSupportedin interfaceSPISerializerProviderType- Returns:
- The supported versions of the format
-
serializerName
public java.lang.String serializerName()
- Specified by:
serializerNamein interfaceSPISerializerProviderType- Returns:
- The name of this provider
-
serializerCreate
public SPISerializerType serializerCreate(java.io.OutputStream output)
- Specified by:
serializerCreatein interfaceSPISerializerProviderType- Parameters:
output- The output stream- Returns:
- A new serializer for the format
-
-