Class PdfUA1ListChecker
java.lang.Object
com.itextpdf.pdfua.checkers.utils.ua1.PdfUA1ListChecker
Utility class which performs lists check according to PDF/UA-1 specification.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Handler class that checks list tags while traversing the tag tree. -
Constructor Summary
ConstructorsConstructorDescriptionPdfUA1ListChecker
(PdfUAValidationContext context) Creates a new instance ofPdfUA1ListChecker
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkStructElement
(IStructureNode structNode) Checks if list element has correct tag structure according to PDF/UA-1 specification.
-
Constructor Details
-
PdfUA1ListChecker
Creates a new instance ofPdfUA1ListChecker
.- Parameters:
-
context
- the validation context
-
-
Method Details
-
checkStructElement
Checks if list element has correct tag structure according to PDF/UA-1 specification.Conforming files shall tag any real content within LI structure element as either Lbl or LBody.
- Parameters:
-
structNode
- list structure element to check - Throws:
-
PdfUAConformanceException
- if document has incorrect tag structure for list
-