Package | Description |
---|---|
org.apache.sling.validation | |
org.apache.sling.validation.spi | |
org.apache.sling.validation.spi.support |
Modifier and Type | Method and Description |
---|---|
ValidationResult |
ValidationService.validate(Resource resource,
ValidationModel model)
Validates a
Resource using a specific ValidationModel . |
ValidationResult |
ValidationService.validate(ValueMap valueMap,
ValidationModel model)
|
ValidationResult |
ValidationService.validateResourceRecursively(Resource resource,
boolean enforceValidation,
java.util.function.Predicate<Resource> filter,
boolean considerResourceSuperTypeModels)
Validates a
Resource and 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
data and/or the valueMap according to the internal constraints of this validator. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultValidationResult
Default implementation of
ValidationResult wrapping a list of ValidationFailure s. |
Copyright © 2018 The Apache Software Foundation. All rights reserved.