org.coode.owlapi.owlxmlparser
Class AbstractOWLAxiomElementHandler

java.lang.Object
  extended by org.coode.owlapi.owlxmlparser.AbstractOWLElementHandler<OWLAxiom>
      extended by org.coode.owlapi.owlxmlparser.AbstractOWLAxiomElementHandler
All Implemented Interfaces:
OWLElementHandler<OWLAxiom>
Direct Known Subclasses:
AbstractOperandAxiomElementHandler, AbstractOWLAssertionAxiomElementHandler, AbstractOWLPropertyCharacteristicAxiomElementHandler, LegacyEntityAnnotationElementHandler, OWLAnnotationAssertionElementHandler, OWLClassAssertionAxiomElementHandler, OWLDataPropertyDomainAxiomElementHandler, OWLDataPropertyRangeAxiomElementHandler, OWLDatatypeDefinitionElementHandler, OWLDeclarationAxiomElementHandler, OWLDisjointUnionElementHandler, OWLHasKeyElementHandler, OWLObjectPropertyDomainElementHandler, OWLObjectPropertyRangeAxiomElementHandler, OWLSubClassAxiomElementHandler, OWLSubDataPropertyOfAxiomElementHandler, OWLSubObjectPropertyOfAxiomElementHandler, SWRLRuleElementHandler

public abstract class AbstractOWLAxiomElementHandler
extends AbstractOWLElementHandler<OWLAxiom>

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 14-Dec-2006


Constructor Summary
AbstractOWLAxiomElementHandler(OWLXMLParserHandler handler)
           
 
Method Summary
protected abstract  OWLAxiom createAxiom()
           
 void endElement()
           
 java.util.Set<OWLAnnotation> getAnnotations()
           
 OWLAxiom getOWLObject()
           
 void handleChild(OWLAnnotationElementHandler handler)
           
 void setAxiom(OWLAxiom axiom)
           
 void startElement(java.lang.String name)
           
 
Methods inherited from class org.coode.owlapi.owlxmlparser.AbstractOWLElementHandler
attribute, getAbbreviatedIRI, getColumnNumber, getElementName, getIRI, getIRIFromAttribute, getIRIFromElement, getLineNumber, getOntology, getOWLDataFactory, getOWLOntologyManager, getParentHandler, getText, handleChars, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, isTextContentPossible, setParentHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractOWLAxiomElementHandler

public AbstractOWLAxiomElementHandler(OWLXMLParserHandler handler)
Method Detail

getOWLObject

public OWLAxiom getOWLObject()

setAxiom

public void setAxiom(OWLAxiom axiom)

startElement

public void startElement(java.lang.String name)
                  throws OWLXMLParserException
Specified by:
startElement in interface OWLElementHandler<OWLAxiom>
Overrides:
startElement in class AbstractOWLElementHandler<OWLAxiom>
Throws:
OWLXMLParserException

handleChild

public void handleChild(OWLAnnotationElementHandler handler)
                 throws OWLXMLParserException
Specified by:
handleChild in interface OWLElementHandler<OWLAxiom>
Overrides:
handleChild in class AbstractOWLElementHandler<OWLAxiom>
Throws:
OWLXMLParserException

endElement

public final void endElement()
                      throws OWLParserException,
                             UnloadableImportException
Throws:
OWLParserException
UnloadableImportException

getAnnotations

public java.util.Set<OWLAnnotation> getAnnotations()

createAxiom

protected abstract OWLAxiom createAxiom()
                                 throws OWLXMLParserException
Throws:
OWLXMLParserException