| Package | Description | 
|---|---|
| org.apache.sling.validation | |
| org.apache.sling.validation.spi | 
| Modifier and Type | Method and Description | 
|---|---|
| ValidationResult | ValidationService. validate(Resource resource,
        ValidationModel model)Validates a  Resourceusing a specificValidationModel. | 
| ValidationResult | ValidationService. validate(ValueMap valueMap,
        ValidationModel model) | 
| ValidationResult | ValidationService. validateResourceRecursively(Resource resource,
                           boolean enforceValidation,
                           java.util.function.Predicate<Resource> filter,
                           boolean considerResourceSuperTypeModels)Validates a  Resourceand all child resources recursively by traversing through the resource tree starting from the given resource. | 
| Modifier and Type | Method and Description | 
|---|---|
| ValidationResult | Validator. validate(T data,
        ValidatorContext context,
        ValueMap arguments)Validates the  dataand/or thevalueMapaccording to the internal constraints of this validator. | 
Copyright © 2018 The Apache Software Foundation. All rights reserved.