- All Implemented Interfaces:
Serializable
,Comparable<XSDataType>
Enumeration of XS data types.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal String
final com.sun.xml.fastinfoset.algorithm.BuiltInEncodingAlgorithm
final int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
private
XSDataType
(int id, com.sun.xml.fastinfoset.algorithm.BuiltInEncodingAlgorithm algorithm) private
XSDataType
(String s) -
Method Summary
Modifier and TypeMethodDescriptionstatic XSDataType
static XSDataType
Returns the enum constant of this type with the specified name.static XSDataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
_UNSPECIFIED_
-
ANYTYPE
-
ANYSIMPLETYPE
-
DURATION
-
DATETIME
-
TIME
-
DATE
-
GYEARMONTH
-
GYEAR
-
GMONTHDAY
-
GDAY
-
GMONTH
-
STRING
-
NORMALIZEDSTRING
-
TOKEN
-
LANGUAGE
-
NAME
-
NCNAME
-
ID
-
IDREF
-
IDREFS
-
ENTITY
-
ENTITIES
-
NMTOKEN
-
NMTOKENS
-
BOOLEAN
-
BASE64BINARY
-
HEXBINARY
-
FLOAT
-
DECIMAL
-
INTEGER
-
NONPOSITIVEINTEGER
-
NEGATIVEINTEGER
-
LONG
-
INT
-
SHORT
-
BYTE
-
NONNEGATIVEINTEGER
-
UNSIGNEDLONG
-
UNSIGNEDINT
-
UNSIGNEDSHORT
-
UNSIGNEDBYTE
-
POSITIVEINTEGER
-
DOUBLE
-
ANYURI
-
QNAME
-
NOTATION
-
-
Field Details
-
encodingAlgorithmId
public final int encodingAlgorithmId -
encodingAlgorithm
public final transient com.sun.xml.fastinfoset.algorithm.BuiltInEncodingAlgorithm encodingAlgorithm -
alphabet
-
-
Constructor Details
-
XSDataType
private XSDataType() -
XSDataType
private XSDataType(int id, com.sun.xml.fastinfoset.algorithm.BuiltInEncodingAlgorithm algorithm) -
XSDataType
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-
create
-