Enum PdfUAConformance
- All Implemented Interfaces:
Serializable, Comparable<PdfUAConformance>, java.lang.constant.Constable
PDF/UA is a conformance for PDF files that ensures the files are accessible to all users.
It contains an enumeration of all the PDF/UA conformance currently supported by iText.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePdfUAConformance(String part) Creates a newPdfUAConformanceinstance. -
Method Summary
Modifier and TypeMethodDescriptiongetPart()Get the part of the PDF/UA conformance.static PdfUAConformanceReturns the enum constant of this type with the specified name.static PdfUAConformance[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PDF_UA_1
PDF/UA-1 conformance -
PDF_UA_2
PDF/UA-2 conformance
-
-
Field Details
-
part
-
-
Constructor Details
-
PdfUAConformance
Creates a newPdfUAConformanceinstance.- Parameters:
part- the part of the PDF/UA conformance
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getPart
Get the part of the PDF/UA conformance.- Returns:
- the part of the PDF/UA conformance
-