Package com.itextpdf.kernel.utils
Interface IValidationChecker
- All Known Implementing Classes:
-
PdfA1Checker
,PdfA2Checker
,PdfA3Checker
,PdfA4Checker
,PdfAChecker
,PdfUA1Checker
public interface IValidationChecker
Used to check if a PDF document is compliant to a specific validation profile.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validateDocument
(ValidationContext validationContext) Validate the providedValidationContext
.void
validateObject
(Object obj, IsoKey key, PdfResources resources, PdfStream contentStream, Object extra) Check the provided object for conformance.
-
Method Details
-
validateDocument
Validate the providedValidationContext
.This method is called by the
PdfDocument.close()
to check for additional conformance requirements.- Parameters:
-
validationContext
- theValidationContext
to validate
-
validateObject
void validateObject(Object obj, IsoKey key, PdfResources resources, PdfStream contentStream, Object extra) Check the provided object for conformance.This method is called by the
PdfDocument.checkIsoConformance(Object, IsoKey, PdfResources, PdfStream, Object)
to check for additional conformance requirements.- Parameters:
-
obj
- the object to check -
key
- theIsoKey
of the object -
resources
- thePdfResources
of the object -
contentStream
- thePdfStream
of the object -
extra
- additional information
-