Class BasicDialectRegistry

    • Constructor Detail

      • BasicDialectRegistry

        protected BasicDialectRegistry()
      • BasicDialectRegistry

        public BasicDialectRegistry​(Dialect dialect)
      • BasicDialectRegistry

        public BasicDialectRegistry​(Collection<Dialect> dialects)
    • Method Detail

      • getDialect

        public Dialect getDialect​(String dialectId,
                                  SchemaRegistry schemaRegistry)
        Description copied from interface: DialectRegistry
        Gets the dialect given the dialect id which is the IRI that indicates the meta-schema that can be used to validate the schema conforms to the dialect.
        Parameters:
        dialectId - the dialect id of the dialect which IRI that indicates the meta-schema that can be used to validate the schema conforms to the dialect
        schemaRegistry - the schema registry to fetch and load unknown dialect's meta-schema
        Returns:
        the dialect