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
Gets PDF/A profile Id- Returns:
String
-
setProfileId
Sets the profile Id- Parameters:
profileId
-String
-
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
-