org.coode.owlapi.rdfxml.parser
Class TypeAxiomHandler
java.lang.Object
org.coode.owlapi.rdfxml.parser.AbstractTripleHandler
org.coode.owlapi.rdfxml.parser.AbstractResourceTripleHandler
org.coode.owlapi.rdfxml.parser.TriplePredicateHandler
org.coode.owlapi.rdfxml.parser.BuiltInTypeHandler
org.coode.owlapi.rdfxml.parser.TypeAxiomHandler
public class TypeAxiomHandler
- extends BuiltInTypeHandler
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 11-Dec-2006
Method Summary |
boolean |
canHandleStreaming(IRI subject,
IRI predicate,
IRI object)
|
protected IRI |
getPropertyTriplePredicate()
Gets the IRI of the predicate of the triple that specifies that predicate of a reified axiom |
protected IRI |
getSourceTriplePredicate()
Gets the IRI of the predicate of the triple that specifies the source of a reified axiom |
protected IRI |
getTargetTriplePredicate()
Gets the IRI of the predicate of the triple that specifies the target of a reified axiom |
protected OWLAxiom |
handleAxiomTriples(IRI subjectTriple,
IRI predicateTriple,
IRI objectTriple,
java.util.Set<OWLAnnotation> annotations)
|
protected OWLAxiom |
handleAxiomTriples(IRI subjectTripleObject,
IRI predicateTripleObject,
OWLLiteral con,
java.util.Set<OWLAnnotation> annotations)
|
void |
handleTriple(IRI subject,
IRI predicate,
IRI object)
|
Methods inherited from class org.coode.owlapi.rdfxml.parser.AbstractTripleHandler |
addAxiom, consumeTriple, consumeTriple, getConsumer, getDataFactory, getPendingAnnotations, isAnonymous, translateClassExpression, translateDataProperty, translateDataRange, translateIndividual, translateObjectProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeAxiomHandler
public TypeAxiomHandler(OWLRDFConsumer consumer)
TypeAxiomHandler
public TypeAxiomHandler(OWLRDFConsumer consumer,
IRI typeIRI)
canHandleStreaming
public boolean canHandleStreaming(IRI subject,
IRI predicate,
IRI object)
- Overrides:
canHandleStreaming
in class BuiltInTypeHandler
getTargetTriplePredicate
protected IRI getTargetTriplePredicate()
- Gets the IRI of the predicate of the triple that specifies the target of a reified axiom
- Returns:
- The IRI, by default this is owl:annotatedTarget
getPropertyTriplePredicate
protected IRI getPropertyTriplePredicate()
- Gets the IRI of the predicate of the triple that specifies that predicate of a reified axiom
- Returns:
- The IRI, by default this is owl:annotatedProperty
getSourceTriplePredicate
protected IRI getSourceTriplePredicate()
- Gets the IRI of the predicate of the triple that specifies the source of a reified axiom
- Returns:
- The IRI, by default this is owl:annotatedSource
handleTriple
public void handleTriple(IRI subject,
IRI predicate,
IRI object)
throws UnloadableImportException
- Specified by:
handleTriple
in class AbstractResourceTripleHandler
- Throws:
UnloadableImportException
handleAxiomTriples
protected OWLAxiom handleAxiomTriples(IRI subjectTriple,
IRI predicateTriple,
IRI objectTriple,
java.util.Set<OWLAnnotation> annotations)
handleAxiomTriples
protected OWLAxiom handleAxiomTriples(IRI subjectTripleObject,
IRI predicateTripleObject,
OWLLiteral con,
java.util.Set<OWLAnnotation> annotations)