Enum XSD.Datatype

java.lang.Object
java.lang.Enum<XSD.Datatype>
org.eclipse.rdf4j.model.vocabulary.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 Constants
    Enum Constant
    Description
    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.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    from(IRI 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.
     
    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.
    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[]
    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.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • DURATION

      public static final XSD.Datatype DURATION
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DATETIME

      public static final XSD.Datatype DATETIME
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DATETIMESTAMP

      public static final XSD.Datatype DATETIMESTAMP
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DAYTIMEDURATION

      public static final XSD.Datatype DAYTIMEDURATION
      Deprecated, for removal: This API element is subject to removal in a future version.
    • TIME

      public static final XSD.Datatype TIME
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DATE

      public static final XSD.Datatype DATE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • GYEARMONTH

      public static final XSD.Datatype GYEARMONTH
      Deprecated, for removal: This API element is subject to removal in a future version.
    • GYEAR

      public static final XSD.Datatype GYEAR
      Deprecated, for removal: This API element is subject to removal in a future version.
    • GMONTHDAY

      public static final XSD.Datatype GMONTHDAY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • GDAY

      public static final XSD.Datatype GDAY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • GMONTH

      public static final XSD.Datatype GMONTH
      Deprecated, for removal: This API element is subject to removal in a future version.
    • STRING

      public static final XSD.Datatype STRING
      Deprecated, for removal: This API element is subject to removal in a future version.
    • BOOLEAN

      public static final XSD.Datatype BOOLEAN
      Deprecated, for removal: This API element is subject to removal in a future version.
    • BASE64BINARY

      public static final XSD.Datatype BASE64BINARY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • HEXBINARY

      public static final XSD.Datatype HEXBINARY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • FLOAT

      public static final XSD.Datatype FLOAT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DECIMAL

      public static final XSD.Datatype DECIMAL
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DOUBLE

      public static final XSD.Datatype DOUBLE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ANYURI

      public static final XSD.Datatype ANYURI
      Deprecated, for removal: This API element is subject to removal in a future version.
    • QNAME

      public static final XSD.Datatype QNAME
      Deprecated, for removal: This API element is subject to removal in a future version.
    • NOTATION

      public static final XSD.Datatype NOTATION
      Deprecated, for removal: This API element is subject to removal in a future version.
    • NORMALIZEDSTRING

      public static final XSD.Datatype NORMALIZEDSTRING
      Deprecated, for removal: This API element is subject to removal in a future version.
    • TOKEN

      public static final XSD.Datatype TOKEN
      Deprecated, for removal: This API element is subject to removal in a future version.
    • LANGUAGE

      public static final XSD.Datatype LANGUAGE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • NMTOKEN

      public static final XSD.Datatype NMTOKEN
      Deprecated, for removal: This API element is subject to removal in a future version.
    • NMTOKENS

      public static final XSD.Datatype NMTOKENS
      Deprecated, for removal: This API element is subject to removal in a future version.
    • NAME

      public static final XSD.Datatype NAME
      Deprecated, for removal: This API element is subject to removal in a future version.
    • NCNAME

      public static final XSD.Datatype NCNAME
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ID

      public static final XSD.Datatype ID
      Deprecated, for removal: This API element is subject to removal in a future version.
    • IDREF

      public static final XSD.Datatype IDREF
      Deprecated, for removal: This API element is subject to removal in a future version.
    • IDREFS

      public static final XSD.Datatype IDREFS
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ENTITY

      public static final XSD.Datatype ENTITY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ENTITIES

      public static final XSD.Datatype ENTITIES
      Deprecated, for removal: This API element is subject to removal in a future version.
    • INTEGER

      public static final XSD.Datatype INTEGER
      Deprecated, for removal: This API element is subject to removal in a future version.
    • LONG

      public static final XSD.Datatype LONG
      Deprecated, for removal: This API element is subject to removal in a future version.
    • INT

      public static final XSD.Datatype INT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SHORT

      public static final XSD.Datatype SHORT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • BYTE

      public static final XSD.Datatype BYTE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • NON_POSITIVE_INTEGER

      public static final XSD.Datatype NON_POSITIVE_INTEGER
      Deprecated, for removal: This API element is subject to removal in a future version.
    • NEGATIVE_INTEGER

      public static final XSD.Datatype NEGATIVE_INTEGER
      Deprecated, for removal: This API element is subject to removal in a future version.
    • NON_NEGATIVE_INTEGER

      public static final XSD.Datatype NON_NEGATIVE_INTEGER
      Deprecated, for removal: This API element is subject to removal in a future version.
    • POSITIVE_INTEGER

      public static final XSD.Datatype POSITIVE_INTEGER
      Deprecated, for removal: This API element is subject to removal in a future version.
    • UNSIGNED_LONG

      public static final XSD.Datatype UNSIGNED_LONG
      Deprecated, for removal: This API element is subject to removal in a future version.
    • UNSIGNED_INT

      public static final XSD.Datatype UNSIGNED_INT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • UNSIGNED_SHORT

      public static final XSD.Datatype UNSIGNED_SHORT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • UNSIGNED_BYTE

      public static final XSD.Datatype UNSIGNED_BYTE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • YEARMONTHDURATION

      public static final XSD.Datatype YEARMONTHDURATION
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • values

      public 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.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static XSD.Datatype valueOf(String name)
      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 name
      NullPointerException - 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

      public IRI getIri()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getCoreDatatype

      public CoreDatatype getCoreDatatype()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • from

      public static Optional<XSD.Datatype> from(IRI datatype)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • from

      public static Optional<XSD.Datatype> from(CoreDatatype.XSD datatype)
      Deprecated, for removal: This API element is subject to removal in a future version.