Interface DialectRegistry

  • All Known Implementing Classes:
    AbstractDialectRegistry, BasicDialectRegistry, DefaultDialectRegistry
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface DialectRegistry
    Registry for Dialect that can be retrieved using the dialect id which is the IRI that indicates the meta-schema that can be used to validate the schema conforms to the dialect.
    • Method Detail

      • getDialect

        Dialect getDialect​(String dialectId,
                           SchemaRegistry schemaRegistry)
        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