org.coode.owlapi.rdfxml.parser
Class NamedClassTranslator

java.lang.Object
  extended by org.coode.owlapi.rdfxml.parser.NamedClassTranslator
All Implemented Interfaces:
ClassExpressionTranslator

public class NamedClassTranslator
extends java.lang.Object
implements ClassExpressionTranslator

Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 28-Jun-2009


Constructor Summary
NamedClassTranslator(OWLRDFConsumer consumer)
           
 
Method Summary
 OWLClassExpression translate(IRI mainNode)
          Translates the specified main node into an OWLClassExpression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedClassTranslator

public NamedClassTranslator(OWLRDFConsumer consumer)
Method Detail

translate

public OWLClassExpression translate(IRI mainNode)
Translates the specified main node into an OWLClassExpression. All triples used in the translation are consumed.

Specified by:
translate in interface ClassExpressionTranslator
Parameters:
mainNode - The main node of the set of triples that represent the class expression.
Returns:
The class expression that represents the translation.
Throws:
OWLException - If the translation could not take place, possibly because the class expression (set of triples) was malformed.