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
Modifier and Type Method Description SPISerializerType
serializerCreate(java.io.OutputStream output)
FormatDescription
serializerFormatSupported()
java.util.SortedSet<FormatVersion>
serializerFormatVersionsSupported()
java.lang.String
serializerName()
-
Constructor Details
-
FormatXMLSPISerializerProvider
public FormatXMLSPISerializerProvider()Construct a provider.
-
-
Method Details
-
serializerFormatSupported
- Specified by:
serializerFormatSupported
in interfaceSPISerializerProviderType
- Returns:
- The format that this provider supports
-
serializerFormatVersionsSupported
- Specified by:
serializerFormatVersionsSupported
in interfaceSPISerializerProviderType
- Returns:
- The supported versions of the format
-
serializerName
public java.lang.String serializerName()- Specified by:
serializerName
in interfaceSPISerializerProviderType
- Returns:
- The name of this provider
-
serializerCreate
- Specified by:
serializerCreate
in interfaceSPISerializerProviderType
- Parameters:
output
- The output stream- Returns:
- A new serializer for the format
-