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(java.lang.String validatedResourceType,
java.lang.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(java.lang.String resourceType,
java.lang.String resourcePath,
boolean considerResourceSuperTypeModels)
A validation model for the given resourceType at the given resourcePath
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ValidationModel> |
ValidationModelProvider.getValidationModels(java.lang.String relativeResourceType)
Retrieves the models responsible for validating the given resourceType.
|
Copyright © 2018 The Apache Software Foundation. All rights reserved.