org.clapper.curn.output.freemarker
Enum TemplateType
java.lang.Object
java.lang.Enum<TemplateType>
org.clapper.curn.output.freemarker.TemplateType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<TemplateType>
public enum TemplateType
- extends java.lang.Enum<TemplateType>
- Version:
- $Revision: 6301 $
|
Method Summary |
static TemplateType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TemplateType[] |
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 |
URL
public static final TemplateType URL
CLASSPATH
public static final TemplateType CLASSPATH
FILE
public static final TemplateType FILE
values
public static final TemplateType[] 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(TemplateType c : TemplateType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TemplateType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
Copyright © 2004-2006 Brian M. Clapper. All Rights Reserved.