public enum OWL2Datatype extends Enum<OWL2Datatype>
| Modifier and Type | Class and Description |
|---|---|
static class |
OWL2Datatype.Category |
static class |
OWL2Datatype.WhiteSpaceNormalisation |
| Modifier and Type | Method and Description |
|---|---|
OWL2Datatype.Category |
getCategory()
Gets the category for this datatype
|
static OWL2Datatype |
getDatatype(IRI datatype)
Given a URI that identifies an OWLDatatype, this method obtains the
corresponding OWLDatatypeVocabulary
|
static Set<IRI> |
getDatatypeIRIs()
Gets all of the built in datatype URIs
|
Collection<OWLFacet> |
getFacets()
Gets the facets that are allowed for facet restrictions of this
datatype
|
IRI |
getIRI()
Gets the IRI of this datatype
|
Pattern |
getPattern()
Gets the Pattern that specifies the regular expression for a datatype
|
String |
getShortName()
Gets the short human readable name for this datatype
|
URI |
getURI()
Gets the URI of this datatype
|
static boolean |
isBuiltIn(IRI datatypeIRI)
Determines if the specified IRI identifies a built in datatype.
|
boolean |
isFinite()
Determines whether or not this datatype is finite.
|
boolean |
isInLexicalSpace(String s)
Determines if the specified string is the lexical space of this datatype
|
boolean |
isNumeric()
Determines if this datatype is a numeric datatype
|
static OWL2Datatype |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OWL2Datatype[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OWL2Datatype RDF_XML_LITERAL
public static final OWL2Datatype RDFS_LITERAL
public static final OWL2Datatype RDF_PLAIN_LITERAL
public static final OWL2Datatype OWL_REAL
public static final OWL2Datatype OWL_RATIONAL
public static final OWL2Datatype XSD_DECIMAL
public static final OWL2Datatype XSD_INTEGER
public static final OWL2Datatype XSD_NON_NEGATIVE_INTEGER
public static final OWL2Datatype XSD_NON_POSITIVE_INTEGER
public static final OWL2Datatype XSD_POSITIVE_INTEGER
public static final OWL2Datatype XSD_NEGATIVE_INTEGER
public static final OWL2Datatype XSD_LONG
public static final OWL2Datatype XSD_INT
public static final OWL2Datatype XSD_SHORT
public static final OWL2Datatype XSD_BYTE
public static final OWL2Datatype XSD_UNSIGNED_LONG
public static final OWL2Datatype XSD_UNSIGNED_INT
public static final OWL2Datatype XSD_UNSIGNED_SHORT
public static final OWL2Datatype XSD_UNSIGNED_BYTE
public static final OWL2Datatype XSD_DOUBLE
public static final OWL2Datatype XSD_FLOAT
public static final OWL2Datatype XSD_STRING
public static final OWL2Datatype XSD_NORMALIZED_STRING
public static final OWL2Datatype XSD_TOKEN
public static final OWL2Datatype XSD_LANGUAGE
public static final OWL2Datatype XSD_NAME
public static final OWL2Datatype XSD_NCNAME
public static final OWL2Datatype XSD_NMTOKEN
public static final OWL2Datatype XSD_BOOLEAN
public static final OWL2Datatype XSD_HEX_BINARY
public static final OWL2Datatype XSD_BASE_64_BINARY
public static final OWL2Datatype XSD_ANY_URI
public static final OWL2Datatype XSD_DATE_TIME
public static final OWL2Datatype XSD_DATE_TIME_STAMP
public static OWL2Datatype[] values()
for (OWL2Datatype c : OWL2Datatype.values()) System.out.println(c);
public static OWL2Datatype 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 static Set<IRI> getDatatypeIRIs()
public Pattern getPattern()
nullpublic static boolean isBuiltIn(IRI datatypeIRI)
datatypeIRI - The datatype IRItrue if the IRI identifies a built in datatype, or
false if the IRI does not identify a built in datatype.public static OWL2Datatype getDatatype(IRI datatype)
datatype - The datatype URIOWLRuntimeException - if the specified URI is not a built in datatype URIpublic String getShortName()
public IRI getIRI()
public URI getURI()
public OWL2Datatype.Category getCategory()
public boolean isNumeric()
true if this datatype is a numeric datatypepublic boolean isFinite()
true if this datatype is finite, or
false if this datatype is infinite.public Collection<OWLFacet> getFacets()
public boolean isInLexicalSpace(String s)
s - The string to testtrue if the string is in the lexical space, otherwise falseCopyright © 2013 The University of Manchester. All Rights Reserved.