Class ScopeValidator

java.lang.Object
com.networknt.schema.BaseJsonValidator
org.apache.unomi.schema.keyword.ScopeValidator
All Implemented Interfaces:
com.networknt.schema.JsonValidator, com.networknt.schema.walk.JsonSchemaWalker

public class ScopeValidator extends com.networknt.schema.BaseJsonValidator implements com.networknt.schema.JsonValidator
  • Field Summary

    Fields inherited from class com.networknt.schema.BaseJsonValidator

    applyDefaultsStrategy, failFast, parentSchema, schemaNode, schemaPath, suppressSubSchemaRetrieval, validationContext
  • Constructor Summary

    Constructors
    Constructor
    Description
    ScopeValidator(String schemaPath, com.fasterxml.jackson.databind.JsonNode schemaNode, com.networknt.schema.JsonSchema parentSchema, com.networknt.schema.ValidationContext validationContext, ScopeService scopeService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<com.networknt.schema.ValidationMessage>
    validate(com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.JsonNode rootNode, String at)
     

    Methods inherited from class com.networknt.schema.BaseJsonValidator

    atPath, atPath, atRoot, buildValidationMessage, checkDiscriminatorMatch, constructValidationMessage, debug, equals, fetchSubSchemaNode, getErrorMessageType, getNodeFieldType, getParentSchema, getPathType, getSchemaNode, getSchemaPath, getValidatorType, greaterThan, isPartOfOneOfMultipleType, lessThan, parseErrorCode, preloadJsonSchemas, registerAndMergeDiscriminator, updateValidatorType, validate, walk

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.networknt.schema.JsonValidator

    preloadJsonSchema, validate, walk
  • Constructor Details

    • ScopeValidator

      public ScopeValidator(String schemaPath, com.fasterxml.jackson.databind.JsonNode schemaNode, com.networknt.schema.JsonSchema parentSchema, com.networknt.schema.ValidationContext validationContext, ScopeService scopeService)
  • Method Details

    • validate

      public Set<com.networknt.schema.ValidationMessage> validate(com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.JsonNode rootNode, String at)
      Specified by:
      validate in interface com.networknt.schema.JsonValidator