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