com.io7m.smfj.validation.main

## Class SMFSchemaParserProvider

- java.lang.Object
- - com.io7m.smfj.validation.main.SMFSchemaParserProvider

- All Implemented Interfaces:
    SMFSchemaParserProviderType

      public final class SMFSchemaParserProvider
      extends Object
      implements SMFSchemaParserProviderType

  The default implementation of the `SMFSchemaParserProviderType` interface.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SMFSchemaParserProvider()` Construct a schema parser provider.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SMFSchemaParserType` | `schemaParserCreate(URI path, InputStream stream)`
    `javaslang.collection.SortedSet<SMFSchemaVersion>` | `schemaSupportedVersions()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SMFSchemaParserProvider

          public SMFSchemaParserProvider()

      Construct a schema parser provider.

  - ### Method Detail

    - #### schemaSupportedVersions

          public javaslang.collection.SortedSet<SMFSchemaVersion> schemaSupportedVersions()

      Specified by:
        `schemaSupportedVersions` in interface `SMFSchemaParserProviderType`
      Returns:
        The set of supported schema language versions

    - #### schemaParserCreate

          public SMFSchemaParserType schemaParserCreate(URI path,
                                                        InputStream stream)

      Specified by:
        `schemaParserCreate` in interface `SMFSchemaParserProviderType`
      Parameters:
        `path` - The URI referred to by the input stream, for diagnostic messages
        `stream` - An input stream
      Returns:
        A new parser for the schema

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