org.coode.owlapi.rdfxml.parser
Class ClassExpressionTranslatorSelector

java.lang.Object
  extended by org.coode.owlapi.rdfxml.parser.ClassExpressionTranslatorSelector

public class ClassExpressionTranslatorSelector
extends java.lang.Object

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


Constructor Summary
ClassExpressionTranslatorSelector(OWLRDFConsumer con)
           
 
Method Summary
 ClassExpressionTranslator getClassExpressionTranslator(IRI mainNode)
          Gets a translator for a class expression.
 boolean isDataRestriction(IRI mainNode, IRI property)
           
 boolean isObjectRestriction(IRI mainNode, IRI property)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassExpressionTranslatorSelector

public ClassExpressionTranslatorSelector(OWLRDFConsumer con)
Method Detail

isObjectRestriction

public boolean isObjectRestriction(IRI mainNode,
                                   IRI property)

isDataRestriction

public boolean isDataRestriction(IRI mainNode,
                                 IRI property)

getClassExpressionTranslator

public ClassExpressionTranslator getClassExpressionTranslator(IRI mainNode)
Gets a translator for a class expression. The selector ensures that the necessary triples are present.

Parameters:
mainNode - The main node of the class expression
Returns:
The translator that should be used to translate the class expression