Uses of Interface
com.networknt.schema.Keyword
-
Packages that use Keyword Package Description com.networknt.schema com.networknt.schema.annotation com.networknt.schema.format -
-
Uses of Keyword in com.networknt.schema
Classes in com.networknt.schema that implement Keyword Modifier and Type Class Description class
AbstractKeyword
Abstract keyword.class
AnnotationKeyword
Used for Keywords that have no validation aspect, but are part of the metaschema, where annotations may need to be collected.class
FormatKeyword
Format Keyword.class
NonValidationKeyword
Used for Keywords that have no validation aspect, but are part of the metaschema.class
ValidatorTypeCode
Fields in com.networknt.schema declared as Keyword Modifier and Type Field Description protected Keyword
ValidationMessageHandler. keyword
Fields in com.networknt.schema with type parameters of type Keyword Modifier and Type Field Description private java.util.Map<java.lang.String,Keyword>
JsonMetaSchema.Builder. keywords
private java.util.Map<java.lang.String,Keyword>
JsonMetaSchema. keywords
private java.util.Map<java.lang.String,Keyword>
UnknownKeywordFactory. keywords
private java.util.Set<Keyword>
Vocabulary. keywords
Methods in com.networknt.schema that return Keyword Modifier and Type Method Description Keyword
DisallowUnknownKeywordFactory. getKeyword(java.lang.String value, ValidationContext validationContext)
Keyword
KeywordFactory. getKeyword(java.lang.String value, ValidationContext validationContext)
Gets the keyword given the keyword value.Keyword
UnknownKeywordFactory. getKeyword(java.lang.String value, ValidationContext validationContext)
Methods in com.networknt.schema that return types with arguments of type Keyword Modifier and Type Method Description private java.util.Map<java.lang.String,Keyword>
JsonMetaSchema.Builder. createKeywordsMap(java.util.Map<java.lang.String,Keyword> kwords, java.util.Map<java.lang.String,Format> formats)
java.util.Map<java.lang.String,Keyword>
JsonMetaSchema. getKeywords()
java.util.Set<Keyword>
Vocabulary. getKeywords()
The keywords in the vocabulary.Methods in com.networknt.schema with parameters of type Keyword Modifier and Type Method Description JsonMetaSchema.Builder
JsonMetaSchema.Builder. addKeyword(Keyword keyword)
Deprecated.JsonMetaSchema.Builder
JsonMetaSchema.Builder. keyword(Keyword keyword)
Adds the keyword.Method parameters in com.networknt.schema with type arguments of type Keyword Modifier and Type Method Description JsonMetaSchema.Builder
JsonMetaSchema.Builder. addKeywords(java.util.Collection<? extends Keyword> keywords)
Deprecated.private java.util.Map<java.lang.String,Keyword>
JsonMetaSchema.Builder. createKeywordsMap(java.util.Map<java.lang.String,Keyword> kwords, java.util.Map<java.lang.String,Format> formats)
JsonMetaSchema.Builder
JsonMetaSchema.Builder. keywords(java.util.Collection<? extends Keyword> keywords)
Adds the keywords.JsonMetaSchema.Builder
JsonMetaSchema.Builder. keywords(java.util.function.Consumer<java.util.Map<java.lang.String,Keyword>> customizer)
Customize the keywords.Constructors in com.networknt.schema with parameters of type Keyword Constructor Description AbstractJsonValidator(SchemaLocation schemaLocation, JsonNodePath evaluationPath, Keyword keyword, com.fasterxml.jackson.databind.JsonNode schemaNode)
Constructor.BaseJsonValidator(boolean suppressSubSchemaRetrieval, com.fasterxml.jackson.databind.JsonNode schemaNode, ValidationContext validationContext, ErrorMessageType errorMessageType, java.lang.String errorMessageKeyword, MessageSource messageSource, Keyword keyword, JsonSchema parentSchema, SchemaLocation schemaLocation, JsonNodePath evaluationPath, JsonSchema evaluationParentSchema, java.util.Map<java.lang.String,java.lang.String> errorMessage)
Constructor to create a copy using fields.BaseJsonValidator(SchemaLocation schemaLocation, JsonNodePath evaluationPath, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema, ErrorMessageType errorMessageType, Keyword keyword, ValidationContext validationContext, boolean suppressSubSchemaRetrieval)
FormatValidator(SchemaLocation schemaLocation, JsonNodePath evaluationPath, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema, ValidationContext validationContext, Format format, ErrorMessageType errorMessageType, Keyword keyword)
JsonSchema(java.util.List<JsonValidator> validators, boolean validatorsLoaded, boolean recursiveAnchor, TypeValidator typeValidator, java.lang.String id, boolean suppressSubSchemaRetrieval, com.fasterxml.jackson.databind.JsonNode schemaNode, ValidationContext validationContext, ErrorMessageType errorMessageType, java.lang.String errorMessageKeyword, MessageSource messageSource, Keyword keyword, JsonSchema parentSchema, SchemaLocation schemaLocation, JsonNodePath evaluationPath, JsonSchema evaluationParentSchema, java.util.Map<java.lang.String,java.lang.String> errorMessage)
Constructor to create a copy using fields.ValidationMessageHandler(ErrorMessageType errorMessageType, java.lang.String errorMessageKeyword, MessageSource messageSource, Keyword keyword, JsonSchema parentSchema, SchemaLocation schemaLocation, JsonNodePath evaluationPath)
ValidationMessageHandler(ErrorMessageType errorMessageType, java.lang.String errorMessageKeyword, MessageSource messageSource, Keyword keyword, JsonSchema parentSchema, SchemaLocation schemaLocation, JsonNodePath evaluationPath, JsonSchema evaluationParentSchema, java.util.Map<java.lang.String,java.lang.String> errorMessage)
Constructor to create a copy using fields.Validator(SchemaLocation schemaLocation, JsonNodePath evaluationPath, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema, ValidationContext validationContext, Keyword keyword)
Validator(SchemaLocation schemaLocation, JsonNodePath evaluationPath, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema, ValidationContext validationContext, Keyword keyword)
Vocabulary(java.lang.String iri, Keyword... keywords)
Constructor.Constructor parameters in com.networknt.schema with type arguments of type Keyword Constructor Description JsonMetaSchema(java.lang.String iri, java.lang.String idKeyword, java.util.Map<java.lang.String,Keyword> keywords, java.util.Map<java.lang.String,java.lang.Boolean> vocabularies, SpecVersion.VersionFlag specification, JsonMetaSchema.Builder builder)
-
Uses of Keyword in com.networknt.schema.annotation
Methods in com.networknt.schema.annotation with parameters of type Keyword Modifier and Type Method Description JsonNodeAnnotation.Builder
JsonNodeAnnotation.Builder. keyword(Keyword keyword)
-
Uses of Keyword in com.networknt.schema.format
Constructors in com.networknt.schema.format with parameters of type Keyword Constructor Description BaseFormatJsonValidator(SchemaLocation schemaLocation, JsonNodePath evaluationPath, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema, ErrorMessageType errorMessageType, Keyword keyword, ValidationContext validationContext)
-