|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<OWL2Datatype> org.semanticweb.owlapi.vocab.OWL2Datatype
public enum OWL2Datatype
Author: Matthew Horridge
The University Of Manchester
Information Management Group
Date:
11-Nov-2008
An enumeration of the datatypes in the OWL 2 specification. These are the datatypes in the OWL 2 datatype map.
Nested Class Summary | |
---|---|
static class |
OWL2Datatype.Category
|
static class |
OWL2Datatype.WhiteSpaceNormalisation
|
Method Summary | |
---|---|
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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final OWL2Datatype RDF_XML_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
Method Detail |
---|
public static final 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 namepublic static java.util.Set<IRI> getDatatypeIRIs()
public java.util.regex.Pattern getPattern()
null
public static boolean isBuiltIn(IRI datatypeIRI)
datatypeIRI
- The datatype IRI
true
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 URI
OWLRuntimeException
- 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 test
true
if the string is in the lexical space, otherwise false
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |