org.jboss.seam.xml.model
Enum XmlItemType

java.lang.Object
  extended by java.lang.Enum<XmlItemType>
      extended by org.jboss.seam.xml.model.XmlItemType
All Implemented Interfaces:
Serializable, Comparable<XmlItemType>

public enum XmlItemType
extends Enum<XmlItemType>


Enum Constant Summary
ANNOTATION
           
ARRAY
           
CLASS
           
DEPENDENCY
           
ENTRY
           
FIELD
           
KEY
           
METHOD
           
MODIFIES
           
PARAMETER
           
PARAMETERS
           
REPLACE
           
VALUE
           
 
Method Summary
 String getAlias()
           
 String getElementName()
           
static XmlItemType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XmlItemType[] 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

CLASS

public static final XmlItemType CLASS

METHOD

public static final XmlItemType METHOD

FIELD

public static final XmlItemType FIELD

ANNOTATION

public static final XmlItemType ANNOTATION

VALUE

public static final XmlItemType VALUE

ENTRY

public static final XmlItemType ENTRY

KEY

public static final XmlItemType KEY

DEPENDENCY

public static final XmlItemType DEPENDENCY

PARAMETERS

public static final XmlItemType PARAMETERS

PARAMETER

public static final XmlItemType PARAMETER

ARRAY

public static final XmlItemType ARRAY

REPLACE

public static final XmlItemType REPLACE

MODIFIES

public static final XmlItemType MODIFIES
Method Detail

values

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

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

valueOf

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

getElementName

public String getElementName()

getAlias

public String getAlias()


Copyright © 2010 Seam Framework. All Rights Reserved.