com.ibm.xml.xapi

Enum XTypeConstants.Type

  1. java.lang.Object
  2. extended byjava.lang.Enum<XTypeConstants.Type>
  3. extended bycom.ibm.xml.xapi.XTypeConstants.Type
All implemented interfaces:
java.io.Serializable, java.lang.Comparable<XTypeConstants.Type>
Enclosing interface:
XTypeConstants

  1. public static enum XTypeConstants.Type
  2. extends java.lang.Enum<XTypeConstants.Type>
Enumerator of built-in types. COMPLEX is used for all non-atomic types.

Enum Constant Summary

Enum Constant and Description
ANYURI
BASE64BINARY
BOOLEAN
BYTE
COMPLEX
DATE
DATETIME
DAYTIMEDURATION
DECIMAL
DOUBLE
DURATION
ENTITY
FLOAT
GDAY
GMONTH
GMONTHDAY
GYEAR
GYEARMONTH
HEXBINARY
ID
IDREF
INT
INTEGER
LANGUAGE
LIST
LONG
NAME
NCNAME
NEGATIVEINTEGER
NMTOKEN
NONNEGATIVEINTEGER
NONPOSITIVEINTEGER
NORMALIZEDSTRING
NOTATION
POSITIVEINTEGER
QNAME
SHORT
STRING
TIME
TOKEN
UNION
UNSIGNEDBYTE
UNSIGNEDINT
UNSIGNEDLONG
UNSIGNEDSHORT
UNTYPEDATOMIC
YEARMONTHDURATION

Method Summary

Modifier and Type Method and Description
  1. static
  2. XTypeConstants.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
  1. static
  2. XTypeConstants.Type[]
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

BYTE

  1. public static final XTypeConstants.Type BYTE

SHORT

  1. public static final XTypeConstants.Type SHORT

INT

  1. public static final XTypeConstants.Type INT

LONG

  1. public static final XTypeConstants.Type LONG

FLOAT

  1. public static final XTypeConstants.Type FLOAT

DOUBLE

  1. public static final XTypeConstants.Type DOUBLE

BOOLEAN

  1. public static final XTypeConstants.Type BOOLEAN

STRING

  1. public static final XTypeConstants.Type STRING

DECIMAL

  1. public static final XTypeConstants.Type DECIMAL

INTEGER

  1. public static final XTypeConstants.Type INTEGER

HEXBINARY

  1. public static final XTypeConstants.Type HEXBINARY

BASE64BINARY

  1. public static final XTypeConstants.Type BASE64BINARY

ANYURI

  1. public static final XTypeConstants.Type ANYURI

QNAME

  1. public static final XTypeConstants.Type QNAME

NOTATION

  1. public static final XTypeConstants.Type NOTATION

DATE

  1. public static final XTypeConstants.Type DATE

TIME

  1. public static final XTypeConstants.Type TIME

DATETIME

  1. public static final XTypeConstants.Type DATETIME

GDAY

  1. public static final XTypeConstants.Type GDAY

GMONTH

  1. public static final XTypeConstants.Type GMONTH

GMONTHDAY

  1. public static final XTypeConstants.Type GMONTHDAY

GYEAR

  1. public static final XTypeConstants.Type GYEAR

GYEARMONTH

  1. public static final XTypeConstants.Type GYEARMONTH

DURATION

  1. public static final XTypeConstants.Type DURATION

DAYTIMEDURATION

  1. public static final XTypeConstants.Type DAYTIMEDURATION

YEARMONTHDURATION

  1. public static final XTypeConstants.Type YEARMONTHDURATION

NORMALIZEDSTRING

  1. public static final XTypeConstants.Type NORMALIZEDSTRING

TOKEN

  1. public static final XTypeConstants.Type TOKEN

LANGUAGE

  1. public static final XTypeConstants.Type LANGUAGE

NAME

  1. public static final XTypeConstants.Type NAME

NMTOKEN

  1. public static final XTypeConstants.Type NMTOKEN

NCNAME

  1. public static final XTypeConstants.Type NCNAME

ID

  1. public static final XTypeConstants.Type ID

IDREF

  1. public static final XTypeConstants.Type IDREF

ENTITY

  1. public static final XTypeConstants.Type ENTITY

NONPOSITIVEINTEGER

  1. public static final XTypeConstants.Type NONPOSITIVEINTEGER

NONNEGATIVEINTEGER

  1. public static final XTypeConstants.Type NONNEGATIVEINTEGER

NEGATIVEINTEGER

  1. public static final XTypeConstants.Type NEGATIVEINTEGER

POSITIVEINTEGER

  1. public static final XTypeConstants.Type POSITIVEINTEGER

UNSIGNEDLONG

  1. public static final XTypeConstants.Type UNSIGNEDLONG

UNSIGNEDINT

  1. public static final XTypeConstants.Type UNSIGNEDINT

UNSIGNEDSHORT

  1. public static final XTypeConstants.Type UNSIGNEDSHORT

UNSIGNEDBYTE

  1. public static final XTypeConstants.Type UNSIGNEDBYTE

UNION

  1. public static final XTypeConstants.Type UNION

LIST

  1. public static final XTypeConstants.Type LIST

UNTYPEDATOMIC

  1. public static final XTypeConstants.Type UNTYPEDATOMIC

COMPLEX

  1. public static final XTypeConstants.Type COMPLEX

Method Detail

values

  1. public static XTypeConstants.Type[] 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 (XTypeConstants.Type c : XTypeConstants.Type.values())   
System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

  1. public static XTypeConstants.Type 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