Package com.itextpdf.kernel.pdf
Class PdfAConformanceLevel
- java.lang.Object
-
- com.itextpdf.kernel.pdf.PdfAConformanceLevel
-
- All Implemented Interfaces:
IConformanceLevel
public class PdfAConformanceLevel extends java.lang.Object implements IConformanceLevel
Enumeration of all the PDF/A conformance levels.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
conformance
private java.lang.String
part
static PdfAConformanceLevel
PDF_A_1A
static PdfAConformanceLevel
PDF_A_1B
static PdfAConformanceLevel
PDF_A_2A
static PdfAConformanceLevel
PDF_A_2B
static PdfAConformanceLevel
PDF_A_2U
static PdfAConformanceLevel
PDF_A_3A
static PdfAConformanceLevel
PDF_A_3B
static PdfAConformanceLevel
PDF_A_3U
static PdfAConformanceLevel
PDF_A_4
static java.lang.String
PDF_A_4_REVISION
static PdfAConformanceLevel
PDF_A_4E
static PdfAConformanceLevel
PDF_A_4F
-
Constructor Summary
Constructors Modifier Constructor Description private
PdfAConformanceLevel(java.lang.String part, java.lang.String conformance)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getConformance()
static PdfAConformanceLevel
getConformanceLevel(XMPMeta meta)
static PdfAConformanceLevel
getConformanceLevel(java.lang.String part, java.lang.String conformance)
java.lang.String
getPart()
static PdfAConformanceLevel
getPDFAConformance(IConformanceLevel possibleConformance, PdfDocument document)
Deprecated.since 8.0.4 Will be removed in next major release
-
-
-
Field Detail
-
PDF_A_1A
public static final PdfAConformanceLevel PDF_A_1A
-
PDF_A_1B
public static final PdfAConformanceLevel PDF_A_1B
-
PDF_A_2A
public static final PdfAConformanceLevel PDF_A_2A
-
PDF_A_2B
public static final PdfAConformanceLevel PDF_A_2B
-
PDF_A_2U
public static final PdfAConformanceLevel PDF_A_2U
-
PDF_A_3A
public static final PdfAConformanceLevel PDF_A_3A
-
PDF_A_3B
public static final PdfAConformanceLevel PDF_A_3B
-
PDF_A_3U
public static final PdfAConformanceLevel PDF_A_3U
-
PDF_A_4
public static final PdfAConformanceLevel PDF_A_4
-
PDF_A_4E
public static final PdfAConformanceLevel PDF_A_4E
-
PDF_A_4F
public static final PdfAConformanceLevel PDF_A_4F
-
PDF_A_4_REVISION
public static final java.lang.String PDF_A_4_REVISION
- See Also:
- Constant Field Values
-
conformance
private final java.lang.String conformance
-
part
private final java.lang.String part
-
-
Method Detail
-
getConformance
public java.lang.String getConformance()
-
getPart
public java.lang.String getPart()
-
getConformanceLevel
public static PdfAConformanceLevel getConformanceLevel(java.lang.String part, java.lang.String conformance)
-
getConformanceLevel
public static PdfAConformanceLevel getConformanceLevel(XMPMeta meta)
-
getPDFAConformance
@Deprecated public static PdfAConformanceLevel getPDFAConformance(IConformanceLevel possibleConformance, PdfDocument document)
Deprecated.since 8.0.4 Will be removed in next major releaseGets the PdfA conformance level.- Parameters:
possibleConformance
- the possible candidate forPdfAConformanceLevel
document
- the document- Returns:
- the conformance level or null if it's not PDFA
-
-