Enum Constant and Description |
---|
DISABLED
PDF/UA disabled.
|
PDFUA_1
PDF/UA-1 enabled.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
int |
getPart() |
static PDFUAMode |
getValueOf(java.lang.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. |
java.lang.String |
toString() |
static PDFUAMode |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.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(java.lang.String s)
s
- the stringpublic java.lang.String toString()
toString
in class java.lang.Enum<PDFUAMode>
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.