Class Validator.Error

java.lang.Object
java.util.EventObject
com.pdftools.pdfa.validation.Validator.Error
All Implemented Interfaces:
Serializable
Enclosing class:
Validator

public class Validator.Error extends EventObject
See Also:
  • Method Details

    • getDataPart

      public String getDataPart()

      The data part is null for the main file and a data part specification for embedded files.

      Examples:

      • embedded-file:file.pdf: For a file file.pdf that is embedded in the main file.
      • embedded-file:file1.pdf/embedded-file:file2.pdf: For a file file2.pdf that is embedded in an embedded file file1.pdf.

    • getMessage

      public String getMessage()
      The validation message
    • getCategory

      public ErrorCategory getCategory()
      The category of the validation error
    • getContext

      public String getContext()
      A description of the context where the error occurred
    • getPageNo

      public int getPageNo()
      The page number this error is associated to or 0
    • getObjectNo

      public int getObjectNo()
      The number of the PDF object this error is associated to