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 classHandler for checking annotation elements in the tag tree. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckAnnotation(PdfDictionary annotation, PdfUAValidationContext context) Checks PDF/UA-2 compliance of the annotation.static voidcheckAnnotations(PdfDocument pdfDocument) Checks PDF/UA-2 compliance of the annotations.
-
Method Details
-
checkAnnotations
Checks PDF/UA-2 compliance of the annotations.- Parameters:
-
pdfDocument-PdfDocumentto check annotations for
-
checkAnnotation
Checks PDF/UA-2 compliance of the annotation.- Parameters:
-
annotation- the annotation dictionary to check -
context-PdfUAValidationContextused to find the structure node enclosing the annotation using itsStructParentvalue
-