Package com.sun.xml.fastinfoset.types
Enum XSDataType
- All Implemented Interfaces:
Serializable
,Comparable<XSDataType>
,java.lang.constant.Constable
Enumeration of XS data types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
private
XSDataType
(int id, 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
-
alphabet
-
-
Constructor Details
-
XSDataType
private XSDataType() -
XSDataType
-
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
-