Package com.pdftools.pdfa.validation
Class Validator.Error
java.lang.Object
java.util.EventObject
com.pdftools.pdfa.validation.Validator.Error
- All Implemented Interfaces:
Serializable
- Enclosing class:
Validator
Report a validation issue found in
Validator.analyze(com.pdftools.pdf.Document) or Validator.validate(com.pdftools.pdf.Document).- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionThe category of the validation errorA description of the context where the error occurredThe data part isnullfor the main file and a data part specification for embedded files.The validation messageintThe number of the PDF object this error is associated tointThe page number this error is associated to or0Methods inherited from class java.util.EventObject
getSource, toString
-
Method Details
-
getDataPart
The data part is
nullfor the main file and a data part specification for embedded files.Examples:
-
embedded-file:file.pdf: For a filefile.pdfthat is embedded in the main file. -
embedded-file:file1.pdf/embedded-file:file2.pdf: For a filefile2.pdfthat is embedded in an embedded filefile1.pdf.
-
-
getMessage
The validation message -
getCategory
The category of the validation error -
getContext
A description of the context where the error occurred -
getPageNo
public int getPageNo()The page number this error is associated to or0 -
getObjectNo
public int getObjectNo()The number of the PDF object this error is associated to
-