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.
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 Summary
Modifier and TypeMethodDescriptiongetDialect(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 Details
-
getDialect
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
-