Class PdfUA2AnnotationChecker
java.lang.Object
com.itextpdf.pdfua.checkers.utils.ua2.PdfUA2AnnotationChecker
Class that provides methods for checking PDF/UA-2 compliance of annotations.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Handler for checking annotation elements in the tag tree. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkAnnotation
(PdfDictionary annotation, PdfUAValidationContext context) Checks PDF/UA-2 compliance of the annotation.static void
checkAnnotations
(PdfDocument pdfDocument) Checks PDF/UA-2 compliance of the annotations.
-
Method Details
-
checkAnnotations
Checks PDF/UA-2 compliance of the annotations.- Parameters:
-
pdfDocument
-PdfDocument
to check annotations for
-
checkAnnotation
Checks PDF/UA-2 compliance of the annotation.- Parameters:
-
annotation
- the annotation dictionary to check -
context
-PdfUAValidationContext
used to find the structure node enclosing the annotation using itsStructParent
value
-