DJDoc v.1.0.0b-1

net.sf.djdoc.bo
Enum Item.ItemType

java.lang.Object
  extended by java.lang.Enum<Item.ItemType>
      extended by net.sf.djdoc.bo.Item.ItemType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Item.ItemType>
Enclosing interface:
Item

public static enum Item.ItemType
extends java.lang.Enum<Item.ItemType>

The ItemType enum enumerates the different types of Items.


Enum Constant Summary
ANNOTATION
          This ItemType represents the Java annotation type.
CLASS
          This ItemType represents the Java class type.
ENUM
          This ItemType represents the Java enum type.
ERROR
          This ItemType represents the Java error classes.
EXCEPTION
          This ItemType represents the Java exception classes.
INTERFACE
          This ItemType represents the Java interface type.
 
Method Summary
 java.lang.String getLabel()
          Getter method for the description of this ItemType on the package-frame page.
static Item.ItemType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Item.ItemType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INTERFACE

public static final Item.ItemType INTERFACE
This ItemType represents the Java interface type.


CLASS

public static final Item.ItemType CLASS
This ItemType represents the Java class type.


ENUM

public static final Item.ItemType ENUM
This ItemType represents the Java enum type.


EXCEPTION

public static final Item.ItemType EXCEPTION
This ItemType represents the Java exception classes.


ERROR

public static final Item.ItemType ERROR
This ItemType represents the Java error classes.


ANNOTATION

public static final Item.ItemType ANNOTATION
This ItemType represents the Java annotation type.

Method Detail

values

public static final Item.ItemType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Item.ItemType c : Item.ItemType.values())
        System.out.println(c);

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

valueOf

public static Item.ItemType 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

getLabel

public java.lang.String getLabel()
Getter method for the description of this ItemType on the package-frame page.

Returns:
This ItemType's description label

DJDoc v.1.0.0b-1