redora.generator
Enum Template.DestinationType

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

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

File type of the destination.


Enum Constant Summary
css
           
html
           
java
           
properties
           
sql
           
xml
           
 
Method Summary
static Template.DestinationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Template.DestinationType[] 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

css

public static final Template.DestinationType css

html

public static final Template.DestinationType html

java

public static final Template.DestinationType java

properties

public static final Template.DestinationType properties

sql

public static final Template.DestinationType sql

xml

public static final Template.DestinationType xml
Method Detail

values

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