com.ibm.xml.xapi
Enum XTypeConstants.Type
- java.lang.Object
java.lang.Enum<XTypeConstants.Type>
com.ibm.xml.xapi.XTypeConstants.Type
All implemented interfaces:
java.io.Serializable, java.lang.Comparable<XTypeConstants.Type>
Enclosing interface:
- public static enum XTypeConstants.Type
- extends java.lang.Enum<XTypeConstants.Type>
COMPLEX is used
for all non-atomic types
.
Enum Constant Summary
Method Summary
Modifier and Type | Method and Description |
---|---|
|
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
|
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
- public static final XTypeConstants.Type BYTE
SHORT
- public static final XTypeConstants.Type SHORT
INT
- public static final XTypeConstants.Type INT
LONG
- public static final XTypeConstants.Type LONG
FLOAT
- public static final XTypeConstants.Type FLOAT
DOUBLE
- public static final XTypeConstants.Type DOUBLE
BOOLEAN
- public static final XTypeConstants.Type BOOLEAN
STRING
- public static final XTypeConstants.Type STRING
DECIMAL
- public static final XTypeConstants.Type DECIMAL
INTEGER
- public static final XTypeConstants.Type INTEGER
HEXBINARY
- public static final XTypeConstants.Type HEXBINARY
BASE64BINARY
- public static final XTypeConstants.Type BASE64BINARY
ANYURI
- public static final XTypeConstants.Type ANYURI
QNAME
- public static final XTypeConstants.Type QNAME
NOTATION
- public static final XTypeConstants.Type NOTATION
DATE
- public static final XTypeConstants.Type DATE
TIME
- public static final XTypeConstants.Type TIME
DATETIME
- public static final XTypeConstants.Type DATETIME
GDAY
- public static final XTypeConstants.Type GDAY
GMONTH
- public static final XTypeConstants.Type GMONTH
GMONTHDAY
- public static final XTypeConstants.Type GMONTHDAY
GYEAR
- public static final XTypeConstants.Type GYEAR
GYEARMONTH
- public static final XTypeConstants.Type GYEARMONTH
DURATION
- public static final XTypeConstants.Type DURATION
DAYTIMEDURATION
- public static final XTypeConstants.Type DAYTIMEDURATION
YEARMONTHDURATION
- public static final XTypeConstants.Type YEARMONTHDURATION
NORMALIZEDSTRING
- public static final XTypeConstants.Type NORMALIZEDSTRING
TOKEN
- public static final XTypeConstants.Type TOKEN
LANGUAGE
- public static final XTypeConstants.Type LANGUAGE
NAME
- public static final XTypeConstants.Type NAME
NMTOKEN
- public static final XTypeConstants.Type NMTOKEN
NCNAME
- public static final XTypeConstants.Type NCNAME
ID
- public static final XTypeConstants.Type ID
IDREF
- public static final XTypeConstants.Type IDREF
ENTITY
- public static final XTypeConstants.Type ENTITY
NONPOSITIVEINTEGER
- public static final XTypeConstants.Type NONPOSITIVEINTEGER
NONNEGATIVEINTEGER
- public static final XTypeConstants.Type NONNEGATIVEINTEGER
NEGATIVEINTEGER
- public static final XTypeConstants.Type NEGATIVEINTEGER
POSITIVEINTEGER
- public static final XTypeConstants.Type POSITIVEINTEGER
UNSIGNEDLONG
- public static final XTypeConstants.Type UNSIGNEDLONG
UNSIGNEDINT
- public static final XTypeConstants.Type UNSIGNEDINT
UNSIGNEDSHORT
- public static final XTypeConstants.Type UNSIGNEDSHORT
UNSIGNEDBYTE
- public static final XTypeConstants.Type UNSIGNEDBYTE
UNION
- public static final XTypeConstants.Type UNION
LIST
- public static final XTypeConstants.Type LIST
UNTYPEDATOMIC
- public static final XTypeConstants.Type UNTYPEDATOMIC
COMPLEX
- public static final XTypeConstants.Type COMPLEX
Method Detail
values
- 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:
Returns:
an array containing the constants of this enum type, in
the order they are declared
valueOf
- 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