|
Download Sources | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<OutputMode>
com.liguorien.flex.generator.utils.OutputMode
public enum OutputMode
Used to define different output modes available to the FlexModelGenerator
The current modes are :
FlexGenerator.setOutputMode(com.liguorien.flex.generator.utils.OutputMode)| Enum Constant Summary | |
|---|---|
CONSOLE
The generator will output the result directly to the system output. |
|
FILE
The generator will output the result directly into actionscript file. |
|
| Method Summary | |
|---|---|
static OutputMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static OutputMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final OutputMode FILE
The generator will output the result directly into actionscript file.
You must set the output directory of the FlexModelGenerator to use this mode
WARNING : if the actionscript file already exists, it will be overwritten. So be careful with this mode and use it only to generate the skeleton of the actionscript classes
FlexGenerator.setOutputMode(com.liguorien.flex.generator.utils.OutputMode),
FlexGenerator.setFlexOutputDirectory(java.io.File),
FlexGenerator.setJavaOutputDirectory(java.io.File)public static final OutputMode CONSOLE
The generator will output the result directly to the system output.
FlexGenerator.setOutputMode(com.liguorien.flex.generator.utils.OutputMode)| Method Detail |
|---|
public static final OutputMode[] values()
for(OutputMode c : OutputMode.values())
System.out.println(c);
public static OutputMode 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
|
FlexGenerator | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||