Class PdfUA1ListChecker
- java.lang.Object
-
- com.itextpdf.pdfua.checkers.utils.ua1.PdfUA1ListChecker
-
public final class PdfUA1ListChecker extends java.lang.Object
Utility class which performs lists check according to PDF/UA-1 specification.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PdfUA1ListChecker.PdfUA1ListHandler
Handler class that checks list tags while traversing the tag tree.
-
Field Summary
Fields Modifier and Type Field Description private PdfUAValidationContext
context
-
Constructor Summary
Constructors Constructor Description PdfUA1ListChecker(PdfUAValidationContext context)
Creates a new instance ofPdfUA1ListChecker
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkStructElement(IStructureNode structNode)
Checks if list element has correct tag structure according to PDF/UA-1 specification.
-
-
-
Field Detail
-
context
private final PdfUAValidationContext context
-
-
Constructor Detail
-
PdfUA1ListChecker
public PdfUA1ListChecker(PdfUAValidationContext context)
Creates a new instance ofPdfUA1ListChecker
.- Parameters:
context
- the validation context
-
-
Method Detail
-
checkStructElement
public void checkStructElement(IStructureNode structNode)
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
-
-