org.coode.owlapi.owlxmlparser
Class OWLAnnotationElementHandler
java.lang.Object
org.coode.owlapi.owlxmlparser.AbstractOWLElementHandler<OWLAnnotation>
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
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 |
OWLAnnotationElementHandler
public OWLAnnotationElementHandler(OWLXMLParserHandler handler)
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>