redora.generator
Enum Template.Input

java.lang.Object
  extended by java.lang.Enum<Template.Input>
      extended by redora.generator.Template.Input
All Implemented Interfaces:
Serializable, Comparable<Template.Input>
Enclosing class:
Template

public static enum Template.Input
extends Enum<Template.Input>

Data input for the template. Normally it is the Model files, but there are different options.


Enum Constant Summary
AllModels
          Bundle of all model files.
Enum
          All global scoped enums.
Language
          List of all the languaes used in the model files.
Model
          The standard model file.
 
Method Summary
static Template.Input valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Template.Input[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Model

public static final Template.Input Model
The standard model file.


AllModels

public static final Template.Input AllModels
Bundle of all model files.


Language

public static final Template.Input Language
List of all the languaes used in the model files.


Enum

public static final Template.Input Enum
All global scoped enums.

Method Detail

values

public static Template.Input[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Template.Input c : Template.Input.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Template.Input valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2012 Nanjing RedOrange Co. ltd. All Rights Reserved.