public class OWLAnnotationElementHandler extends AbstractOWLElementHandler<OWLAnnotation>
Constructor and Description |
---|
OWLAnnotationElementHandler(OWLXMLParserHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
attribute(String localName,
String value) |
void |
endElement() |
OWLAnnotation |
getOWLObject() |
void |
handleChild(AbstractIRIElementHandler handler) |
void |
handleChild(OWLAnnotationElementHandler handler) |
void |
handleChild(OWLAnnotationPropertyElementHandler handler) |
void |
handleChild(OWLAnonymousIndividualElementHandler handler) |
void |
handleChild(OWLLiteralElementHandler handler) |
boolean |
isTextContentPossible() |
void |
startElement(String name) |
getConfiguration, getIRIFromAttribute, getIRIFromElement, getText, handleChars, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, setParentHandler
public OWLAnnotationElementHandler(OWLXMLParserHandler handler)
handler
- owlxml handlerpublic void startElement(String name) throws OWLXMLParserException
startElement
in interface OWLElementHandler<OWLAnnotation>
startElement
in class AbstractOWLElementHandler<OWLAnnotation>
name
- element nameOWLXMLParserException
- if an error is raisedpublic void endElement() throws OWLParserException, UnloadableImportException
OWLParserException
- if an error is raisedUnloadableImportException
- if an import cannot be resolvedpublic void attribute(String localName, String value) throws OWLParserException
attribute
in interface OWLElementHandler<OWLAnnotation>
attribute
in class AbstractOWLElementHandler<OWLAnnotation>
localName
- local attribute namevalue
- attribute valueOWLParserException
- if an error is raisedpublic void handleChild(OWLAnnotationElementHandler handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<OWLAnnotation>
handleChild
in class AbstractOWLElementHandler<OWLAnnotation>
handler
- element handlerOWLXMLParserException
- if an error is raisedpublic void handleChild(OWLAnonymousIndividualElementHandler handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<OWLAnnotation>
handleChild
in class AbstractOWLElementHandler<OWLAnnotation>
handler
- element handlerOWLXMLParserException
- if an error is raisedpublic void handleChild(OWLLiteralElementHandler handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<OWLAnnotation>
handleChild
in class AbstractOWLElementHandler<OWLAnnotation>
handler
- element handlerOWLXMLParserException
- if an error is raisedpublic void handleChild(OWLAnnotationPropertyElementHandler handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<OWLAnnotation>
handleChild
in class AbstractOWLElementHandler<OWLAnnotation>
handler
- element handlerOWLXMLParserException
- if an error is raisedpublic void handleChild(AbstractIRIElementHandler handler) throws OWLXMLParserException
handleChild
in interface OWLElementHandler<OWLAnnotation>
handleChild
in class AbstractOWLElementHandler<OWLAnnotation>
handler
- element handlerOWLXMLParserException
- if an error is raisedpublic OWLAnnotation getOWLObject()
public boolean isTextContentPossible()
isTextContentPossible
in interface OWLElementHandler<OWLAnnotation>
isTextContentPossible
in class AbstractOWLElementHandler<OWLAnnotation>
Copyright © 2017 The University of Manchester. All Rights Reserved.