Package com.networknt.schema
Class Vocabularies
- java.lang.Object
-
- com.networknt.schema.Vocabularies
-
public class Vocabularies extends Object
Vocabularies.
-
-
Constructor Summary
Constructors Constructor Description Vocabularies()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>getKeywords(String vocabulary)Gets the keywords associated with a vocabulary.static StringgetVocabulary(SpecVersion.VersionFlag specification, String vocabulary)Gets the vocabulary IRI.
-
-
-
Method Detail
-
getKeywords
public static List<String> getKeywords(String vocabulary)
Gets the keywords associated with a vocabulary.- Parameters:
vocabulary- the vocabulary- Returns:
- the keywords
-
getVocabulary
public static String getVocabulary(SpecVersion.VersionFlag specification, String vocabulary)
Gets the vocabulary IRI.- Parameters:
specification- the specificationvocabulary- the vocabulary- Returns:
- the vocabulary IRI
-
-