Interface SMFSchemaSerializerProviderType

  • All Known Implementing Classes:
    SMFSchemaSerializerProvider

    @ProviderType
    public interface SMFSchemaSerializerProviderType
    The type of schema serializer providers.
    • 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 version
        path - The path referred to by the output stream, for diagnostic messages
        stream - An output stream
        Returns:
        A new serializer for the version
        Throws:
        java.lang.UnsupportedOperationException - If the given version is not supported