Package | Description |
---|---|
org.apache.sling.validation | |
org.apache.sling.validation.model.spi |
Modifier and Type | Method and Description |
---|---|
ValidationModel |
ValidationService.getValidationModel(Resource resource,
boolean considerResourceSuperTypeModels)
Tries to obtain a
ValidationModel that is able to validate the given resource . |
ValidationModel |
ValidationService.getValidationModel(String validatedResourceType,
String resourcePath,
boolean considerResourceSuperTypeModels)
Tries to obtain a
ValidationModel that is able to validate a Resource of type validatedResourceType . |
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)
|
Modifier and Type | Method and Description |
---|---|
ValidationModel |
ValidationModelRetriever.getValidationModel(String resourceType,
String resourcePath,
boolean considerResourceSuperTypeModels)
A validation model for the given resourceType at the given resourcePath
|
Modifier and Type | Method and Description |
---|---|
List<ValidationModel> |
ValidationModelProvider.getValidationModels(String relativeResourceType)
Retrieves the models responsible for validating the given resourceType.
|
Copyright © 2017 The Apache Software Foundation. All rights reserved.