com.pdfunit.validators

## Class MultiDocumentVersionValidator

- java.lang.Object
- - com.pdfunit.validators.MultiDocumentVersionValidator

-     @DoNotObfuscate
      public final class MultiDocumentVersionValidator
      extends java.lang.Object

  This class validates the version of a given collection of PDF documents.
  Since:
    2016.05
  Author:
    Carsten Siedentop, March 2016
  See Also:
    `VersionValidator`

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `MultiDocumentVersionValidator(MultiDocumentValidator backReference)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `MultiDocumentVersionValidator` | `hasVersion()` This method checks that each document of the given set of PDF documents has a version.
    `void` | `matching(PDFVersion expectedVersion)` This method checks that each PDF document has the expected PDF version.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MultiDocumentVersionValidator

          protected MultiDocumentVersionValidator(MultiDocumentValidator backReference)

  - ### Method Detail

    - #### hasVersion

          public MultiDocumentVersionValidator hasVersion()

      This method checks that each document of the given set of PDF documents has a version.

    - #### matching

          @Guarded
          public void matching(PDFVersion expectedVersion)

      This method checks that each PDF document has the expected PDF version.

Copyright (C) PDFUnit.com. See here for license.