public enum OWL2Datatype extends java.lang.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 java.util.Set<IRI> |
getDatatypeIRIs()
Gets all of the built in datatype URIs
|
java.util.Collection<OWLFacet> |
getFacets()
Gets the facets that are allowed for facet restrictions of this
datatype
|
IRI |
getIRI()
Gets the IRI of this datatype
|
java.util.regex.Pattern |
getPattern()
Gets the Pattern that specifies the regular expression for a datatype
|
java.lang.String |
getShortName()
Gets the short human readable name for this datatype
|
java.net.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(java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.util.Set<IRI> getDatatypeIRIs()
public java.util.regex.Pattern getPattern()
null
public 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 java.lang.String getShortName()
public IRI getIRI()
public java.net.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 java.util.Collection<OWLFacet> getFacets()
public boolean isInLexicalSpace(java.lang.String s)
s
- The string to testtrue
if the string is in the lexical space, otherwise false