public abstract class AbstractOWLAxiomElementHandler extends AbstractOWLElementHandler<OWLAxiom>
Constructor and Description |
---|
AbstractOWLAxiomElementHandler(OWLXMLParserHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
endElement() |
Set<OWLAnnotation> |
getAnnotations() |
OWLAxiom |
getOWLObject() |
void |
handleChild(OWLAnnotationElementHandler handler) |
void |
setAxiom(OWLAxiom axiom) |
void |
startElement(String name) |
attribute, getConfiguration, getIRIFromAttribute, getIRIFromElement, getText, handleChars, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, isTextContentPossible, setParentHandler
public AbstractOWLAxiomElementHandler(OWLXMLParserHandler handler)
handler
- owlxml handlerpublic OWLAxiom getOWLObject()
public void setAxiom(OWLAxiom axiom)
axiom
- axiom to addpublic void startElement(String name) throws OWLXMLParserException
startElement
in interface OWLElementHandler<OWLAxiom>
startElement
in class AbstractOWLElementHandler<OWLAxiom>
name
- element nameOWLXMLParserException
- if an error is raisedpublic void handleChild(OWLAnnotationElementHandler handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<OWLAxiom>
handleChild
in class AbstractOWLElementHandler<OWLAxiom>
handler
- element handlerOWLXMLParserException
- if an error is raisedpublic void endElement() throws OWLParserException, UnloadableImportException
OWLParserException
- if an error is raisedUnloadableImportException
- if an import cannot be resolvedpublic Set<OWLAnnotation> getAnnotations()
Copyright © 2017 The University of Manchester. All Rights Reserved.