Package org.verapdf.pdfa.flavours
Enum PDFAFlavour.Specification
- java.lang.Object
-
- java.lang.Enum<PDFAFlavour.Specification>
-
- org.verapdf.pdfa.flavours.PDFAFlavour.Specification
-
- All Implemented Interfaces:
Serializable
,Comparable<PDFAFlavour.Specification>
- Enclosing class:
- PDFAFlavour
public static enum PDFAFlavour.Specification extends Enum<PDFAFlavour.Specification>
Enumeration of PDF/A Specification Parts, 1-3 used to provide ids and a standard source of details such as name and description for PDF/A Specifications.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ISO_14289_1
PDF/UA Version 1ISO_19005_1
PDF/A Version 1ISO_19005_2
PDF/A Version 2ISO_19005_3
PDF/A Version 3ISO_19005_4
PDF/A Version 4ISO_32005
NO_STANDARD
PDF/A Version 1WCAG_2_1
WCAG Version 2.1
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
String
getFamily()
String
getId()
String
getName()
int
getPartNumber()
PDFAFlavour.IsoStandardSeries
getSeries()
String
getYear()
String
toString()
static PDFAFlavour.Specification
valueOf(String name)
Returns the enum constant of this type with the specified name.static PDFAFlavour.Specification[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_STANDARD
public static final PDFAFlavour.Specification NO_STANDARD
PDF/A Version 1
-
ISO_14289_1
public static final PDFAFlavour.Specification ISO_14289_1
PDF/UA Version 1
-
ISO_19005_1
public static final PDFAFlavour.Specification ISO_19005_1
PDF/A Version 1
-
ISO_19005_2
public static final PDFAFlavour.Specification ISO_19005_2
PDF/A Version 2
-
ISO_19005_3
public static final PDFAFlavour.Specification ISO_19005_3
PDF/A Version 3
-
ISO_19005_4
public static final PDFAFlavour.Specification ISO_19005_4
PDF/A Version 4
-
ISO_32005
public static final PDFAFlavour.Specification ISO_32005
-
WCAG_2_1
public static final PDFAFlavour.Specification WCAG_2_1
WCAG Version 2.1
-
-
Method Detail
-
values
public static PDFAFlavour.Specification[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PDFAFlavour.Specification c : PDFAFlavour.Specification.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PDFAFlavour.Specification valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getPartNumber
public final int getPartNumber()
- Returns:
- the part number as an int
-
getId
public final String getId()
- Returns:
- the standard part id as a String
-
getYear
public final String getYear()
- Returns:
- the year for the standard part
-
getName
public final String getName()
- Returns:
- the name for the standard part
-
getFamily
public final String getFamily()
- Returns:
- the family for the standard part
-
getDescription
public String getDescription()
- Returns:
- the description
-
getSeries
public PDFAFlavour.IsoStandardSeries getSeries()
- Returns:
- the
PDFAFlavour.IsoStandardSeries
instance indicating the standard series
-
toString
public String toString()
- Overrides:
toString
in classEnum<PDFAFlavour.Specification>
-
-