|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ReportGenerator.ReportType>
com.xinapse.util.ReportGenerator.ReportType
public static enum ReportGenerator.ReportType
An enumration of the types of report that can be generated.
| Enum Constant Summary | |
|---|---|
PDF
|
|
TEXT
|
|
| Method Summary | |
|---|---|
static ReportGenerator.ReportType |
getInstance(java.lang.String s)
Creates report type from a String. |
java.lang.String |
toString()
Returns a String description of the ReportType. |
static ReportGenerator.ReportType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ReportGenerator.ReportType[] |
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 ReportGenerator.ReportType PDF
public static final ReportGenerator.ReportType TEXT
| Method Detail |
|---|
public static ReportGenerator.ReportType[] values()
for (ReportGenerator.ReportType c : ReportGenerator.ReportType.values()) System.out.println(c);
public static ReportGenerator.ReportType 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 ReportGenerator.ReportType getInstance(java.lang.String s)
s - a String version of the report type, such as "PDF" or "Text".public java.lang.String toString()
toString in class java.lang.Enum<ReportGenerator.ReportType>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||