redora.generator
Enum Template.DestinationType
java.lang.Object
java.lang.Enum<Template.DestinationType>
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.
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
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.