Package com.io7m.smfj.validation.api
Interface SMFSchemaSerializerProviderType
-
- All Known Implementing Classes:
SMFSchemaSerializerProvider
@ProviderType public interface SMFSchemaSerializerProviderTypeThe type of schema serializer providers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SMFSchemaSerializerTypeschemaSerializerCreate(SMFSchemaVersion version, java.nio.file.Path path, java.io.OutputStream stream)java.util.SortedSet<SMFSchemaVersion>schemaSupportedVersions()
-
-
-
Method Detail
-
schemaSupportedVersions
java.util.SortedSet<SMFSchemaVersion> schemaSupportedVersions()
- Returns:
- The set of supported schema language versions
-
schemaSerializerCreate
SMFSchemaSerializerType schemaSerializerCreate(SMFSchemaVersion version, java.nio.file.Path path, java.io.OutputStream stream)
- Parameters:
version- The schema versionpath- The path referred to by the output stream, for diagnostic messagesstream- An output stream- Returns:
- A new serializer for the version
- Throws:
java.lang.UnsupportedOperationException- If the given version is not supported
-
-