Package org.verapdf.pdfa.flavours
Enum Class PDFAFlavour.Specification
- All Implemented Interfaces:
Serializable
,Comparable<PDFAFlavour.Specification>
,java.lang.constant.Constable
- Enclosing class:
- PDFAFlavour
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPDF/UA Version 1PDF/A Version 1PDF/A Version 2PDF/A Version 3PDF/A Version 4PDF/A Version 1WCAG Version 2.1 -
Method Summary
Modifier and TypeMethodDescriptionfinal String
final String
getId()
final String
getName()
final int
final String
getYear()
toString()
static PDFAFlavour.Specification
Returns the enum constant of this class with the specified name.static PDFAFlavour.Specification[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_STANDARD
PDF/A Version 1 -
ISO_14289_1
PDF/UA Version 1 -
ISO_19005_1
PDF/A Version 1 -
ISO_19005_2
PDF/A Version 2 -
ISO_19005_3
PDF/A Version 3 -
ISO_19005_4
PDF/A Version 4 -
ISO_32005
-
WCAG_2_1
WCAG Version 2.1
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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
- Returns:
- the standard part id as a String
-
getYear
- Returns:
- the year for the standard part
-
getName
- Returns:
- the name for the standard part
-
getFamily
- Returns:
- the family for the standard part
-
getDescription
- Returns:
- the description
-
getSeries
- Returns:
- the
PDFAFlavour.IsoStandardSeries
instance indicating the standard series
-
toString
- Overrides:
toString
in classEnum<PDFAFlavour.Specification>
-