public class OWLOntologyHandler extends AbstractOWLElementHandler<org.semanticweb.owlapi.model.OWLOntology>
| Constructor and Description |
|---|
OWLOntologyHandler(OWLXMLParserHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
attribute(String name,
String value) |
void |
endElement() |
org.semanticweb.owlapi.model.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) |
getAbbreviatedIRI, getColumnNumber, getConfiguration, getElementName, getIRI, getIRIFromAttribute, getIRIFromElement, getLineNumber, getOntology, getOWLDataFactory, getOWLOntologyManager, getParentHandler, getText, handleChars, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, isTextContentPossiblepublic OWLOntologyHandler(OWLXMLParserHandler handler)
handler - owlxml handlerpublic void startElement(String name) throws OWLXMLParserException
startElement in interface OWLElementHandler<org.semanticweb.owlapi.model.OWLOntology>startElement in class AbstractOWLElementHandler<org.semanticweb.owlapi.model.OWLOntology>name - element nameOWLXMLParserException - if an error is raisedpublic void attribute(String name, String value) throws org.semanticweb.owlapi.io.OWLParserException
attribute in interface OWLElementHandler<org.semanticweb.owlapi.model.OWLOntology>attribute in class AbstractOWLElementHandler<org.semanticweb.owlapi.model.OWLOntology>name - local attribute namevalue - attribute valueorg.semanticweb.owlapi.io.OWLParserException - if an error is raisedpublic void handleChild(AbstractOWLAxiomElementHandler handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<org.semanticweb.owlapi.model.OWLOntology>handleChild in class AbstractOWLElementHandler<org.semanticweb.owlapi.model.OWLOntology>handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(AbstractOWLDataRangeHandler handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<org.semanticweb.owlapi.model.OWLOntology>handleChild in class AbstractOWLElementHandler<org.semanticweb.owlapi.model.OWLOntology>handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(AbstractClassExpressionElementHandler handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<org.semanticweb.owlapi.model.OWLOntology>handleChild in class AbstractOWLElementHandler<org.semanticweb.owlapi.model.OWLOntology>handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(OWLAnnotationElementHandler handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<org.semanticweb.owlapi.model.OWLOntology>handleChild in class AbstractOWLElementHandler<org.semanticweb.owlapi.model.OWLOntology>handler - element handlerOWLXMLParserException - if an error is raisedpublic void endElement()
throws org.semanticweb.owlapi.io.OWLParserException,
org.semanticweb.owlapi.model.UnloadableImportException
org.semanticweb.owlapi.io.OWLParserException - if an error is raisedorg.semanticweb.owlapi.model.UnloadableImportException - if an import cannot be resolvedpublic org.semanticweb.owlapi.model.OWLOntology getOWLObject()
public void setParentHandler(OWLElementHandler<?> handler)
setParentHandler in interface OWLElementHandler<org.semanticweb.owlapi.model.OWLOntology>setParentHandler in class AbstractOWLElementHandler<org.semanticweb.owlapi.model.OWLOntology>handler - element handlerCopyright © 2014 The University of Manchester. All Rights Reserved.