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 BaseJsonValidator
BaseJsonValidator.JsonNodePathJsonPath, BaseJsonValidator.JsonNodePathJsonPointer, BaseJsonValidator.JsonNodePathLegacy -
Field Summary
FieldsFields inherited from class BaseJsonValidator
schemaNode, suppressSubSchemaRetrieval, validationContextFields inherited from class 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 booleanisAssertionsEnabled(ExecutionContext executionContext) protected booleanprotected booleanisFormatAssertionVocabularyEnabled(SpecVersion.VersionFlag specification, Map<String, Boolean> vocabularies) Methods inherited from class BaseJsonValidator
atRoot, checkDiscriminatorMatch, collectAnnotations, collectAnnotations, debug, equals, fetchSubSchemaNode, getEvaluationParentSchema, getEvaluationPath, getKeyword, getNodeFieldType, getParentSchema, getSchemaLocation, getSchemaNode, hasAdjacentKeywordInEvaluationPath, message, preloadJsonSchemas, putAnnotation, registerAndMergeDiscriminator, toString, validateMethods inherited from class ValidationMessageHandler
getErrorMessage, getErrorMessageType, getMessageNodeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface 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
-