EGF Engine
Release 0.1.0

org.eclipse.egf.pattern.production
Enum TemplateType

java.lang.Object
  extended by java.lang.Enum<TemplateType>
      extended by org.eclipse.egf.pattern.production.TemplateType
All Implemented Interfaces:
Serializable, Comparable<TemplateType>

public enum TemplateType
extends Enum<TemplateType>

Defines an enumeration to list all available template engines.


Enum Constant Summary
ACCELEO
          ACCELEO template engine.
JET
          JET template engine.
JET2
          JET2 template engine.
VELOCITY
          VELOCITY template engine.
XPAND
          XPAND template engine.
 
Method Summary
 String getDescription()
          Get the description of this enumeration.
 String getId()
          Get the identifier of this enumeration.
static TemplateType valueOf(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
 

Enum Constant Detail

ACCELEO

public static final TemplateType ACCELEO
ACCELEO template engine.


JET

public static final TemplateType JET
JET template engine.


JET2

public static final TemplateType JET2
JET2 template engine.


VELOCITY

public static final TemplateType VELOCITY
VELOCITY template engine.


XPAND

public static final TemplateType XPAND
XPAND template engine.

Method Detail

values

public static 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(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

getDescription

public String getDescription()
Get the description of this enumeration.

Returns:
the description

getId

public String getId()
Get the identifier of this enumeration.

Returns:
the id

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.