public interface RDFConsumer
| Modifier and Type | Method and Description |
|---|---|
void |
endModel()
Called when model parsing is finished.
|
void |
includeModel(String logicalURI,
String physicalURI)
Receives the notification that the model being parsed includes another
model with supplied URIs.
|
void |
logicalURI(org.semanticweb.owlapi.model.IRI logicalURI)
Receives the logical URI of the model.
|
org.semanticweb.owlapi.model.IRI |
remapIRI(org.semanticweb.owlapi.model.IRI i)
for iris that need to be mapped to blank nodes, e.g., SWRL rules with an
IRI - the IRI should be dropped for such constructs.
|
String |
remapOnlyIfRemapped(String i)
for iris that have been remapped to blank nodes, e.g., SWRL rules: the
triple subject swrl:body object, for example, needs the subject to be
remapped consistently.
|
void |
startModel(org.semanticweb.owlapi.model.IRI physicalURI)
Called when model parsing is started.
|
void |
statementWithLiteralValue(org.semanticweb.owlapi.model.IRI subject,
org.semanticweb.owlapi.model.IRI predicate,
String object,
String language,
org.semanticweb.owlapi.model.IRI datatype)
Called when a statement with literal value is added to the model.
|
void |
statementWithLiteralValue(String subject,
String predicate,
String object,
String language,
String datatype)
Called when a statement with literal value is added to the model.
|
void |
statementWithResourceValue(org.semanticweb.owlapi.model.IRI subject,
org.semanticweb.owlapi.model.IRI predicate,
org.semanticweb.owlapi.model.IRI object)
Called when a statement with resource value is added to the model.
|
void |
statementWithResourceValue(String subject,
String predicate,
String object)
Called when a statement with resource value is added to the model.
|
void startModel(@Nonnull org.semanticweb.owlapi.model.IRI physicalURI)
physicalURI - physical URI of the modelorg.semanticweb.owlapi.model.OWLRuntimeException - OWLRuntimeExceptionvoid endModel()
org.semanticweb.owlapi.model.OWLRuntimeException - OWLRuntimeExceptionvoid statementWithResourceValue(@Nonnull String subject, @Nonnull String predicate, @Nonnull String object)
subject - URI of the subject resourcepredicate - URI of the predicate resourceobject - URI of the object resourceorg.semanticweb.owlapi.model.OWLRuntimeException - OWLRuntimeExceptionvoid statementWithResourceValue(@Nonnull org.semanticweb.owlapi.model.IRI subject, @Nonnull org.semanticweb.owlapi.model.IRI predicate, @Nonnull org.semanticweb.owlapi.model.IRI object)
subject - URI of the subject resourcepredicate - URI of the predicate resourceobject - URI of the object resourceorg.semanticweb.owlapi.model.OWLRuntimeException - OWLRuntimeExceptionvoid statementWithLiteralValue(@Nonnull String subject, @Nonnull String predicate, @Nonnull String object, @Nullable String language, @Nullable String datatype)
subject - URI of the subject resourcepredicate - URI of the predicate resourceobject - literal object valuelanguage - the languagedatatype - the URI of the literal's datatype (may be null)org.semanticweb.owlapi.model.OWLRuntimeException - OWLRuntimeExceptionvoid statementWithLiteralValue(@Nonnull org.semanticweb.owlapi.model.IRI subject, @Nonnull org.semanticweb.owlapi.model.IRI predicate, @Nonnull String object, String language, org.semanticweb.owlapi.model.IRI datatype)
subject - URI of the subject resourcepredicate - URI of the predicate resourceobject - literal object valuelanguage - the languagedatatype - the URI of the literal's datatype (may be null)org.semanticweb.owlapi.model.OWLRuntimeException - OWLRuntimeExceptionvoid logicalURI(@Nonnull org.semanticweb.owlapi.model.IRI logicalURI)
logicalURI - logical URI of the modelorg.semanticweb.owlapi.model.OWLRuntimeException - OWLRuntimeExceptionvoid includeModel(@Nullable String logicalURI, @Nullable String physicalURI)
logicalURI - logical URI of the modelphysicalURI - physical URI of the modelorg.semanticweb.owlapi.model.OWLRuntimeException - OWLRuntimeException@Nonnull org.semanticweb.owlapi.model.IRI remapIRI(@Nonnull org.semanticweb.owlapi.model.IRI i)
i - iri to remap if not blank@Nonnull String remapOnlyIfRemapped(@Nonnull String i)
i - iri to remap if not blankCopyright © 2014 The University of Manchester. All Rights Reserved.