com.pdfunit.validators

## Class TaggingValidator

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

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

  Validator for tagging information.
  Since:
    2016.05
  Author:
    Carsten Siedentop, March 2016

- - ### Field Summary

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

      `testDocument`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TaggingValidator(DocumentValidator backReference)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `TaggingValidator` | `isTagged()` A tagged PDF contains a node with "/MarkInfo" of type dictionary with an entry "/Marked".
    `TagValueValidator` | `with(java.lang.String tagName)` This method verifies that a tag with the given name exists.

    - ### 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

    - #### TaggingValidator

          public TaggingValidator(DocumentValidator backReference)

  - ### Method Detail

    - #### isTagged

          public TaggingValidator isTagged()

      A tagged PDF contains a node with "/MarkInfo" of type dictionary with an entry "/Marked".

    - #### with

          @Guarded
          public TagValueValidator with(java.lang.String tagName)

      This method verifies that a tag with the given name exists.

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