org.coode.owl.rdfxml.parser
Class ObjectPropertyListItemTranslator

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

public class ObjectPropertyListItemTranslator
extends java.lang.Object
implements ListItemTranslator<OWLObjectPropertyExpression>

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 25-Jan-2007


Constructor Summary
ObjectPropertyListItemTranslator(OWLRDFConsumer consumer)
           
 
Method Summary
 OWLObjectPropertyExpression translate(OWLConstant firstObject)
           
 OWLObjectPropertyExpression 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

ObjectPropertyListItemTranslator

public ObjectPropertyListItemTranslator(OWLRDFConsumer consumer)
Method Detail

translate

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

translate

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