Interface CoreDatatype

All Known Implementing Classes:
CoreDatatype.GEO, CoreDatatype.RDF, CoreDatatype.XSD

public interface CoreDatatype
  • Field Details

  • Method Details

    • isXSDDatatype

      default boolean isXSDDatatype()
      Checks whether the supplied datatype is an XML Schema Datatype.
      Returns:
      true if the datatype is an XML Schema Datatype
    • isRDFDatatype

      default boolean isRDFDatatype()
    • isGEODatatype

      default boolean isGEODatatype()
    • asXSDDatatype

      default Optional<CoreDatatype.XSD> asXSDDatatype()
    • asRDFDatatype

      default Optional<CoreDatatype.RDF> asRDFDatatype()
    • asGEODatatype

      default Optional<CoreDatatype.GEO> asGEODatatype()
    • getIri

      IRI getIri()
    • from

      static CoreDatatype from(IRI datatype)