Interface ValidationUtilAccess


@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface ValidationUtilAccess
Validation Utilities.
Since:
25
  • 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. Never null.
      validateOnlyXMLResources - true to validate only XML resources.
      problemsCollector - The problems collector. Never null.
    • 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. Never null.
      contentProvider - Provides content to validate for a certain URL.
      validateOnlyXMLResources - true to validate only XML resources.
      problemsCollector - The problems collector. Never null.
      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.