com.io7m.smfj.serializer.api

## Interface SMFSerializerProviderType

- All Known Implementing Classes:
    SMFFormatBinary, SMFFormatText

      public interface SMFSerializerProviderType

  The type of serializer providers.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `SMFSerializerType` | `serializerCreate(SMFFormatVersion version, URI uri, OutputStream stream)`
    `SMFFormatDescription` | `serializerFormat()`
    `javaslang.collection.SortedSet<SMFFormatVersion>` | `serializerSupportedVersions()`

- - ### Method Detail

    - #### serializerFormat

          SMFFormatDescription serializerFormat()

      Returns:
        The format that this provider supports

    - #### serializerSupportedVersions

          javaslang.collection.SortedSet<SMFFormatVersion> serializerSupportedVersions()

      Returns:
        The supported versions of the format

    - #### serializerCreate

          SMFSerializerType serializerCreate(SMFFormatVersion version,
                                             URI uri,
                                             OutputStream stream)
                                      throws UnsupportedOperationException

      Parameters:
        `version` - The format version
        `uri` - The URI referred to by the output stream, for diagnostic messages
        `stream` - An output stream
      Returns:
        A new serializer for the format
      Throws:
        `UnsupportedOperationException` - If the given version is not supported

Copyright © 2017 <code@io7m.com> http://io7m.com