Class PdfUA2NotesChecker
- java.lang.Object
-
- com.itextpdf.pdfua.checkers.utils.ua2.PdfUA2NotesChecker
-
public final class PdfUA2NotesChecker extends java.lang.Object
Utility class which performs Note and FENote checks according to PDF/UA-2 specification.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PdfUA2NotesChecker.PdfUA2NotesHandler
Handler class that checks Note and FENote tags while traversing the tag tree.
-
Field Summary
Fields Modifier and Type Field Description private PdfUAValidationContext
context
-
Constructor Summary
Constructors Modifier Constructor Description private
PdfUA2NotesChecker(PdfUAValidationContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkStructElement(IStructureNode elem)
Checks if Note and FENote elements are correct according to PDF/UA-2 specification.
-
-
-
Field Detail
-
context
private final PdfUAValidationContext context
-
-
Constructor Detail
-
PdfUA2NotesChecker
private PdfUA2NotesChecker(PdfUAValidationContext context)
-
-
Method Detail
-
checkStructElement
public void checkStructElement(IStructureNode elem)
Checks if Note and FENote elements are correct according to PDF/UA-2 specification.- Parameters:
elem
- list structure element to check- Throws:
PdfUAConformanceException
- if document has incorrect tag structure for Note and FENote tags
-
-