|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PDFUAMode>
org.apache.fop.pdf.PDFUAMode
public enum PDFUAMode
Enum class for PDF/UA modes.
Enum Constant Summary | |
---|---|
DISABLED
PDF/UA disabled. |
|
PDFUA_1
PDF/UA-1 enabled. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PDFUAMode DISABLED
public static final PDFUAMode PDFUA_1
Method Detail |
---|
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 name
java.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 string
public java.lang.String toString()
toString
in class java.lang.Enum<PDFUAMode>
|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |