Package org.verapdf.pdfa.flavours
Enum PDFAFlavour.Level
- java.lang.Object
-
- java.lang.Enum<PDFAFlavour.Level>
-
- org.verapdf.pdfa.flavours.PDFAFlavour.Level
-
- All Implemented Interfaces:
Serializable
,Comparable<PDFAFlavour.Level>
- Enclosing class:
- PDFAFlavour
public static enum PDFAFlavour.Level extends Enum<PDFAFlavour.Level>
Enum type that identifies the different PDF/A Conformance Levels A (accessible), B (basic), U (unicode), F (embedded files) & E (engineering).
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
String
getName()
static PDFAFlavour.Level
valueOf(String name)
Returns the enum constant of this type with the specified name.static PDFAFlavour.Level[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_LEVEL
public static final PDFAFlavour.Level NO_LEVEL
Special identifier for the none case
-
A
public static final PDFAFlavour.Level A
Level A
-
B
public static final PDFAFlavour.Level B
Level B
-
U
public static final PDFAFlavour.Level U
Level U
-
F
public static final PDFAFlavour.Level F
Level F
-
E
public static final PDFAFlavour.Level E
Level E
-
-
Method Detail
-
values
public static PDFAFlavour.Level[] 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.Level c : PDFAFlavour.Level.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.Level 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
-
getCode
public final String getCode()
- Returns:
- the PDF/A Level code ("a", "b", "u", "f" or "e")
-
getName
public final String getName()
- Returns:
- the full name of the conformance level
-
-