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