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 OWLOntologyLoaderConfiguration getConfiguration()
public IRI getIRIFromAttribute(String localName, String value) throws OWLParserException
localName - localNamevalue - valueOWLParserException - if an error is raisedpublic IRI getIRIFromElement(String elementLocalName, String textContent) throws OWLParserException
elementLocalName - elementLocalNametextContent - textContentOWLParserException - if an error is raisedprotected OWLOntologyManager getOWLOntologyManager()
protected OWLOntology getOntology()
protected 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 OWLParserException
attribute in interface OWLElementHandler<O>localName - local attribute namevalue - attribute valueOWLParserException - if an error is raisedprotected IRI getIRI(String iri) throws OWLParserException
OWLParserExceptionprotected IRI getAbbreviatedIRI(String abbreviatedIRI) throws OWLParserException
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.