org.coode.owlapi.rdfxml.parser
Class AbstractDataRestrictionTranslator

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

public abstract class AbstractDataRestrictionTranslator
extends AbstractRestrictionTranslator

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


Constructor Summary
AbstractDataRestrictionTranslator(OWLRDFConsumer consumer)
           
 
Method Summary
protected  OWLDataPropertyExpression translateOnProperty(IRI mainNode)
          Translates and consumes the onProperty triple, creating a data property corresponding to the object of the onProperty triple.
 
Methods inherited from class org.coode.owlapi.rdfxml.parser.AbstractRestrictionTranslator
translate, translateRestriction
 
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

AbstractDataRestrictionTranslator

public AbstractDataRestrictionTranslator(OWLRDFConsumer consumer)
Method Detail

translateOnProperty

protected OWLDataPropertyExpression translateOnProperty(IRI mainNode)
Translates and consumes the onProperty triple, creating a data property corresponding to the object of the onProperty triple.

Parameters:
mainNode - The subject of the triple (the main node of the restriction)
Throws:
OWLException - If the on property triple doesn't exist.