public static enum XSD.Datatype extends Enum<XSD.Datatype>
Modifier and Type | Method and Description |
---|---|
static Optional<XSD.Datatype> |
from(IRI datatype) |
IRI |
getIri() |
boolean |
isBuiltInDatatype()
Checks whether the supplied datatype is a built-in XML Schema datatype.
|
boolean |
isCalendarDatatype()
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 |
isDecimalDatatype()
Checks whether the supplied datatype is equal to xsd:decimal or one of the built-in datatypes that is derived
from xsd:decimal.
|
boolean |
isDerivedDatatype()
Checks whether the supplied datatype is a derived XML Schema datatype.
|
boolean |
isDurationDatatype()
Checks whether the supplied datatype is equal to xsd:duration, xsd:dayTimeDuration, xsd:yearMonthDuration.
|
boolean |
isFloatingPointDatatype()
Checks whether the supplied datatype is equal to xsd:float or xsd:double.
|
boolean |
isIntegerDatatype()
Checks whether the supplied datatype is equal to xsd:integer or one of the built-in datatypes that is derived
from xsd:integer.
|
boolean |
isNumericDatatype()
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 |
isOrderedDatatype()
Checks whether the supplied datatype is ordered.The values of an ordered datatype can be compared to each
other using operators like < and >.
|
boolean |
isPrimitiveDatatype()
Checks whether the supplied datatype is a primitive XML Schema datatype.
|
static XSD.Datatype |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XSD.Datatype[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XSD.Datatype DURATION
public static final XSD.Datatype DATETIME
public static final XSD.Datatype DATETIMESTAMP
public static final XSD.Datatype DAYTIMEDURATION
public static final XSD.Datatype TIME
public static final XSD.Datatype DATE
public static final XSD.Datatype GYEARMONTH
public static final XSD.Datatype GYEAR
public static final XSD.Datatype GMONTHDAY
public static final XSD.Datatype GDAY
public static final XSD.Datatype GMONTH
public static final XSD.Datatype STRING
public static final XSD.Datatype BOOLEAN
public static final XSD.Datatype BASE64BINARY
public static final XSD.Datatype HEXBINARY
public static final XSD.Datatype FLOAT
public static final XSD.Datatype DECIMAL
public static final XSD.Datatype DOUBLE
public static final XSD.Datatype ANYURI
public static final XSD.Datatype QNAME
public static final XSD.Datatype NOTATION
public static final XSD.Datatype NORMALIZEDSTRING
public static final XSD.Datatype TOKEN
public static final XSD.Datatype LANGUAGE
public static final XSD.Datatype NMTOKEN
public static final XSD.Datatype NMTOKENS
public static final XSD.Datatype NAME
public static final XSD.Datatype NCNAME
public static final XSD.Datatype ID
public static final XSD.Datatype IDREF
public static final XSD.Datatype IDREFS
public static final XSD.Datatype ENTITY
public static final XSD.Datatype ENTITIES
public static final XSD.Datatype INTEGER
public static final XSD.Datatype LONG
public static final XSD.Datatype INT
public static final XSD.Datatype SHORT
public static final XSD.Datatype BYTE
public static final XSD.Datatype NON_POSITIVE_INTEGER
public static final XSD.Datatype NEGATIVE_INTEGER
public static final XSD.Datatype NON_NEGATIVE_INTEGER
public static final XSD.Datatype POSITIVE_INTEGER
public static final XSD.Datatype UNSIGNED_LONG
public static final XSD.Datatype UNSIGNED_INT
public static final XSD.Datatype UNSIGNED_SHORT
public static final XSD.Datatype UNSIGNED_BYTE
public static final XSD.Datatype YEARMONTHDURATION
public static XSD.Datatype[] values()
for (XSD.Datatype c : XSD.Datatype.values()) System.out.println(c);
public static XSD.Datatype valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isPrimitiveDatatype()
public boolean isDerivedDatatype()
public boolean isBuiltInDatatype()
public boolean isNumericDatatype()
public boolean isDecimalDatatype()
public boolean isIntegerDatatype()
public boolean isFloatingPointDatatype()
public boolean isCalendarDatatype()
XMLGregorianCalendar
public boolean isDurationDatatype()
Duration
public boolean isOrderedDatatype()
public static Optional<XSD.Datatype> from(IRI datatype)
public IRI getIri()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.