org.coode.owlapi.owlxmlparser
Class OWLAnnotationElementHandler

java.lang.Object
  extended by org.coode.owlapi.owlxmlparser.AbstractOWLElementHandler<OWLAnnotation>
      extended by org.coode.owlapi.owlxmlparser.OWLAnnotationElementHandler
All Implemented Interfaces:
OWLElementHandler<OWLAnnotation>

public class OWLAnnotationElementHandler
extends AbstractOWLElementHandler<OWLAnnotation>

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


Constructor Summary
OWLAnnotationElementHandler(OWLXMLParserHandler handler)
           
 
Method Summary
 void endElement()
           
 OWLAnnotation getOWLObject()
           
 void handleChild(AbstractIRIElementHandler handler)
           
 void handleChild(OWLAnnotationElementHandler handler)
           
 void handleChild(OWLAnnotationPropertyElementHandler handler)
           
 void handleChild(OWLAnonymousIndividualElementHandler handler)
           
 void handleChild(OWLLiteralElementHandler handler)
           
 boolean isTextContentPossible()
           
 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, setParentHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWLAnnotationElementHandler

public OWLAnnotationElementHandler(OWLXMLParserHandler handler)
Method Detail

startElement

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

endElement

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

handleChild

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

handleChild

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

handleChild

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

handleChild

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

handleChild

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

getOWLObject

public OWLAnnotation getOWLObject()

isTextContentPossible

public boolean isTextContentPossible()
Specified by:
isTextContentPossible in interface OWLElementHandler<OWLAnnotation>
Overrides:
isTextContentPossible in class AbstractOWLElementHandler<OWLAnnotation>