Interface ValidationUtilAccess
@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface ValidationUtilAccess
Validation Utilities.
- Since:
- 25
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validateResources
(Iterator<URL> resourcesIterator, boolean validateOnlyXMLResources, ValidatorProblemCollector problemsCollector) Validate a set of resources.void
validateResources
(Iterator<URL> resourcesIterator, Function<URL, String> contentProvider, boolean validateOnlyXMLResources, ValidatorProblemCollector problemsCollector) Validate a set of resources.
-
Method Details
-
validateResources
void validateResources(Iterator<URL> resourcesIterator, boolean validateOnlyXMLResources, ValidatorProblemCollector problemsCollector) Validate a set of resources.- Parameters:
resourcesIterator
- Iterator over the resources which need to be validated. Nevernull
.validateOnlyXMLResources
-true
to validate only XML resources.problemsCollector
- The problems collector. Nevernull
.
-
validateResources
void validateResources(Iterator<URL> resourcesIterator, Function<URL, String> contentProvider, boolean validateOnlyXMLResources, ValidatorProblemCollector problemsCollector) Validate a set of resources.- Parameters:
resourcesIterator
- Iterator over the resources which need to be validated. Nevernull
.contentProvider
- Provides content to validate for a certain URL.validateOnlyXMLResources
-true
to validate only XML resources.problemsCollector
- The problems collector. Nevernull
.- Since:
- 27.0
**************************************
EXPERIMENTAL - Subject to change
**************************************
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
-