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:
DateTimeValidator,FormatValidator
public abstract class BaseFormatJsonValidator extends BaseJsonValidator
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanassertionsEnabled-
Fields inherited from class com.networknt.schema.BaseJsonValidator
applyDefaultsStrategy, schemaNode, suppressSubSchemaRetrieval, validationContext
-
Fields inherited from class com.networknt.schema.ValidationMessageHandler
customErrorMessagesEnabled, errorMessage, errorMessageType, evaluationParentSchema, evaluationPath, failFast, keyword, messageSource, parentSchema, schemaLocation
-
-
Constructor Summary
Constructors Constructor Description BaseFormatJsonValidator(SchemaLocation schemaLocation, JsonNodePath evaluationPath, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema, ValidatorTypeCode validatorType, ValidationContext validationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisAssertionsEnabled(ExecutionContext executionContext)protected booleanisFormatAssertionVocabularyEnabled(SpecVersion.VersionFlag specification, Map<String,Boolean> vocabularies)-
Methods inherited from class com.networknt.schema.BaseJsonValidator
atRoot, checkDiscriminatorMatch, debug, equals, fetchSubSchemaNode, getEvaluationParentSchema, getEvaluationPath, getKeyword, getNodeFieldType, getParentSchema, getSchemaLocation, getSchemaNode, preloadJsonSchemas, registerAndMergeDiscriminator, toString, validate, validate, validate
-
Methods inherited from class com.networknt.schema.ValidationMessageHandler
getErrorCodeKey, getErrorMessage, getErrorMessageType, getMessageNode, isPartOfOneOfMultipleType, message, parseErrorCode, schemaLocationContains, updateErrorMessageType, updateKeyword, updateValidatorType
-
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
-
-
-
-
Constructor Detail
-
BaseFormatJsonValidator
public BaseFormatJsonValidator(SchemaLocation schemaLocation, JsonNodePath evaluationPath, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema, ValidatorTypeCode validatorType, ValidationContext validationContext)
-
-
Method Detail
-
isFormatAssertionVocabularyEnabled
protected boolean isFormatAssertionVocabularyEnabled(SpecVersion.VersionFlag specification, Map<String,Boolean> vocabularies)
-
isAssertionsEnabled
protected boolean isAssertionsEnabled(ExecutionContext executionContext)
-
-