Package com.networknt.schema.vocabulary
Interface VocabularyRegistry
-
- 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 VocabularyRegistry
Registry forVocabulary.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VocabularygetVocabulary(String id)Gets the vocabulary given the vocabulary id.
-
-
-
Method Detail
-
getVocabulary
Vocabulary getVocabulary(String id)
Gets the vocabulary given the vocabulary id.- Parameters:
id- the vocabulary id which is an iri- Returns:
- the vocabulary
-
-