redora.generator
Enum Template.Destination

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

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


Enum Constant Summary
redora
           
source
           
target
           
 
Method Summary
static Template.Destination valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Template.Destination[] 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

source

public static final Template.Destination source

target

public static final Template.Destination target

redora

public static final Template.Destination redora
Method Detail

values

public static Template.Destination[] 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.Destination c : Template.Destination.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.Destination 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.