public class OWLAnnotationElementHandler extends AbstractOWLElementHandler<org.semanticweb.owlapi.model.OWLAnnotation>
| Constructor and Description |
|---|
OWLAnnotationElementHandler(OWLXMLParserHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
attribute(String localName,
String value) |
void |
endElement() |
org.semanticweb.owlapi.model.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) |
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, setParentHandlerpublic OWLAnnotationElementHandler(OWLXMLParserHandler handler)
handler - owlxml handlerpublic void startElement(String name) throws OWLXMLParserException
startElement in interface OWLElementHandler<org.semanticweb.owlapi.model.OWLAnnotation>startElement in class AbstractOWLElementHandler<org.semanticweb.owlapi.model.OWLAnnotation>name - element nameOWLXMLParserException - 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 void attribute(String localName, String value) throws org.semanticweb.owlapi.io.OWLParserException
attribute in interface OWLElementHandler<org.semanticweb.owlapi.model.OWLAnnotation>attribute in class AbstractOWLElementHandler<org.semanticweb.owlapi.model.OWLAnnotation>localName - local attribute namevalue - attribute valueorg.semanticweb.owlapi.io.OWLParserException - if an error is raisedpublic void handleChild(OWLAnnotationElementHandler handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<org.semanticweb.owlapi.model.OWLAnnotation>handleChild in class AbstractOWLElementHandler<org.semanticweb.owlapi.model.OWLAnnotation>handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(OWLAnonymousIndividualElementHandler handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<org.semanticweb.owlapi.model.OWLAnnotation>handleChild in class AbstractOWLElementHandler<org.semanticweb.owlapi.model.OWLAnnotation>handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(OWLLiteralElementHandler handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<org.semanticweb.owlapi.model.OWLAnnotation>handleChild in class AbstractOWLElementHandler<org.semanticweb.owlapi.model.OWLAnnotation>handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(OWLAnnotationPropertyElementHandler handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<org.semanticweb.owlapi.model.OWLAnnotation>handleChild in class AbstractOWLElementHandler<org.semanticweb.owlapi.model.OWLAnnotation>handler - element handlerOWLXMLParserException - if an error is raisedpublic void handleChild(AbstractIRIElementHandler handler) throws OWLXMLParserException
handleChild in interface OWLElementHandler<org.semanticweb.owlapi.model.OWLAnnotation>handleChild in class AbstractOWLElementHandler<org.semanticweb.owlapi.model.OWLAnnotation>handler - element handlerOWLXMLParserException - if an error is raisedpublic org.semanticweb.owlapi.model.OWLAnnotation getOWLObject()
public boolean isTextContentPossible()
isTextContentPossible in interface OWLElementHandler<org.semanticweb.owlapi.model.OWLAnnotation>isTextContentPossible in class AbstractOWLElementHandler<org.semanticweb.owlapi.model.OWLAnnotation>Copyright © 2014 The University of Manchester. All Rights Reserved.