org.coode.owlapi.owlxmlparser
Class OWLLiteralElementHandler

java.lang.Object
  extended by org.coode.owlapi.owlxmlparser.AbstractOWLElementHandler<OWLLiteral>
      extended by org.coode.owlapi.owlxmlparser.OWLLiteralElementHandler
All Implemented Interfaces:
OWLElementHandler<OWLLiteral>

public class OWLLiteralElementHandler
extends AbstractOWLElementHandler<OWLLiteral>

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 13-Dec-2006


Constructor Summary
protected OWLLiteralElementHandler(OWLXMLParserHandler handler)
           
 
Method Summary
 void attribute(java.lang.String localName, java.lang.String value)
           
 void endElement()
           
 OWLLiteral getOWLObject()
           
 boolean isTextContentPossible()
           
 void startElement(java.lang.String name)
           
 
Methods inherited from class org.coode.owlapi.owlxmlparser.AbstractOWLElementHandler
getAbbreviatedIRI, getElementName, getIRI, getIRIFromAttribute, getIRIFromElement, getLineNumber, getOntology, getOWLDataFactory, getOWLOntologyManager, getParentHandler, getText, handleChars, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, handleChild, setParentHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWLLiteralElementHandler

protected OWLLiteralElementHandler(OWLXMLParserHandler handler)
Method Detail

startElement

public void startElement(java.lang.String name)
                  throws OWLXMLParserException
Specified by:
startElement in interface OWLElementHandler<OWLLiteral>
Overrides:
startElement in class AbstractOWLElementHandler<OWLLiteral>
Throws:
OWLXMLParserException

attribute

public void attribute(java.lang.String localName,
                      java.lang.String value)
               throws OWLXMLParserException
Specified by:
attribute in interface OWLElementHandler<OWLLiteral>
Overrides:
attribute in class AbstractOWLElementHandler<OWLLiteral>
Throws:
OWLXMLParserException

endElement

public void endElement()
                throws OWLXMLParserException
Throws:
OWLXMLParserException

getOWLObject

public OWLLiteral getOWLObject()

isTextContentPossible

public boolean isTextContentPossible()
Specified by:
isTextContentPossible in interface OWLElementHandler<OWLLiteral>
Overrides:
isTextContentPossible in class AbstractOWLElementHandler<OWLLiteral>