net.sf.csutils.groovy
Enum Main.TemplateType

java.lang.Object
  extended by java.lang.Enum<Main.TemplateType>
      extended by net.sf.csutils.groovy.Main.TemplateType
All Implemented Interfaces:
Serializable, Comparable<Main.TemplateType>
Enclosing class:
Main

public static enum Main.TemplateType
extends Enum<Main.TemplateType>


Enum Constant Summary
gstring
          Uses GStringTemplateEngine.
gxml
          Uses XmlTemplateEngine.
simple
          Uses SimpleTemplateEngine.
xml
          Uses XmlTemplateEngine.
 
Method Summary
static Main.TemplateType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Main.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
 

Enum Constant Detail

simple

public static final Main.TemplateType simple
Uses SimpleTemplateEngine.


gstring

public static final Main.TemplateType gstring
Uses GStringTemplateEngine.


gxml

public static final Main.TemplateType gxml
Uses XmlTemplateEngine.


xml

public static final Main.TemplateType xml
Uses XmlTemplateEngine.

Method Detail

values

public static Main.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 (Main.TemplateType c : Main.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 Main.TemplateType 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 © 2009-2010. All Rights Reserved.