org.coode.owlapi.owlxmlparser
Class AbstractRestrictionElementHandler<P extends OWLPropertyExpression,F extends OWLObject>

java.lang.Object
  extended by org.coode.owlapi.owlxmlparser.AbstractOWLElementHandler<OWLClassExpression>
      extended by org.coode.owlapi.owlxmlparser.AbstractClassExpressionElementHandler
          extended by org.coode.owlapi.owlxmlparser.AbstractRestrictionElementHandler<P,F>
All Implemented Interfaces:
OWLElementHandler<OWLClassExpression>
Direct Known Subclasses:
AbstractDataRestrictionElementHandler, AbstractObjectRestrictionElementHandler

public abstract class AbstractRestrictionElementHandler<P extends OWLPropertyExpression,F extends OWLObject>
extends AbstractClassExpressionElementHandler

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


Constructor Summary
protected AbstractRestrictionElementHandler(OWLXMLParserHandler handler)
           
 
Method Summary
protected abstract  OWLClassExpression createRestriction()
           
protected  void endClassExpressionElement()
           
protected  F getFiller()
           
protected  P getProperty()
           
protected  void setFiller(F filler)
           
protected  void setProperty(P prop)
           
 
Methods inherited from class org.coode.owlapi.owlxmlparser.AbstractClassExpressionElementHandler
endElement, getOWLObject, setClassExpression
 
Methods inherited from class org.coode.owlapi.owlxmlparser.AbstractOWLElementHandler
attribute, getAbbreviatedIRI, getColumnNumber, 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, isTextContentPossible, setParentHandler, startElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRestrictionElementHandler

protected AbstractRestrictionElementHandler(OWLXMLParserHandler handler)
Method Detail

setProperty

protected void setProperty(P prop)

getProperty

protected P getProperty()

getFiller

protected F getFiller()

setFiller

protected void setFiller(F filler)

endClassExpressionElement

protected final void endClassExpressionElement()
                                        throws OWLXMLParserException
Specified by:
endClassExpressionElement in class AbstractClassExpressionElementHandler
Throws:
OWLXMLParserException

createRestriction

protected abstract OWLClassExpression createRestriction()