Class DefaultDialectRegistry

All Implemented Interfaces:
DialectRegistry

public class DefaultDialectRegistry extends BasicDialectRegistry
  • Constructor Details

    • DefaultDialectRegistry

      public DefaultDialectRegistry()
    • DefaultDialectRegistry

      public DefaultDialectRegistry(Function<String,Dialect> dialects)
    • DefaultDialectRegistry

      public DefaultDialectRegistry(Dialect dialect)
    • DefaultDialectRegistry

      public DefaultDialectRegistry(Collection<Dialect> dialects)
  • Method Details

    • getDialect

      public Dialect getDialect(String dialectId, SchemaRegistry schemaFactory)
      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.
      Specified by:
      getDialect in interface DialectRegistry
      Overrides:
      getDialect in class BasicDialectRegistry
      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
      schemaFactory - the schema registry to fetch and load unknown dialect's meta-schema
      Returns:
      the dialect
    • getInstance

      public static DefaultDialectRegistry getInstance()