org.eclipse.xtend.typesystem.xsd
Enum XMLTypeMapper.BasicType

java.lang.Object
  extended by java.lang.Enum<XMLTypeMapper.BasicType>
      extended by org.eclipse.xtend.typesystem.xsd.XMLTypeMapper.BasicType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<XMLTypeMapper.BasicType>
Enclosing class:
XMLTypeMapper

public static enum XMLTypeMapper.BasicType
extends java.lang.Enum<XMLTypeMapper.BasicType>


Enum Constant Summary
BOOL
           
DATE
           
DURATION
           
INT
           
LIST
           
OBJECT
           
QNAME
           
REAL
           
STRING
           
UNHANDLED
           
 
Method Summary
static XMLTypeMapper.BasicType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static XMLTypeMapper.BasicType[] 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

STRING

public static final XMLTypeMapper.BasicType STRING

INT

public static final XMLTypeMapper.BasicType INT

REAL

public static final XMLTypeMapper.BasicType REAL

BOOL

public static final XMLTypeMapper.BasicType BOOL

OBJECT

public static final XMLTypeMapper.BasicType OBJECT

DATE

public static final XMLTypeMapper.BasicType DATE

DURATION

public static final XMLTypeMapper.BasicType DURATION

QNAME

public static final XMLTypeMapper.BasicType QNAME

LIST

public static final XMLTypeMapper.BasicType LIST

UNHANDLED

public static final XMLTypeMapper.BasicType UNHANDLED
Method Detail

values

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

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

valueOf

public static XMLTypeMapper.BasicType 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