org.coode.owlapi.owlxmlparser
Class OWLOntologyHandler
java.lang.Object
org.coode.owlapi.owlxmlparser.AbstractOWLElementHandler<OWLOntology>
org.coode.owlapi.owlxmlparser.OWLOntologyHandler
- All Implemented Interfaces:
- OWLElementHandler<OWLOntology>
public class OWLOntologyHandler
- extends AbstractOWLElementHandler<OWLOntology>
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 13-Dec-2006
Methods inherited from class org.coode.owlapi.owlxmlparser.AbstractOWLElementHandler |
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, isTextContentPossible |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OWLOntologyHandler
public OWLOntologyHandler(OWLXMLParserHandler handler)
startElement
public void startElement(java.lang.String name)
throws OWLXMLParserException
- Specified by:
startElement
in interface OWLElementHandler<OWLOntology>
- Overrides:
startElement
in class AbstractOWLElementHandler<OWLOntology>
- Throws:
OWLXMLParserException
attribute
public void attribute(java.lang.String name,
java.lang.String value)
throws OWLParserException
- Specified by:
attribute
in interface OWLElementHandler<OWLOntology>
- Overrides:
attribute
in class AbstractOWLElementHandler<OWLOntology>
- Throws:
OWLParserException
handleChild
public void handleChild(AbstractOWLAxiomElementHandler handler)
throws OWLXMLParserException
- Specified by:
handleChild
in interface OWLElementHandler<OWLOntology>
- Overrides:
handleChild
in class AbstractOWLElementHandler<OWLOntology>
- Throws:
OWLXMLParserException
handleChild
public void handleChild(AbstractOWLDataRangeHandler handler)
throws OWLXMLParserException
- Specified by:
handleChild
in interface OWLElementHandler<OWLOntology>
- Overrides:
handleChild
in class AbstractOWLElementHandler<OWLOntology>
- Throws:
OWLXMLParserException
handleChild
public void handleChild(AbstractClassExpressionElementHandler handler)
throws OWLXMLParserException
- Specified by:
handleChild
in interface OWLElementHandler<OWLOntology>
- Overrides:
handleChild
in class AbstractOWLElementHandler<OWLOntology>
- Throws:
OWLXMLParserException
handleChild
public void handleChild(OWLAnnotationElementHandler handler)
throws OWLXMLParserException
- Specified by:
handleChild
in interface OWLElementHandler<OWLOntology>
- Overrides:
handleChild
in class AbstractOWLElementHandler<OWLOntology>
- Throws:
OWLXMLParserException
endElement
public void endElement()
throws OWLParserException,
UnloadableImportException
- Throws:
OWLParserException
UnloadableImportException
getOWLObject
public OWLOntology getOWLObject()
setParentHandler
public void setParentHandler(OWLElementHandler handler)
- Specified by:
setParentHandler
in interface OWLElementHandler<OWLOntology>
- Overrides:
setParentHandler
in class AbstractOWLElementHandler<OWLOntology>