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 SPISerializerTypeserializerCreate(java.io.OutputStream output)FormatDescriptionserializerFormatSupported()java.util.SortedSet<FormatVersion>serializerFormatVersionsSupported()java.lang.StringserializerName()
-
Constructor Details
-
FormatXMLSPISerializerProvider
public FormatXMLSPISerializerProvider()Construct a provider.
-
-
Method Details
-
serializerFormatSupported
- Specified by:
serializerFormatSupportedin interfaceSPISerializerProviderType- Returns:
- The format that this provider supports
-
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
- Specified by:
serializerCreatein interfaceSPISerializerProviderType- Parameters:
output- The output stream- Returns:
- A new serializer for the format
-