public interface PDFAValidator extends Component
Validators
class. This is designed to allow
immutable validator instances, meaning there is no methods provided to change
the ValidationProfile, or the pre-configured settings.Modifier and Type | Method and Description |
---|---|
ValidationProfile |
getProfile()
Returns the complete
ValidationProfile enforced by this PDFAValidator. |
ValidationResult |
validate(PDFAParser toValidate)
This method validates an InputStream, presumably believed to be a PDF/A
document of a specific flavour that matches the ValidationProfile
supported by the PDFAValidator instance.
|
getDetails
ValidationProfile getProfile()
ValidationProfile
enforced by this PDFAValidator.ValidationResult validate(PDFAParser toValidate) throws ValidationException
toValidate
- a InputStream
to be validatedValidationResult
containing the result of valdiation
and details of failed checks and possibly passed checks,
dependent upon configuration.ValidationException
ModelParsingException
IllegalArgumentException
- if the toValidate parameter is null PDFAValidationException
if the validation process failsCopyright © 2015–2017 The veraPDF Consortium. All rights reserved.