|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PdfVersion>
org.axsl.pdf.PdfVersion
public enum PdfVersion
An enumeration of the possible PDF Versions.
Enum Constant Summary | |
---|---|
VERSION_1_3
Version 1.3 of the PDF spec. |
|
VERSION_1_4
Version 1.4 of the PDF spec. |
|
VERSION_1_5
Version 1.5 of the PDF spec. |
|
VERSION_1_6
Version 1.6 of the PDF spec. |
Method Summary | |
---|---|
static PdfVersion |
fromString(java.lang.String stringVersion)
For a given version String, finds the PdfVersion that represents
that version. |
java.lang.String |
getVersionString()
Returns the String description of this version. |
static PdfVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PdfVersion[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PdfVersion VERSION_1_3
public static final PdfVersion VERSION_1_4
public static final PdfVersion VERSION_1_5
public static final PdfVersion VERSION_1_6
Method Detail |
---|
public static final PdfVersion[] values()
for(PdfVersion c : PdfVersion.values()) System.out.println(c);
public static PdfVersion 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 namepublic java.lang.String getVersionString()
public static PdfVersion fromString(java.lang.String stringVersion)
PdfVersion
that represents
that version.
stringVersion
- The String representing the version. Valid values
include "1.3", "1.4", "1.5", and "1.6".
PdfVersion
used to represent
stringVersion
, or null if none exists.
|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.