org.coode.owl.rdfxml.parser
Class IndividualListItemTranslator

java.lang.Object
  extended by org.coode.owl.rdfxml.parser.IndividualListItemTranslator
All Implemented Interfaces:
ListItemTranslator<OWLIndividual>

public class IndividualListItemTranslator
extends java.lang.Object
implements ListItemTranslator<OWLIndividual>

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


Constructor Summary
IndividualListItemTranslator(OWLRDFConsumer consumer)
           
 
Method Summary
 OWLIndividual translate(OWLConstant firstObject)
           
 OWLIndividual translate(java.net.URI uri)
          The rdf:first triple that represents the item to be translated.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndividualListItemTranslator

public IndividualListItemTranslator(OWLRDFConsumer consumer)
Method Detail

translate

public OWLIndividual translate(java.net.URI uri)
                        throws OWLException
Description copied from interface: ListItemTranslator
The rdf:first triple that represents the item to be translated. This triple will point to something like a description, individual.

Specified by:
translate in interface ListItemTranslator<OWLIndividual>
Parameters:
uri - The rdf:first triple that points to the item to be translated.
Returns:
The translated item.
Throws:
OWLException

translate

public OWLIndividual translate(OWLConstant firstObject)
                        throws OWLException
Specified by:
translate in interface ListItemTranslator<OWLIndividual>
Throws:
OWLException