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(org.apache.sling.api.resource.Resource resource,
ValidationModel model)
Validates a
Resource using a specific ValidationModel . |
ValidationResult |
ValidationService.validate(org.apache.sling.api.resource.ValueMap valueMap,
ValidationModel model)
|
ValidationResult |
ValidationService.validateResourceRecursively(org.apache.sling.api.resource.Resource resource,
boolean enforceValidation,
Predicate<org.apache.sling.api.resource.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,
org.apache.sling.api.resource.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 © 2007–2017 The Apache Software Foundation. All rights reserved.