Package com.sun.xml.fastinfoset.types
Enum XSDataType
- java.lang.Object
-
- java.lang.Enum<XSDataType>
-
- com.sun.xml.fastinfoset.types.XSDataType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<XSDataType>
public enum XSDataType extends java.lang.Enum<XSDataType>
Enumeration of XS data types.
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
alphabet
BuiltInEncodingAlgorithm
encodingAlgorithm
int
encodingAlgorithmId
-
Constructor Summary
Constructors Modifier Constructor Description private
XSDataType()
private
XSDataType(int id, BuiltInEncodingAlgorithm algorithm)
private
XSDataType(java.lang.String s)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XSDataType
create(java.lang.String s)
static XSDataType
valueOf(java.lang.String name)
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 Detail
-
_UNSPECIFIED_
public static final XSDataType _UNSPECIFIED_
-
ANYTYPE
public static final XSDataType ANYTYPE
-
ANYSIMPLETYPE
public static final XSDataType ANYSIMPLETYPE
-
DURATION
public static final XSDataType DURATION
-
DATETIME
public static final XSDataType DATETIME
-
TIME
public static final XSDataType TIME
-
DATE
public static final XSDataType DATE
-
GYEARMONTH
public static final XSDataType GYEARMONTH
-
GYEAR
public static final XSDataType GYEAR
-
GMONTHDAY
public static final XSDataType GMONTHDAY
-
GDAY
public static final XSDataType GDAY
-
GMONTH
public static final XSDataType GMONTH
-
STRING
public static final XSDataType STRING
-
NORMALIZEDSTRING
public static final XSDataType NORMALIZEDSTRING
-
TOKEN
public static final XSDataType TOKEN
-
LANGUAGE
public static final XSDataType LANGUAGE
-
NAME
public static final XSDataType NAME
-
NCNAME
public static final XSDataType NCNAME
-
ID
public static final XSDataType ID
-
IDREF
public static final XSDataType IDREF
-
IDREFS
public static final XSDataType IDREFS
-
ENTITY
public static final XSDataType ENTITY
-
ENTITIES
public static final XSDataType ENTITIES
-
NMTOKEN
public static final XSDataType NMTOKEN
-
NMTOKENS
public static final XSDataType NMTOKENS
-
BOOLEAN
public static final XSDataType BOOLEAN
-
BASE64BINARY
public static final XSDataType BASE64BINARY
-
HEXBINARY
public static final XSDataType HEXBINARY
-
FLOAT
public static final XSDataType FLOAT
-
DECIMAL
public static final XSDataType DECIMAL
-
INTEGER
public static final XSDataType INTEGER
-
NONPOSITIVEINTEGER
public static final XSDataType NONPOSITIVEINTEGER
-
NEGATIVEINTEGER
public static final XSDataType NEGATIVEINTEGER
-
LONG
public static final XSDataType LONG
-
INT
public static final XSDataType INT
-
SHORT
public static final XSDataType SHORT
-
BYTE
public static final XSDataType BYTE
-
NONNEGATIVEINTEGER
public static final XSDataType NONNEGATIVEINTEGER
-
UNSIGNEDLONG
public static final XSDataType UNSIGNEDLONG
-
UNSIGNEDINT
public static final XSDataType UNSIGNEDINT
-
UNSIGNEDSHORT
public static final XSDataType UNSIGNEDSHORT
-
UNSIGNEDBYTE
public static final XSDataType UNSIGNEDBYTE
-
POSITIVEINTEGER
public static final XSDataType POSITIVEINTEGER
-
DOUBLE
public static final XSDataType DOUBLE
-
ANYURI
public static final XSDataType ANYURI
-
QNAME
public static final XSDataType QNAME
-
NOTATION
public static final XSDataType NOTATION
-
-
Field Detail
-
encodingAlgorithmId
public final int encodingAlgorithmId
-
encodingAlgorithm
public final transient BuiltInEncodingAlgorithm encodingAlgorithm
-
alphabet
public final java.lang.String alphabet
-
-
Constructor Detail
-
XSDataType
private XSDataType()
-
XSDataType
private XSDataType(int id, BuiltInEncodingAlgorithm algorithm)
-
XSDataType
private XSDataType(java.lang.String s)
-
-
Method Detail
-
values
public static XSDataType[] 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 (XSDataType c : XSDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XSDataType 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 namejava.lang.NullPointerException
- if the argument is null
-
create
public static XSDataType create(java.lang.String s)
-
-