PdfAViolation
Overview
PdfAViolation is a class in Aspose.Pdf FOSS for Java.
Represents a single violation found during PDF/A validation.
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 COS 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 COS object path where the violation was detected, or {@code null}. |
getClause() → String | Returns the ISO clause reference, or {@code null}. |
toString() → String |