O - handled typepublic abstract class AbstractOWLElementHandler<O> extends Object implements OWLElementHandler<O>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractOWLElementHandler(OWLXMLParserHandler handler) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendElement, getOWLObjectprotected AbstractOWLElementHandler(OWLXMLParserHandler handler)
handler - owlxml handlerpublic org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration getConfiguration()
public org.semanticweb.owlapi.model.IRI getIRIFromAttribute(String localName, String value) throws org.semanticweb.owlapi.io.OWLParserException
localName - localNamevalue - valueorg.semanticweb.owlapi.io.OWLParserException - if an error is raisedpublic org.semanticweb.owlapi.model.IRI getIRIFromElement(String elementLocalName, String textContent) throws org.semanticweb.owlapi.io.OWLParserException
elementLocalName - elementLocalNametextContent - textContentorg.semanticweb.owlapi.io.OWLParserException - if an error is raisedprotected org.semanticweb.owlapi.model.OWLOntologyManager getOWLOntologyManager()
protected org.semanticweb.owlapi.model.OWLOntology getOntology()
protected org.semanticweb.owlapi.model.OWLDataFactory getOWLDataFactory()
public void setParentHandler(OWLElementHandler<?> handler)
setParentHandler in interface OWLElementHandler<O>handler - element handlerprotected OWLElementHandler<?> getParentHandler()
public void attribute(String localName, String value) throws org.semanticweb.owlapi.io.OWLParserException
attribute in interface OWLElementHandler<O>localName - local attribute namevalue - attribute valueorg.semanticweb.owlapi.io.OWLParserException - if an error is raisedprotected org.semanticweb.owlapi.model.IRI getIRI(String iri) throws org.semanticweb.owlapi.io.OWLParserException
org.semanticweb.owlapi.io.OWLParserExceptionprotected org.semanticweb.owlapi.model.IRI getAbbreviatedIRI(String abbreviatedIRI) throws org.semanticweb.owlapi.io.OWLParserException
org.semanticweb.owlapi.io.OWLParserExceptionprotected int getLineNumber()
protected int getColumnNumber()
public void startElement(String name) throws OWLXMLParserException
startElement in interface OWLElementHandler<O>name - element nameOWLXMLParserException - if an error is raisedprotected String getElementName()
public void handleChild(AbstractOWLAxiomElementHandler _handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<O>_handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(AbstractClassExpressionElementHandler _handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<O>_handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(AbstractOWLDataRangeHandler _handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<O>_handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(AbstractOWLObjectPropertyElementHandler _handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<O>_handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(OWLDataPropertyElementHandler _handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<O>_handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(OWLIndividualElementHandler _handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<O>_handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(OWLLiteralElementHandler _handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<O>_handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(OWLAnnotationElementHandler _handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<O>_handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(OWLSubObjectPropertyChainElementHandler _handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<O>_handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(OWLDatatypeFacetRestrictionElementHandler _handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<O>_handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(OWLAnnotationPropertyElementHandler _handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<O>_handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(OWLAnonymousIndividualElementHandler _handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<O>_handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(AbstractIRIElementHandler _handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<O>_handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(SWRLVariableElementHandler _handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<O>_handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(SWRLAtomElementHandler _handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<O>_handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(SWRLAtomListElementHandler _handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<O>_handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChars(char[] chars,
int start,
int length)
handleChars in interface OWLElementHandler<O>chars - chars to handlestart - start indexlength - end indexpublic String getText()
getText in interface OWLElementHandler<O>public boolean isTextContentPossible()
isTextContentPossible in interface OWLElementHandler<O>Copyright © 2014 The University of Manchester. All Rights Reserved.