org.coode.owl.rdfxml.parser
Class TypedConstantListItemTranslator

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

public class TypedConstantListItemTranslator
extends java.lang.Object
implements ListItemTranslator<OWLConstant>

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


Constructor Summary
TypedConstantListItemTranslator(OWLRDFConsumer consumer)
           
 
Method Summary
 OWLConstant translate(OWLConstant firstObject)
           
 OWLTypedConstant translate(java.net.URI firstObject)
          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

TypedConstantListItemTranslator

public TypedConstantListItemTranslator(OWLRDFConsumer consumer)
Method Detail

translate

public OWLTypedConstant translate(java.net.URI firstObject)
                           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<OWLConstant>
Parameters:
firstObject - The rdf:first triple that points to the item to be translated.
Returns:
The translated item.
Throws:
OWLException

translate

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