Enum XSD.Datatype
- All Implemented Interfaces:
Serializable
,Comparable<XSD.Datatype>
- Enclosing class:
XSD
@Deprecated(since="5.0.0",
forRemoval=true)
public static enum XSD.Datatype
extends Enum<XSD.Datatype>
Deprecated, for removal: This API element is subject to removal in a future version.
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<XSD.Datatype>
from
(CoreDatatype.XSD datatype) Deprecated, for removal: This API element is subject to removal in a future version.static Optional<XSD.Datatype>
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getIri()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is a built-in XML Schema datatype.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is equal to xsd:dateTime, xsd:date, xsd:time, xsd:gYearMonth, xsd:gMonthDay, xsd:gYear, xsd:gMonth or xsd:gDay.These are the primitive datatypes that represent dates and/or times.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is equal to xsd:decimal or one of the built-in datatypes that is derived from xsd:decimal.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is a derived XML Schema datatype.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is equal to xsd:duration, xsd:dayTimeDuration, xsd:yearMonthDuration.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is equal to xsd:float or xsd:double.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is equal to xsd:integer or one of the built-in datatypes that is derived from xsd:integer.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is a numeric datatype, i.e.if it is equal to xsd:float, xsd:double, xsd:decimal or one of the datatypes derived from xsd:decimal.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is ordered.The values of an ordered datatype can be compared to each other using operators like < and >.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is a primitive XML Schema datatype.static XSD.Datatype
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this type with the specified name.static XSD.Datatype[]
values()
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DURATION
Deprecated, for removal: This API element is subject to removal in a future version. -
DATETIME
Deprecated, for removal: This API element is subject to removal in a future version. -
DATETIMESTAMP
Deprecated, for removal: This API element is subject to removal in a future version. -
DAYTIMEDURATION
Deprecated, for removal: This API element is subject to removal in a future version. -
TIME
Deprecated, for removal: This API element is subject to removal in a future version. -
DATE
Deprecated, for removal: This API element is subject to removal in a future version. -
GYEARMONTH
Deprecated, for removal: This API element is subject to removal in a future version. -
GYEAR
Deprecated, for removal: This API element is subject to removal in a future version. -
GMONTHDAY
Deprecated, for removal: This API element is subject to removal in a future version. -
GDAY
Deprecated, for removal: This API element is subject to removal in a future version. -
GMONTH
Deprecated, for removal: This API element is subject to removal in a future version. -
STRING
Deprecated, for removal: This API element is subject to removal in a future version. -
BOOLEAN
Deprecated, for removal: This API element is subject to removal in a future version. -
BASE64BINARY
Deprecated, for removal: This API element is subject to removal in a future version. -
HEXBINARY
Deprecated, for removal: This API element is subject to removal in a future version. -
FLOAT
Deprecated, for removal: This API element is subject to removal in a future version. -
DECIMAL
Deprecated, for removal: This API element is subject to removal in a future version. -
DOUBLE
Deprecated, for removal: This API element is subject to removal in a future version. -
ANYURI
Deprecated, for removal: This API element is subject to removal in a future version. -
QNAME
Deprecated, for removal: This API element is subject to removal in a future version. -
NOTATION
Deprecated, for removal: This API element is subject to removal in a future version. -
NORMALIZEDSTRING
Deprecated, for removal: This API element is subject to removal in a future version. -
TOKEN
Deprecated, for removal: This API element is subject to removal in a future version. -
LANGUAGE
Deprecated, for removal: This API element is subject to removal in a future version. -
NMTOKEN
Deprecated, for removal: This API element is subject to removal in a future version. -
NMTOKENS
Deprecated, for removal: This API element is subject to removal in a future version. -
NAME
Deprecated, for removal: This API element is subject to removal in a future version. -
NCNAME
Deprecated, for removal: This API element is subject to removal in a future version. -
ID
Deprecated, for removal: This API element is subject to removal in a future version. -
IDREF
Deprecated, for removal: This API element is subject to removal in a future version. -
IDREFS
Deprecated, for removal: This API element is subject to removal in a future version. -
ENTITY
Deprecated, for removal: This API element is subject to removal in a future version. -
ENTITIES
Deprecated, for removal: This API element is subject to removal in a future version. -
INTEGER
Deprecated, for removal: This API element is subject to removal in a future version. -
LONG
Deprecated, for removal: This API element is subject to removal in a future version. -
INT
Deprecated, for removal: This API element is subject to removal in a future version. -
SHORT
Deprecated, for removal: This API element is subject to removal in a future version. -
BYTE
Deprecated, for removal: This API element is subject to removal in a future version. -
NON_POSITIVE_INTEGER
Deprecated, for removal: This API element is subject to removal in a future version. -
NEGATIVE_INTEGER
Deprecated, for removal: This API element is subject to removal in a future version. -
NON_NEGATIVE_INTEGER
Deprecated, for removal: This API element is subject to removal in a future version. -
POSITIVE_INTEGER
Deprecated, for removal: This API element is subject to removal in a future version. -
UNSIGNED_LONG
Deprecated, for removal: This API element is subject to removal in a future version. -
UNSIGNED_INT
Deprecated, for removal: This API element is subject to removal in a future version. -
UNSIGNED_SHORT
Deprecated, for removal: This API element is subject to removal in a future version. -
UNSIGNED_BYTE
Deprecated, for removal: This API element is subject to removal in a future version. -
YEARMONTHDURATION
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
values
Deprecated, for removal: This API element is subject to removal in a future version.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
Deprecated, for removal: This API element is subject to removal in a future version.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
-
isPrimitiveDatatype
public boolean isPrimitiveDatatype()Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is a primitive XML Schema datatype.- Returns:
- true if the datatype is a primitive type
-
isDerivedDatatype
public boolean isDerivedDatatype()Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is a derived XML Schema datatype.- Returns:
- true if the datatype is a derived type
-
isBuiltInDatatype
public boolean isBuiltInDatatype()Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is a built-in XML Schema datatype.- Returns:
- true if it is a primitive or derived XML Schema type
-
isNumericDatatype
public boolean isNumericDatatype()Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is a numeric datatype, i.e.if it is equal to xsd:float, xsd:double, xsd:decimal or one of the datatypes derived from xsd:decimal.- Returns:
- true of it is a decimal or floating point type
-
isDecimalDatatype
public boolean isDecimalDatatype()Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is equal to xsd:decimal or one of the built-in datatypes that is derived from xsd:decimal.- Returns:
- true if it is a decimal datatype
-
isIntegerDatatype
public boolean isIntegerDatatype()Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is equal to xsd:integer or one of the built-in datatypes that is derived from xsd:integer.- Returns:
- true if it is an integer type
-
isFloatingPointDatatype
public boolean isFloatingPointDatatype()Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is equal to xsd:float or xsd:double.- Returns:
- true if it is a floating point type
-
isCalendarDatatype
public boolean isCalendarDatatype()Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is equal to xsd:dateTime, xsd:date, xsd:time, xsd:gYearMonth, xsd:gMonthDay, xsd:gYear, xsd:gMonth or xsd:gDay.These are the primitive datatypes that represent dates and/or times.- Returns:
- true if it is a calendar type
- See Also:
-
isDurationDatatype
public boolean isDurationDatatype()Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is equal to xsd:duration, xsd:dayTimeDuration, xsd:yearMonthDuration. These are the datatypes that represents durations.- Returns:
- true if it is a duration type
- See Also:
-
isOrderedDatatype
public boolean isOrderedDatatype()Deprecated, for removal: This API element is subject to removal in a future version.Checks whether the supplied datatype is ordered.The values of an ordered datatype can be compared to each other using operators like < and >.- Returns:
- true if the datatype is ordered
-
getIri
Deprecated, for removal: This API element is subject to removal in a future version. -
getCoreDatatype
Deprecated, for removal: This API element is subject to removal in a future version. -
from
Deprecated, for removal: This API element is subject to removal in a future version. -
from
Deprecated, for removal: This API element is subject to removal in a future version.
-