org.coode.owlapi.rdfxml.parser
Class AbstractRestrictionTranslator

java.lang.Object
  extended by org.coode.owlapi.rdfxml.parser.AbstractClassExpressionTranslator
      extended by org.coode.owlapi.rdfxml.parser.AbstractRestrictionTranslator
All Implemented Interfaces:
ClassExpressionTranslator
Direct Known Subclasses:
AbstractDataRestrictionTranslator, AbstractObjectRestrictionTranslator, HasValueRestrictionTranslator

public abstract class AbstractRestrictionTranslator
extends AbstractClassExpressionTranslator

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


Constructor Summary
AbstractRestrictionTranslator(OWLRDFConsumer consumer)
           
 
Method Summary
 OWLClassExpression translate(IRI mainNode)
          Translates the specified main node into an OWLClassExpression.
protected abstract  OWLClassExpression translateRestriction(IRI mainNode)
           
 
Methods inherited from class org.coode.owlapi.rdfxml.parser.AbstractClassExpressionTranslator
getConsumer, getDataFactory, getLiteralObject, getResourceObject, isTriplePresent, translateToClassExpression, translateToClassExpressionSet, translateToIndividualSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRestrictionTranslator

public AbstractRestrictionTranslator(OWLRDFConsumer consumer)
Method Detail

translate

public final OWLClassExpression translate(IRI mainNode)
Description copied from interface: ClassExpressionTranslator
Translates the specified main node into an OWLClassExpression. All triples used in the translation are consumed.

Parameters:
mainNode - The main node of the set of triples that represent the class expression.
Returns:
The class expression that represents the translation.

translateRestriction

protected abstract OWLClassExpression translateRestriction(IRI mainNode)