public class PdfUA2AnnotationChecker extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PdfUA2AnnotationChecker.PdfUA2AnnotationHandler
Handler for checking annotation elements in the tag tree.
|
| Constructor and Description |
|---|
PdfUA2AnnotationChecker()
Creates a new instance of the
PdfUA2AnnotationChecker. |
| Modifier and Type | Method and Description |
|---|---|
void |
checkAllAnnotations(PdfDocument pdfDocument)
Checks PDF/UA-2 compliance of the annotations.
|
static void |
checkAnnotation(PdfDictionary annotation,
PdfUAValidationContext context)
Deprecated.
|
static void |
checkAnnotations(PdfDocument pdfDocument)
Deprecated.
Use
checkAllAnnotations(PdfDocument) instead. |
protected void |
checkRequiredContentsEntry(PdfName subtype,
PdfDictionary annotation)
Checks the PDF/UA-2 requirements related to the Contents entry for specific annotation types.
|
void |
checkSingleAnnotation(PdfDictionary annotation,
PdfUAValidationContext context)
Checks PDF/UA-2 compliance of the annotation.
|
public PdfUA2AnnotationChecker()
PdfUA2AnnotationChecker.@Deprecated public static void checkAnnotations(PdfDocument pdfDocument)
checkAllAnnotations(PdfDocument) instead.pdfDocument - PdfDocument to check annotations for@Deprecated public static void checkAnnotation(PdfDictionary annotation, PdfUAValidationContext context)
checkSingleAnnotation(PdfDictionary, PdfUAValidationContext) instead.annotation - the annotation dictionary to checkcontext - PdfUAValidationContext used to find the structure node enclosing the annotation
using its StructParent valuepublic void checkAllAnnotations(PdfDocument pdfDocument)
pdfDocument - PdfDocument to check annotations forpublic void checkSingleAnnotation(PdfDictionary annotation, PdfUAValidationContext context)
annotation - the annotation dictionary to checkcontext - PdfUAValidationContext used to find the structure node enclosing the annotation
using its StructParent valueprotected void checkRequiredContentsEntry(PdfName subtype, PdfDictionary annotation)
subtype - the annotation subtypeannotation - the annotation dictionaryCopyright © 1998–2026 Apryse Group NV. All rights reserved.