public class PdfUA2Checker extends PdfUAChecker
PdfUAChecker class.
The specification implemented by this class is ISO 14289-2.
| Constructor and Description |
|---|
PdfUA2Checker(PdfDocument pdfDocument)
Creates
PdfUA2Checker instance with PDF document which will be validated against PDF/UA-2 standard. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkMetadata(PdfCatalog catalog)
Checks that the
Catalog dictionary of a conforming file contains the Metadata key whose value is
a metadata stream as defined in ISO 32000-2:2020. |
boolean |
isPdfObjectReadyToFlush(PdfObject object) |
void |
validate(IValidationContext context) |
warnOnPageFlushpublic PdfUA2Checker(PdfDocument pdfDocument)
PdfUA2Checker instance with PDF document which will be validated against PDF/UA-2 standard.pdfDocument - the document to validatepublic void validate(IValidationContext context)
public boolean isPdfObjectReadyToFlush(PdfObject object)
protected void checkMetadata(PdfCatalog catalog)
Catalog dictionary of a conforming file contains the Metadata key whose value is
a metadata stream as defined in ISO 32000-2:2020. Also checks that the value of pdfuaid:part is 2 for
conforming PDF files and validates required pdfuaid:rev value.
Checks that the Metadata stream as specified in ISO 32000-2:2020, 14.3 in the document catalog dictionary
includes a dc: title entry reflecting the title of the document.
catalog - PdfCatalog document catalog dictionaryCopyright © 1998–2025 Apryse Group NV. All rights reserved.