public class OWLOntologyHandler extends AbstractOWLElementHandler<OWLOntology>
Constructor and Description |
---|
OWLOntologyHandler(OWLXMLParserHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
attribute(String name,
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(String name) |
getConfiguration, getIRIFromAttribute, getIRIFromElement, getText, handleChars, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, isTextContentPossible
public OWLOntologyHandler(OWLXMLParserHandler handler)
handler
- owlxml handlerpublic void startElement(String name) throws OWLXMLParserException
startElement
in interface OWLElementHandler<OWLOntology>
startElement
in class AbstractOWLElementHandler<OWLOntology>
name
- element nameOWLXMLParserException
- if an error is raisedpublic void attribute(String name, String value) throws OWLParserException
attribute
in interface OWLElementHandler<OWLOntology>
attribute
in class AbstractOWLElementHandler<OWLOntology>
name
- local attribute namevalue
- attribute valueOWLParserException
- if an error is raisedpublic void handleChild(AbstractOWLAxiomElementHandler handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<OWLOntology>
handleChild
in class AbstractOWLElementHandler<OWLOntology>
handler
- element handlerOWLXMLParserException
- if an error is raisedpublic void handleChild(AbstractOWLDataRangeHandler handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<OWLOntology>
handleChild
in class AbstractOWLElementHandler<OWLOntology>
handler
- element handlerOWLXMLParserException
- if an error is raisedpublic void handleChild(AbstractClassExpressionElementHandler handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<OWLOntology>
handleChild
in class AbstractOWLElementHandler<OWLOntology>
handler
- element handlerOWLXMLParserException
- if an error is raisedpublic void handleChild(OWLAnnotationElementHandler handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<OWLOntology>
handleChild
in class AbstractOWLElementHandler<OWLOntology>
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 OWLOntology getOWLObject()
public void setParentHandler(OWLElementHandler<?> handler)
setParentHandler
in interface OWLElementHandler<OWLOntology>
setParentHandler
in class AbstractOWLElementHandler<OWLOntology>
handler
- element handlerCopyright © 2017 The University of Manchester. All Rights Reserved.