@FunctionalInterface public interface DatatypeProvider extends Serializable
| Modifier and Type | Method and Description |
|---|---|
default OWLDatatype |
getOWLDatatype(HasIRI iri)
Gets an instance of
OWLDatatype with the same IRI as the input. |
OWLDatatype |
getOWLDatatype(IRI iri)
Gets an instance of
OWLDatatype that has the specified
IRI. |
default OWLDatatype |
getOWLDatatype(String iri)
Gets an instance of
OWLDatatype that has the specified
IRI. |
default OWLDatatype |
getOWLDatatype(String abbreviatedIRI,
PrefixManager prefixManager)
Gets an OWLDatatype that has an IRI that is obtained by expanding an
abbreviated name using an appropriate prefix mapping.
|
default OWLDatatype |
getOWLDatatype(String namespace,
String remainder)
Gets an instance of
OWLDatatype that has the specified
IRI. |
OWLDatatype getOWLDatatype(IRI iri)
OWLDatatype that has the specified
IRI.iri - The IRI.OWLDatatype that has the specified IRI.default OWLDatatype getOWLDatatype(HasIRI iri)
OWLDatatype with the same IRI as the input.iri - The HasIRI instance.OWLDatatype that has iri.getIRI() as IRI.default OWLDatatype getOWLDatatype(String iri)
OWLDatatype that has the specified
IRI. This is the same as getOWLDatatype(IRI.create(iri).iri - The IRI.OWLDatatype that has the specified IRI.default OWLDatatype getOWLDatatype(String namespace, @Nullable String remainder)
OWLDatatype that has the specified
IRI. This is the same as
getOWLDatatype(IRI.create(namespace, remainder)namespace - The IRI namespace.remainder - optional reminder or local nameOWLDatatype that has the specified IRI.default OWLDatatype getOWLDatatype(String abbreviatedIRI, PrefixManager prefixManager)
abbreviatedIRI - The abbreviated IRI, which is of the form PREFIX_NAME:RC, where
PREFIX_NAME may be the empty string (the default prefix). Note that abbreviated IRIs always
contain a colon as a delimiter, even if the prefix name is the empty string.prefixManager - The prefix manager that is responsible for mapping prefix names to
prefix IRIs.OWLRuntimeException - if the prefix name in the specified abbreviated IRI does not have
a mapping to a prefix in the specified prefix manager.Copyright © 2017 The University of Manchester. All rights reserved.