com.pdfunit.validators

## Class VersionValidator

- java.lang.Object
- - com.pdfunit.validators.AbstractValidator
  - - com.pdfunit.validators.VersionValidator

-     @DoNotObfuscate
      public final class VersionValidator
      extends com.pdfunit.validators.AbstractValidator

  This class validates the version of a PDF document.
  Since:
    2016.05
  Author:
    Carsten Siedentop, January 2016

- - ### Field Summary

    - ### Fields inherited from class com.pdfunit.validators.AbstractValidator

      `testDocument`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `VersionValidator(DocumentValidator documentValidator)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `VersionValidator` | `greaterThan(PDFVersion lowerLimitExclusive)` This method does what the name suggests.
    `VersionValidator` | `lessThan(PDFVersion upperLimitExclusive)` This method does what the name suggests.
    `VersionValidator` | `matching(PDFVersion expectedVersion)` This method does what the name suggests.

    - ### Methods inherited from class com.pdfunit.validators.AbstractValidator

      `closeDocument, equals, getDocument, hashCode`

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

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

- - ### Constructor Detail

    - #### VersionValidator

          protected VersionValidator(DocumentValidator documentValidator)

  - ### Method Detail

    - #### matching

          @Guarded
          public VersionValidator matching(PDFVersion expectedVersion)

      This method does what the name suggests.

    - #### greaterThan

          @Guarded
          public VersionValidator greaterThan(PDFVersion lowerLimitExclusive)

      This method does what the name suggests.

    - #### lessThan

          @Guarded
          public VersionValidator lessThan(PDFVersion upperLimitExclusive)

      This method does what the name suggests.

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