PdfAViolation

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

NameTypeAccessDescription
ruleIdStringReadReturns the rule identifier.
severitySeverityReadReturns the severity of this violation.
messageStringReadReturns a human-readable message describing the violation.
objectPathStringReadReturns the PDF 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 PDF object path where the violation was detected, or {@code null}.
getClause()StringReturns the ISO clause reference, or {@code null}.
toString()String

See Also

 English