cz.zcu.fav.kiv.editor.template
Enum TemplateConst.TemplateTags

java.lang.Object
  extended by java.lang.Enum<TemplateConst.TemplateTags>
      extended by cz.zcu.fav.kiv.editor.template.TemplateConst.TemplateTags
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TemplateConst.TemplateTags>
Enclosing class:
TemplateConst

public static enum TemplateConst.TemplateTags
extends java.lang.Enum<TemplateConst.TemplateTags>

The enumerated list of elements used in templates.


Enum Constant Summary
ATTRIBUTE
           
ATTRIBUTE_SET
           
PARAMETER
           
 
Method Summary
static TemplateConst.TemplateTags getValue(java.lang.String key)
          Returns predefined constant of element according to the element name.
static TemplateConst.TemplateTags valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TemplateConst.TemplateTags[] 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

ATTRIBUTE_SET

public static final TemplateConst.TemplateTags ATTRIBUTE_SET

ATTRIBUTE

public static final TemplateConst.TemplateTags ATTRIBUTE

PARAMETER

public static final TemplateConst.TemplateTags PARAMETER
Method Detail

values

public static TemplateConst.TemplateTags[] 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 (TemplateConst.TemplateTags c : TemplateConst.TemplateTags.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TemplateConst.TemplateTags 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
java.lang.NullPointerException - if the argument is null

getValue

public static TemplateConst.TemplateTags getValue(java.lang.String key)
Returns predefined constant of element according to the element name.

Parameters:
key - the name of element.
Returns:
a constant of element with defined name.