PdfAViolation
Overview
PdfAViolation is a class in Aspose.PDF FOSS for Java.
Represents a single violation found during PDF/A validation.
This class provides 7 methods for working with PdfAViolation objects in Java programs.
Available methods include: PdfAViolation, getClause, getMessage, getObjectPath, getRuleId, getSeverity, toString.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: clause, message, objectPath, ruleId, severity.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ruleId | String | Read | Returns the rule identifier. |
severity | Severity | Read | Returns the severity of this violation. |
message | String | Read | Returns a human-readable message describing the violation. |
objectPath | String | Read | Returns the PDF object path where the violation was detected, or {@code null}. |
clause | String | Read | Returns the ISO clause reference, or {@code null}. |
Methods
| Signature | Description |
|---|---|
PdfAViolation(ruleId: String, severity: Severity, message: String, objectPath: String, clause: String) | Creates a new violation record. |
getRuleId() → String | Returns the rule identifier. |
getSeverity() → Severity | Returns the severity of this violation. |
getMessage() → String | Returns a human-readable message describing the violation. |
getObjectPath() → String | Returns the PDF object path where the violation was detected, or {@code null}. |
getClause() → String | Returns the ISO clause reference, or {@code null}. |
toString() → String |