@FunctionalInterface public interface DataPropertyProvider extends Serializable
Modifier and Type | Method and Description |
---|---|
default OWLDataProperty |
getOWLDataProperty(HasIRI iri)
Gets an instance of
OWLDataProperty with the same IRI as the
input. |
OWLDataProperty |
getOWLDataProperty(IRI iri)
Gets an instance of
OWLDataProperty that has the specified
IRI . |
default OWLDataProperty |
getOWLDataProperty(String iri)
Gets an instance of
OWLDataProperty that has the specified
IRI . |
default OWLDataProperty |
getOWLDataProperty(String abbreviatedIRI,
PrefixManager prefixManager)
Gets an OWLDataProperty that has an IRI that is obtained by expanding an
abbreviated name using an appropriate prefix mapping.
|
default OWLDataProperty |
getOWLDataProperty(String namespace,
String remainder)
Gets an instance of
OWLDataProperty that has the specified
IRI . |
OWLDataProperty getOWLDataProperty(IRI iri)
OWLDataProperty
that has the specified
IRI
.iri
- The IRI.OWLDataProperty
that has the specified IRI.default OWLDataProperty getOWLDataProperty(HasIRI iri)
OWLDataProperty
with the same IRI as the
input.iri
- The HasIRI instance.OWLDataProperty
that has iri.getIRI() as IRI.default OWLDataProperty getOWLDataProperty(String iri)
OWLDataProperty
that has the specified
IRI
. This is the same as
getOWLDataProperty(IRI.create(iri))
.iri
- The IRI string.OWLDataProperty
that has the specified IRI.default OWLDataProperty getOWLDataProperty(String namespace, @Nullable String remainder)
OWLDataProperty
that has the specified
IRI
. This is the same as
getOWLDataProperty(IRI.create(namespace, remainder))
.namespace
- The IRI namespace.remainder
- optional remainder or local nameOWLDataProperty
that has the specified IRI.default OWLDataProperty getOWLDataProperty(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 © 2020 The University of Manchester. All rights reserved.