Package org.verapdf.parser
Enum Class PDFFlavour
- All Implemented Interfaces:
Serializable,Comparable<PDFFlavour>,java.lang.constant.Constable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic enumNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisFlavour(PDFFlavour currentFlavour, PDFFlavour flavour) static booleanisFlavourFamily(List<PDFFlavour> flavours, PDFFlavour.SpecificationFamily specificationFamily) static booleanisFlavourFamily(PDFFlavour flavour, PDFFlavour.SpecificationFamily specificationFamily) static booleanisFlavourPart(List<PDFFlavour> flavours, PDFFlavour.Specification specificationPart) static booleanisFlavourPart(PDFFlavour flavour, PDFFlavour.Specification specificationPart) static booleanisFlavourPDFSpecification(List<PDFFlavour> flavours, PDFFlavour.PDFSpecification pdfSpecification) static booleanisFlavourPDFSpecification(PDFFlavour flavour, PDFFlavour.PDFSpecification pdfSpecification) static booleanisPDFUA2RelatedFlavour(List<PDFFlavour> flavours) static booleanisPDFUA2RelatedFlavour(PDFFlavour flavour) static PDFFlavourReturns the enum constant of this class with the specified name.static PDFFlavour[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_FLAVOUR
-
PDFA_1_A
-
PDFA_1_B
-
PDFA_2_A
-
PDFA_2_B
-
PDFA_2_U
-
PDFA_3_A
-
PDFA_3_B
-
PDFA_3_U
-
PDFA_4
-
PDFA_4_F
-
PDFA_4_E
-
PDFUA_1
-
PDFUA_2
-
WTPDF_1_0_REUSE
-
WTPDF_1_0_ACCESSIBILITY
-
WCAG_2_1
-
WCAG_2_2
-
-
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
-
getSpecification
-
isFlavourPDFSpecification
public static boolean isFlavourPDFSpecification(List<PDFFlavour> flavours, PDFFlavour.PDFSpecification pdfSpecification) -
isFlavourPDFSpecification
public static boolean isFlavourPDFSpecification(PDFFlavour flavour, PDFFlavour.PDFSpecification pdfSpecification) -
isFlavourFamily
public static boolean isFlavourFamily(List<PDFFlavour> flavours, PDFFlavour.SpecificationFamily specificationFamily) -
isFlavourFamily
public static boolean isFlavourFamily(PDFFlavour flavour, PDFFlavour.SpecificationFamily specificationFamily) -
isFlavour
-
isFlavourPart
public static boolean isFlavourPart(List<PDFFlavour> flavours, PDFFlavour.Specification specificationPart) -
isFlavourPart
-
isPDFUA2RelatedFlavour
-
isPDFUA2RelatedFlavour
-