PdfAViolation

PdfAViolation

Overview

PdfAViolation is a class in Aspose.Pdf FOSS for Java.

Represents a single violation found during PDF/A validation.

Properties

NameTypeAccessDescription
ruleIdStringReadReturns the rule identifier.
severitySeverityReadReturns the severity of this violation.
messageStringReadReturns a human-readable message describing the violation.
objectPathStringReadReturns the COS object path where the violation was detected, or {@code null}.
clauseStringReadReturns the ISO clause reference, or {@code null}.

Methods

SignatureDescription
PdfAViolation(ruleId: String, severity: Severity, message: String, objectPath: String, clause: String)Creates a new violation record.
getRuleId()StringReturns the rule identifier.
getSeverity()SeverityReturns the severity of this violation.
getMessage()StringReturns a human-readable message describing the violation.
getObjectPath()StringReturns the COS object path where the violation was detected, or {@code null}.
getClause()StringReturns the ISO clause reference, or {@code null}.
toString()String

See Also