org.coode.owlapi.rdfxml.parser
Class TypeAxiomHandler

java.lang.Object
  extended by org.coode.owlapi.rdfxml.parser.AbstractTripleHandler
      extended by org.coode.owlapi.rdfxml.parser.AbstractResourceTripleHandler
          extended by org.coode.owlapi.rdfxml.parser.TriplePredicateHandler
              extended by org.coode.owlapi.rdfxml.parser.BuiltInTypeHandler
                  extended by 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


Constructor Summary
TypeAxiomHandler(OWLRDFConsumer consumer)
           
TypeAxiomHandler(OWLRDFConsumer consumer, IRI typeIRI)
           
 
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.BuiltInTypeHandler
canHandle, getTypeIRI
 
Methods inherited from class org.coode.owlapi.rdfxml.parser.TriplePredicateHandler
getPredicateIRI
 
Methods inherited from class org.coode.owlapi.rdfxml.parser.AbstractResourceTripleHandler
isSubjectOrObjectAnonymous
 
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
 

Constructor Detail

TypeAxiomHandler

public TypeAxiomHandler(OWLRDFConsumer consumer)

TypeAxiomHandler

public TypeAxiomHandler(OWLRDFConsumer consumer,
                        IRI typeIRI)
Method Detail

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)