public enum PDFUAMode extends Enum<PDFUAMode>
Enum Constant and Description |
---|
DISABLED
PDF/UA disabled.
|
PDFUA_1
PDF/UA-1 enabled.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
int |
getPart() |
static PDFUAMode |
getValueOf(String s)
Returns the mode enum object given a String.
|
boolean |
isEnabled()
Returns
true if this enum corresponds to one of the available PDF/A modes. |
String |
toString() |
static PDFUAMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PDFUAMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PDFUAMode DISABLED
public static final PDFUAMode PDFUA_1
public static PDFUAMode[] values()
for (PDFUAMode c : PDFUAMode.values()) System.out.println(c);
public static PDFUAMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
public int getPart()
public boolean isEnabled()
true
if this enum corresponds to one of the available PDF/A modes.true
if this is not DISABLEDpublic static PDFUAMode getValueOf(String s)
s
- the stringCopyright © 2025 Apache Software Foundation. All rights reserved.