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.
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 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.
Checks whether the supplied datatype is a primitive XML Schema datatype.
Returns:
true if the datatype is a primitive type
isDerivedDatatype
publicbooleanisDerivedDatatype()
Checks whether the supplied datatype is a derived XML Schema datatype.
Returns:
true if the datatype is a derived type
isBuiltInDatatype
publicbooleanisBuiltInDatatype()
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
publicbooleanisNumericDatatype()
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
publicbooleanisDecimalDatatype()
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
publicbooleanisIntegerDatatype()
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
publicbooleanisFloatingPointDatatype()
Checks whether the supplied datatype is equal to xsd:float or xsd:double.
Returns:
true if it is a floating point type
isCalendarDatatype
publicbooleanisCalendarDatatype()
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.
Checks whether the supplied datatype is equal to xsd:duration, xsd:dayTimeDuration, xsd:yearMonthDuration.
These are the datatypes that represents durations.