Uses of Class
com.networknt.schema.dialect.Dialect.Builder
Packages that use Dialect.Builder
-
Uses of Dialect.Builder in com.networknt.schema.dialect
Methods in com.networknt.schema.dialect that return Dialect.BuilderModifier and TypeMethodDescriptionstatic Dialect.BuilderCreate a builder.static Dialect.BuilderCreate a builder without keywords or formats.static Dialect.BuilderCreate a builder.Adds the format.Dialect.Builder.formatKeywordFactory(Dialect.FormatKeywordFactory formatKeywordFactory) Sets the format keyword factory.Dialect.Builder.formats(Collection<? extends Format> formats) Adds the formats.Customize the formats.Sets the id keyword.Adds the keyword.Dialect.Builder.keywords(Collection<? extends Keyword> keywords) Adds the keywords.Customize the keywords.protected Dialect.BuilderAbstractDialectRegistry.loadDialectBuilder(String iri, SchemaRegistry schemaFactory) Dialect.Builder.specificationVersion(SpecificationVersion specification) Sets the specification version.Dialect.Builder.unknownKeywordFactory(KeywordFactory unknownKeywordFactory) Sets the keyword factory for handling unknown keywords.Dialect.Builder.vocabularies(Consumer<Map<String, Boolean>> customizer) Customize the vocabularies.Dialect.Builder.vocabularies(Map<String, Boolean> vocabularies) Adds the vocabularies.Dialect.Builder.vocabulary(String vocabulary) Adds a required vocabulary.Dialect.Builder.vocabulary(String vocabulary, boolean required) Adds a vocabulary.Dialect.Builder.vocabularyRegistry(VocabularyRegistry vocabularyRegistry) Sets the vocabulary registry for handling custom vocabularies.