org.coode.owl.rdfxml.parser
Class OneOfTranslator

java.lang.Object
  extended by org.coode.owl.rdfxml.parser.AbstractDescriptionTranslator
      extended by org.coode.owl.rdfxml.parser.OneOfTranslator
All Implemented Interfaces:
DescriptionTranslator

public class OneOfTranslator
extends AbstractDescriptionTranslator

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


Constructor Summary
OneOfTranslator(OWLRDFConsumer consumer)
           
 
Method Summary
 OWLDescription translate(java.net.URI mainNode)
          Translates the specified main node into an OWLDescription.
 
Methods inherited from class org.coode.owl.rdfxml.parser.AbstractDescriptionTranslator
getConsumer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OneOfTranslator

public OneOfTranslator(OWLRDFConsumer consumer)
Method Detail

translate

public OWLDescription translate(java.net.URI mainNode)
                         throws OWLException
Description copied from interface: DescriptionTranslator
Translates the specified main node into an OWLDescription. All triples used in the translation are consumed.

Parameters:
mainNode - The main node of the set of triples that represent the description.
Returns:
The description that represents the translation.
Throws:
OWLException - If the translation could not take place, possibly because the description (set of triples) was malformed.