Class PdfModificationDetection

java.lang.Object
eu.europa.esig.dss.pdf.modifications.PdfModificationDetection
All Implemented Interfaces:
Serializable

public class PdfModificationDetection extends Object implements Serializable
The class contains necessary information about a PDF visual or structure modifications
See Also:
  • Constructor Details

    • PdfModificationDetection

      public PdfModificationDetection()
      Default constructor instantiating object with null values
  • Method Details

    • getAnnotationOverlaps

      public List<PdfModification> getAnnotationOverlaps()
      Returns information about annotations overlapping
      Returns:
      a list of PdfModifications
    • setAnnotationOverlaps

      public void setAnnotationOverlaps(List<PdfModification> annotationOverlaps)
      Sets annotation overlaps
      Parameters:
      annotationOverlaps - a list of PdfModifications
    • getPageDifferences

      public List<PdfModification> getPageDifferences()
      Returns information if there are missing/added pages between the signed and final revisions
      Returns:
      a list of PdfModifications
    • setPageDifferences

      public void setPageDifferences(List<PdfModification> pageDifferences)
      Sets page differences (for missing/added pages)
      Parameters:
      pageDifferences - a list of PdfModifications
    • getVisualDifferences

      public List<PdfModification> getVisualDifferences()
      Returns information about pages with visual differences between signed and final revisions
      Returns:
      a list of PdfModifications
    • setVisualDifferences

      public void setVisualDifferences(List<PdfModification> visualDifferences)
      Sets visual differences
      Parameters:
      visualDifferences - a list of PdfModifications
    • getObjectModifications

      public PdfObjectModifications getObjectModifications()
      Returns a filtered collection of modified objects between signed and final document revisions
      Returns:
      PdfObjectModifications
    • setObjectModifications

      public void setObjectModifications(PdfObjectModifications objectModifications)
      Sets a collection of filtered object modifications
      Parameters:
      objectModifications - PdfObjectModifications
    • areModificationsDetected

      public boolean areModificationsDetected()
      Returns information if any modifications have been detected
      Returns:
      TRUE if any modifications have been detected, FALSE otherwise