PdfAValidator

PdfAValidator

Overview

PdfAValidator is a class in Aspose.PDF FOSS for Java.

PDF/A and PDF/X validation orchestrator.

This class provides 4 methods for working with PdfAValidator objects in Java programs. Available methods include: PdfAValidator, getRules, validate. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: rules.

Properties

NameTypeAccessDescription
rulesList<PdfARule>ReadReturns the list of rules registered in this validator.

Methods

SignatureDescription
PdfAValidator()Creates a validator with the default set of all built-in rules.
PdfAValidator(rules: List<PdfARule>)Creates a validator with a custom set of rules.
validate(parser: PDFParser, format: PdfFormat)PdfAValidationResultValidates the parsed PDF document against the specified format.
getRules()List<PdfARule>Returns the list of rules registered in this validator.

See Also

 English