|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Version>
org.apache.fop.pdf.Version
public enum Version
A version of PDF. Values are ordered such that compareTo() gives sensible
results (e.g., V1_4.compareTo(V1_5) < 0).
| Enum Constant Summary | |
|---|---|
V1_0
PDF v1 |
|
V1_1
PDF v1.1 |
|
V1_2
PDF v1.2 |
|
V1_3
PDF v1.3 |
|
V1_4
PDF v1.4 |
|
V1_5
PDF v1.5 |
|
V1_6
PDF v1.6 |
|
V1_7
PDF v1.7 |
|
| Method Summary | |
|---|---|
static Version |
getValueOf(java.lang.String version)
Given the PDF version as a String, returns the corresponding enumerated type. |
java.lang.String |
toString()
|
static Version |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Version[] |
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 Version V1_0
public static final Version V1_1
public static final Version V1_2
public static final Version V1_3
public static final Version V1_4
public static final Version V1_5
public static final Version V1_6
public static final Version V1_7
| Method Detail |
|---|
public static Version[] values()
for (Version c : Version.values()) System.out.println(c);
public static Version 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 static Version getValueOf(java.lang.String version)
version - a version number
java.lang.IllegalArgumentException - if the argument does not correspond to any
existing PDF versionpublic java.lang.String toString()
toString in class java.lang.Enum<Version>
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||