Serializable
, OWLAnonymousIndividualByIdProvider
, RDFConsumer
, TripleHandler
, AnonymousNodeChecker
public class OWLRDFConsumerAdapter extends OWLRDFConsumer implements TripleHandler
Constructor | Description |
---|---|
OWLRDFConsumerAdapter(OWLOntology ontology,
OWLOntologyLoaderConfiguration configuration) |
Modifier and Type | Method | Description |
---|---|---|
void |
handleBaseDirective(IRI base) |
Handle base directive.
|
void |
handleComment(String comment) |
Handle comment.
|
void |
handleEnd() |
Handle end.
|
void |
handlePrefixDirective(String prefixName,
String prefix) |
Handle prefix directive.
|
void |
handleTriple(IRI subject,
IRI predicate,
String object) |
Handle triple.
|
void |
handleTriple(IRI subject,
IRI predicate,
String object,
String lang) |
Handle triple.
|
void |
handleTriple(IRI subject,
IRI predicate,
String object,
IRI datatype) |
Handle triple.
|
void |
handleTriple(IRI subject,
IRI predicate,
IRI object) |
Handle triple.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAnnotatedSource, addClassExpression, addDataProperty, addDataRange, addObjectProperty, addPrefix, endModel, generateAndLogParseError, getAnnotatedSourceAnnotationMainNodes, getConfiguration, getDataFactory, getLastAddedAxiom, getOntology, getOntologyFormat, getOWLAnonymousIndividual, getOWLOntologyManager, getPendingAnnotations, includeModel, isAnonymousNode, isAnonymousNode, isAnonymousSharedNode, isClassExpression, isParsedAllTriples, isRestriction, logicalURI, remapIRI, remapOnlyIfRemapped, setExpectedAxioms, setOntologyFormat, startModel, statementWithLiteralValue, statementWithLiteralValue, statementWithResourceValue, statementWithResourceValue, translateAnnotations, translateClassExpression, translateDataPropertyExpression, translateDataRange, translateIndividual, translateObjectPropertyExpression
public OWLRDFConsumerAdapter(@Nonnull OWLOntology ontology, @Nonnull OWLOntologyLoaderConfiguration configuration)
ontology
- ontologyconfiguration
- configurationpublic void handlePrefixDirective(String prefixName, String prefix)
TripleHandler
handlePrefixDirective
in interface TripleHandler
prefixName
- the prefix nameprefix
- the prefixpublic void handleBaseDirective(IRI base)
TripleHandler
handleBaseDirective
in interface TripleHandler
base
- the basepublic void handleComment(String comment)
TripleHandler
handleComment
in interface TripleHandler
comment
- the commentpublic void handleTriple(@Nonnull IRI subject, @Nonnull IRI predicate, @Nonnull IRI object)
TripleHandler
handleTriple
in interface TripleHandler
subject
- the subjectpredicate
- the predicateobject
- the objectpublic void handleTriple(IRI subject, IRI predicate, String object)
TripleHandler
handleTriple
in interface TripleHandler
subject
- the subjectpredicate
- the predicateobject
- the objectpublic void handleTriple(IRI subject, IRI predicate, String object, String lang)
TripleHandler
handleTriple
in interface TripleHandler
subject
- the subjectpredicate
- the predicateobject
- the objectlang
- the langpublic void handleTriple(IRI subject, IRI predicate, String object, IRI datatype)
TripleHandler
handleTriple
in interface TripleHandler
subject
- the subjectpredicate
- the predicateobject
- the objectdatatype
- the datatypepublic void handleEnd()
TripleHandler
handleEnd
in interface TripleHandler
Copyright © 2018 The University of Manchester. All rights reserved.