Package eu.europa.esig.dss.pdfa
Class PDFAValidationResult
java.lang.Object
eu.europa.esig.dss.pdfa.PDFAValidationResult
This class represents a validation result against PDF/A specification
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets a list of error messages returned by the validatorGets PDF/A profile IdbooleanGets whether the validated document is compliant according to the returned profile IdvoidsetCompliant(boolean compliant) Sets whether the document is compliant to the identified profile IdvoidsetErrorMessages(Collection<String> errorMessages) Sets a collection of error messages returned by the validatorvoidsetProfileId(String profileId) Sets the profile Id
-
Constructor Details
-
PDFAValidationResult
public PDFAValidationResult()Default constructor
-
-
Method Details
-
getProfileId
-
setProfileId
-
isCompliant
public boolean isCompliant()Gets whether the validated document is compliant according to the returned profile Id- Returns:
- TRUE of the document is a compliant PDF/A, FALSE otherwise
-
setCompliant
public void setCompliant(boolean compliant) Sets whether the document is compliant to the identified profile Id- Parameters:
compliant- whether the document is a compliant PDF/A
-
getErrorMessages
Gets a list of error messages returned by the validator- Returns:
- a collection of
Strings
-
setErrorMessages
Sets a collection of error messages returned by the validator- Parameters:
errorMessages- a collection ofStringerror messages
-