org.coode.owlapi.rdfxml.parser
Class HasKeyListItemTranslator

java.lang.Object
  extended by org.coode.owlapi.rdfxml.parser.HasKeyListItemTranslator
All Implemented Interfaces:
ListItemTranslator<OWLPropertyExpression>

public class HasKeyListItemTranslator
extends java.lang.Object
implements ListItemTranslator<OWLPropertyExpression>

Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 02-Feb-2009


Constructor Summary
HasKeyListItemTranslator(OWLRDFConsumer consumer)
           
 
Method Summary
 OWLPropertyExpression translate(IRI firstObject)
          The rdf:first triple that represents the item to be translated.
 OWLPropertyExpression translate(OWLLiteral firstObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HasKeyListItemTranslator

public HasKeyListItemTranslator(OWLRDFConsumer consumer)
Method Detail

translate

public OWLPropertyExpression translate(OWLLiteral firstObject)
Specified by:
translate in interface ListItemTranslator<OWLPropertyExpression>

translate

public OWLPropertyExpression translate(IRI firstObject)
Description copied from interface: ListItemTranslator
The rdf:first triple that represents the item to be translated. This triple will point to something like a class expression, individual.

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