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
-
Method Summary
Modifier and TypeMethodDescriptionGets a list of error messages returned by the validatorGets PDF/A profile Idboolean
Gets whether the validated document is compliant according to the returned profile Idvoid
setCompliant
(boolean compliant) Sets whether the document is compliant to the identified profile Idvoid
setErrorMessages
(Collection<String> errorMessages) Sets a collection of error messages returned by the validatorvoid
setProfileId
(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
String
s
-
setErrorMessages
Sets a collection of error messages returned by the validator- Parameters:
errorMessages
- a collection ofString
error messages
-