Class PDFAValidationResult

java.lang.Object
eu.europa.esig.dss.pdfa.PDFAValidationResult

public class PDFAValidationResult extends Object
This class represents a validation result against PDF/A specification
  • Constructor Details

    • PDFAValidationResult

      public PDFAValidationResult()
      Default constructor
  • Method Details

    • getProfileId

      public String getProfileId()
      Gets PDF/A profile Id
      Returns:
      String
    • setProfileId

      public void setProfileId(String profileId)
      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

      public Collection<String> getErrorMessages()
      Gets a list of error messages returned by the validator
      Returns:
      a collection of Strings
    • setErrorMessages

      public void setErrorMessages(Collection<String> errorMessages)
      Sets a collection of error messages returned by the validator
      Parameters:
      errorMessages - a collection of String error messages