org.coode.owlapi.rdfxml.parser
Class DataPropertyListItemTranslator

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

public class DataPropertyListItemTranslator
extends java.lang.Object
implements ListItemTranslator<OWLDataPropertyExpression>

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 15-Apr-2008


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

Constructor Detail

DataPropertyListItemTranslator

public DataPropertyListItemTranslator(OWLRDFConsumer consumer)
Method Detail

translate

public OWLDataPropertyExpression 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<OWLDataPropertyExpression>
Parameters:
firstObject - The rdf:first triple that points to the item to be translated.
Returns:
The translated item.

translate

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