cz.zcu.fav.kiv.editor.config.constants
Enum TagDefinition.AttributeTags

java.lang.Object
  extended by java.lang.Enum<TagDefinition.AttributeTags>
      extended by cz.zcu.fav.kiv.editor.config.constants.TagDefinition.AttributeTags
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TagDefinition.AttributeTags>
Enclosing class:
TagDefinition

public static enum TagDefinition.AttributeTags
extends java.lang.Enum<TagDefinition.AttributeTags>

The enumerated list of elements used in the configuration file with attributes - attributes.xml.


Enum Constant Summary
ATTRIBUTE
           
COMPONENT
           
DEFAULT
           
GROUP
           
NAME
           
NULL
           
TYPE
           
UNIT
           
VALUES
           
 
Method Summary
static TagDefinition.AttributeTags getValue(java.lang.String key)
          Returns predefined constant of element according to the element name.
 java.lang.String toString()
           
static TagDefinition.AttributeTags valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TagDefinition.AttributeTags[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GROUP

public static final TagDefinition.AttributeTags GROUP

ATTRIBUTE

public static final TagDefinition.AttributeTags ATTRIBUTE

NAME

public static final TagDefinition.AttributeTags NAME

TYPE

public static final TagDefinition.AttributeTags TYPE

VALUES

public static final TagDefinition.AttributeTags VALUES

COMPONENT

public static final TagDefinition.AttributeTags COMPONENT

DEFAULT

public static final TagDefinition.AttributeTags DEFAULT

UNIT

public static final TagDefinition.AttributeTags UNIT

NULL

public static final TagDefinition.AttributeTags NULL
Method Detail

values

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

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

valueOf

public static TagDefinition.AttributeTags 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 TagDefinition.AttributeTags 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.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<TagDefinition.AttributeTags>