org.coode.owlapi.owlxmlparser
Class OWLOntologyHandler

java.lang.Object
  extended by org.coode.owlapi.owlxmlparser.AbstractOWLElementHandler<OWLOntology>
      extended by 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


Constructor Summary
OWLOntologyHandler(OWLXMLParserHandler handler)
           
 
Method Summary
 void attribute(java.lang.String name, java.lang.String value)
           
 void endElement()
           
 OWLOntology getOWLObject()
           
 void handleChild(AbstractClassExpressionElementHandler handler)
           
 void handleChild(AbstractOWLAxiomElementHandler handler)
           
 void handleChild(AbstractOWLDataRangeHandler handler)
           
 void handleChild(OWLAnnotationElementHandler handler)
           
 void setParentHandler(OWLElementHandler handler)
           
 void startElement(java.lang.String name)
           
 
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
 

Constructor Detail

OWLOntologyHandler

public OWLOntologyHandler(OWLXMLParserHandler handler)
Method Detail

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>