Package com.networknt.schema.dialect
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 forDialectthat 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DialectgetDialect(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.
-
-
-
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 dialectschemaRegistry- the schema registry to fetch and load unknown dialect's meta-schema- Returns:
- the dialect
-
-