|
fop 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PDFAMode>
org.apache.fop.pdf.PDFAMode
public enum PDFAMode
Enum class for PDF/A modes.
Enum Constant Summary | |
---|---|
DISABLED
PDF/A disabled. |
|
PDFA_1A
PDF/A-1a enabled. |
|
PDFA_1B
PDF/A-1b enabled. |
|
PDFA_2A
PDF/A-2a enabled. |
|
PDFA_2B
PDF/A-2b enabled. |
|
PDFA_2U
PDF/A-2u enabled. |
Method Summary | |
---|---|
char |
getConformanceLevel()
Returns the conformance level for this enum. |
java.lang.String |
getName()
|
int |
getPart()
Returns the part of the specification this enum corresponds to. |
static PDFAMode |
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. |
boolean |
isLevelA()
Returns true if this enum corresponds to conformance level A. |
boolean |
isPart1()
Returns true if this enum corresponds to PDF/A-1 (ISO 19005-1). |
boolean |
isPart2()
Returns true if this enum corresponds to PDF/A-2 (ISO 19005-2). |
java.lang.String |
toString()
|
static PDFAMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PDFAMode[] |
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 PDFAMode DISABLED
public static final PDFAMode PDFA_1A
public static final PDFAMode PDFA_1B
public static final PDFAMode PDFA_2A
public static final PDFAMode PDFA_2B
public static final PDFAMode PDFA_2U
Method Detail |
---|
public static PDFAMode[] values()
for (PDFAMode c : PDFAMode.values()) System.out.println(c);
public static PDFAMode 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 boolean isEnabled()
true
if this enum corresponds to one of the available PDF/A modes.
true
if this is not DISABLEDpublic int getPart()
public boolean isPart1()
true
if this enum corresponds to PDF/A-1 (ISO 19005-1).
public boolean isPart2()
true
if this enum corresponds to PDF/A-2 (ISO 19005-2).
public char getConformanceLevel()
public boolean isLevelA()
true
if this enum corresponds to conformance level A.
public static PDFAMode getValueOf(java.lang.String s)
s
- the string
public java.lang.String toString()
toString
in class java.lang.Enum<PDFAMode>
|
fop 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |