public abstract class AbstractOWLElementHandler<O> extends java.lang.Object implements OWLElementHandler<O>
Modifier | Constructor and Description |
---|---|
protected |
AbstractOWLElementHandler(OWLXMLParserHandler handler) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endElement, getOWLObject
protected AbstractOWLElementHandler(OWLXMLParserHandler handler)
public OWLOntologyLoaderConfiguration getConfiguration()
public IRI getIRIFromAttribute(java.lang.String localName, java.lang.String value) throws OWLParserException
OWLParserException
public IRI getIRIFromElement(java.lang.String elementLocalName, java.lang.String textContent) throws OWLParserException
OWLParserException
protected OWLOntologyManager getOWLOntologyManager()
protected OWLOntology getOntology()
protected OWLDataFactory getOWLDataFactory()
public void setParentHandler(OWLElementHandler<?> handler)
setParentHandler
in interface OWLElementHandler<O>
protected OWLElementHandler<?> getParentHandler()
public void attribute(java.lang.String localName, java.lang.String value) throws OWLParserException
attribute
in interface OWLElementHandler<O>
OWLParserException
protected IRI getIRI(java.lang.String iri) throws OWLParserException
OWLParserException
protected IRI getAbbreviatedIRI(java.lang.String abbreviatedIRI) throws OWLParserException
OWLParserException
protected int getLineNumber()
protected int getColumnNumber()
public void startElement(java.lang.String name) throws OWLXMLParserException
startElement
in interface OWLElementHandler<O>
OWLXMLParserException
protected java.lang.String getElementName()
public void handleChild(AbstractOWLAxiomElementHandler _handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<O>
OWLXMLParserException
public void handleChild(AbstractClassExpressionElementHandler _handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<O>
OWLXMLParserException
public void handleChild(AbstractOWLDataRangeHandler _handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<O>
OWLXMLParserException
public void handleChild(AbstractOWLObjectPropertyElementHandler _handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<O>
OWLXMLParserException
public void handleChild(OWLDataPropertyElementHandler _handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<O>
OWLXMLParserException
public void handleChild(OWLIndividualElementHandler _handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<O>
OWLXMLParserException
public void handleChild(OWLLiteralElementHandler _handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<O>
OWLXMLParserException
public void handleChild(OWLAnnotationElementHandler _handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<O>
OWLXMLParserException
public void handleChild(OWLSubObjectPropertyChainElementHandler _handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<O>
OWLXMLParserException
public void handleChild(OWLDatatypeFacetRestrictionElementHandler _handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<O>
OWLXMLParserException
public void handleChild(OWLAnnotationPropertyElementHandler _handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<O>
OWLXMLParserException
public void handleChild(OWLAnonymousIndividualElementHandler _handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<O>
OWLXMLParserException
public void handleChild(AbstractIRIElementHandler _handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<O>
OWLXMLParserException
public void handleChild(SWRLVariableElementHandler _handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<O>
OWLXMLParserException
public void handleChild(SWRLAtomElementHandler _handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<O>
OWLXMLParserException
public void handleChild(SWRLAtomListElementHandler _handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<O>
OWLXMLParserException
public final void handleChars(char[] chars, int start, int length)
handleChars
in interface OWLElementHandler<O>
public java.lang.String getText()
getText
in interface OWLElementHandler<O>
public boolean isTextContentPossible()
isTextContentPossible
in interface OWLElementHandler<O>