Package com.networknt.schema.format
Class BaseFormatJsonValidator
java.lang.Object
com.networknt.schema.ValidationMessageHandler
com.networknt.schema.BaseJsonValidator
com.networknt.schema.format.BaseFormatJsonValidator
- All Implemented Interfaces:
JsonValidator
,JsonSchemaWalker
- Direct Known Subclasses:
FormatValidator
-
Nested Class Summary
Nested classes/interfaces inherited from class com.networknt.schema.BaseJsonValidator
BaseJsonValidator.JsonNodePathJsonPath, BaseJsonValidator.JsonNodePathJsonPointer, BaseJsonValidator.JsonNodePathLegacy
-
Field Summary
FieldsFields inherited from class com.networknt.schema.BaseJsonValidator
schemaNode, suppressSubSchemaRetrieval, validationContext
Fields inherited from class com.networknt.schema.ValidationMessageHandler
errorMessage, errorMessageKeyword, errorMessageType, evaluationParentSchema, evaluationPath, keyword, messageSource, parentSchema, schemaLocation
-
Constructor Summary
ConstructorsConstructorDescriptionBaseFormatJsonValidator
(SchemaLocation schemaLocation, JsonNodePath evaluationPath, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema, ErrorMessageType errorMessageType, Keyword keyword, ValidationContext validationContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isAssertionsEnabled
(ExecutionContext executionContext) protected boolean
protected boolean
isFormatAssertionVocabularyEnabled
(SpecVersion.VersionFlag specification, Map<String, Boolean> vocabularies) Methods inherited from class com.networknt.schema.BaseJsonValidator
atRoot, checkDiscriminatorMatch, collectAnnotations, collectAnnotations, debug, equals, fetchSubSchemaNode, getEvaluationParentSchema, getEvaluationPath, getKeyword, getNodeFieldType, getParentSchema, getSchemaLocation, getSchemaNode, hasAdjacentKeywordInEvaluationPath, message, preloadJsonSchemas, putAnnotation, registerAndMergeDiscriminator, toString, validate
Methods inherited from class com.networknt.schema.ValidationMessageHandler
getErrorMessage, getErrorMessageType, getMessageNode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.networknt.schema.JsonValidator
preloadJsonSchema, validate, walk
-
Field Details
-
assertionsEnabled
protected final boolean assertionsEnabled
-
-
Constructor Details
-
BaseFormatJsonValidator
public BaseFormatJsonValidator(SchemaLocation schemaLocation, JsonNodePath evaluationPath, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema, ErrorMessageType errorMessageType, Keyword keyword, ValidationContext validationContext)
-
-
Method Details
-
isFormatAssertionVocabularyEnabled
protected boolean isFormatAssertionVocabularyEnabled() -
isFormatAssertionVocabularyEnabled
protected boolean isFormatAssertionVocabularyEnabled(SpecVersion.VersionFlag specification, Map<String, Boolean> vocabularies) -
isAssertionsEnabled
-