public class OWLRDFConsumerAdapter extends OWLRDFConsumer implements TripleHandler
Constructor and Description |
---|
OWLRDFConsumerAdapter(OWLOntology ontology,
AnonymousNodeChecker checker,
OWLOntologyLoaderConfiguration configuration)
Instantiates a new oWLRDF consumer adapter.
|
OWLRDFConsumerAdapter(OWLOntologyManager owlOntologyManager,
OWLOntology ontology,
AnonymousNodeChecker checker,
OWLOntologyLoaderConfiguration configuration)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
handleBaseDirective(String 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,
IRI object)
Handle triple.
|
void |
handleTriple(IRI subject,
IRI predicate,
String object)
Handle triple.
|
void |
handleTriple(IRI subject,
IRI predicate,
String object,
IRI datatype)
Handle triple.
|
void |
handleTriple(IRI subject,
IRI predicate,
String object,
String lang)
Handle triple.
|
addAnnotatedSource, addAxiom, addClassExpression, addDataProperty, addDataRange, addFirst, addFirst, addModelAttribte, addObjectProperty, addOntology, addPrefix, addRest, addTriple, addTriple, endModel, getAnnotatedSourceAnnotationMainNodes, getClassExpressionIfTranslated, getConfiguration, getDataFactory, getFirstLiteral, getFirstResource, getLastAddedAxiom, getLiteralObject, getLiteralObject, getLiteralObjects, getOntologies, getOntology, getOntologyFormat, getOWLAnonymousIndividual, getOWLOntologyManager, getPendingAnnotations, getPredicatesBySubject, getResourceObject, getResourceObject, getResourceObjects, getRest, getSynonym, handle, handle, hasPredicate, importsClosureChanged, includeModel, isAxiom, isClassExpression, isDataRange, isParsedAllTriples, isRestriction, isTriplePresent, isTriplePresent, logicalURI, remapIRI, remapOnlyIfRemapped, setExpectedAxioms, setIRIProvider, setOntologyFormat, setPendingAnnotations, startModel, statementWithLiteralValue, statementWithResourceValue, translateAnnotations, translateClassExpression, translateDataPropertyExpression, translateDataRange, translateIndividual, translateObjectPropertyExpression, translateToClassExpressionSet, translateToConstantSet, translateToDataPropertyList, translateToDataRangeSet, translateToFacetRestrictionSet, translateToIndividualSet, translateToObjectPropertyList
@Deprecated public OWLRDFConsumerAdapter(OWLOntologyManager owlOntologyManager, OWLOntology ontology, AnonymousNodeChecker checker, OWLOntologyLoaderConfiguration configuration)
owlOntologyManager
- the owl ontology managerontology
- the ontologychecker
- the checkerconfiguration
- the configurationpublic OWLRDFConsumerAdapter(OWLOntology ontology, AnonymousNodeChecker checker, OWLOntologyLoaderConfiguration configuration)
ontology
- the ontologychecker
- the checkerconfiguration
- the configurationpublic void handlePrefixDirective(String prefixName, String prefix)
TripleHandler
handlePrefixDirective
in interface TripleHandler
prefixName
- the prefix nameprefix
- the prefixpublic void handleBaseDirective(String base)
TripleHandler
handleBaseDirective
in interface TripleHandler
base
- the basepublic void handleComment(String comment)
TripleHandler
handleComment
in interface TripleHandler
comment
- the commentpublic void handleTriple(IRI subject, IRI predicate, 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 © 2017 The University of Manchester. All Rights Reserved.