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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
validateDocument(ValidationContext validationContext)
Validate the providedValidationContext
.void
validateObject(java.lang.Object obj, IsoKey key, PdfResources resources, PdfStream contentStream, java.lang.Object extra)
Check the provided object for conformance.
-
-
-
Method Detail
-
validateDocument
void validateDocument(ValidationContext validationContext)
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(java.lang.Object obj, IsoKey key, PdfResources resources, PdfStream contentStream, java.lang.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 checkkey
- theIsoKey
of the objectresources
- thePdfResources
of the objectcontentStream
- thePdfStream
of the objectextra
- additional information
-
-